Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created May 13, 2015 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yorickpeterse/9588b2e71492a7ce2375 to your computer and use it in GitHub Desktop.
Save yorickpeterse/9588b2e71492a7ce2375 to your computer and use it in GitHub Desktop.
$ rake
cp wat.gemspec tmp/x86_64-linux/stage/wat.gemspec
install -c tmp/x86_64-linux/wat/2.2.1/wat.so lib/wat.so
cp tmp/x86_64-linux/wat/2.2.1/wat.so tmp/x86_64-linux/stage/lib/wat.so
Snippet: Struct.new(:foo, :bar) [OK]
Snippet: Struct.new(:foo, :bar).new -e:1: [BUG] Segmentation fault at 0x00000000000018
Snippet: Struct.new(:foo, :bar).new.class [OK]
Snippet: Struct.new(:foo, :bar).class -e:1:in `rb_struct_s_members': uninitialized struct (TypeError)
Snippet: Struct.new('WTF', :foo, :bar) [OK]
Snippet: Struct.new('WTF', :foo, :bar).new -e:1: [BUG] Segmentation fault at 0x00000000000018
Snippet: Struct.new('WTF', :foo, :bar).new(5, 6) -e:1: [BUG] Segmentation fault at 0x0000000000001b
Snippet: Class.new(Struct) -e:1:in `rb_struct_s_members': uninitialized struct (TypeError)
Snippet: Class.new(Struct).new(:foo, :bar) [OK]
Snippet: Class.new(Struct).new(:foo, :bar).new -e:1: [BUG] Segmentation fault at 0x00000000000018
Snippet: Class.new(Struct).new(:foo, :bar).new(10, 20) -e:1: [BUG] Segmentation fault at 0x00000000000025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment