Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Created September 25, 2012 23:20
Show Gist options
  • Save jc00ke/3785041 to your computer and use it in GitHub Desktop.
Save jc00ke/3785041 to your computer and use it in GitHub Desktop.
rbx hamt blow'd up real good
∴ time rbx -Xhash.hamt -e 'h = {}; 1_000_000.times{ |i| h[i] = i }'
Fatal error loading runtime kernel:
Unable to send 'detect_recursion' on 'Thread' (Class)
0x7fff21e9a5a0: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9ab60: Kernel#detect_recursion in kernel/alpha.rb:177 (+34)
0x7fff21e9b080: Hash#to_s in kernel/common/hash_hamt.rb:606 (+14)
0x7fff21e9b510: Kernel#__setup__ in kernel/alpha.rb:177 (+17)
0x7fff21e9baf0: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9c040: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9c5b0: Rubinius::LRUCache#initialize in kernel/common/lrucache.rb:58 (+7)
0x7fff21e9ca50: Class#new in kernel/alpha.rb:96 (+17)
0x7fff21e9cf20: Dir::Glob.__module_init__ in kernel/common/dir_glob.rb:367 (+526)
0x7fff21e9d4a0: Dir.__class_init__ in kernel/common/dir_glob.rb:4 (+27)
0x7fff21e9da10: Object#script in kernel/common/dir_glob.rb:3 (+26)
Fatal error loading runtime kernel:
Unable to send 'detect_recursion' on 'Thread' (Class)
0x7fff21e9b390: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9b820: Kernel#detect_recursion in kernel/alpha.rb:177 (+34)
0x7fff21e9bcd0: Hash#to_s in kernel/common/hash_hamt.rb:606 (+14)
0x7fff21e9c160: Kernel#__setup__ in kernel/alpha.rb:177 (+17)
0x7fff21e9c610: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9ca90: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9cf30: Rubinius::Spawn.__module_init__ in kernel/common/process19.rb:61 (+35)
0x7fff21e9d4a0: Rubinius.__module_init__ in kernel/common/process19.rb:2 (+27)
0x7fff21e9da10: Object#script in kernel/common/process19.rb:1 (+25)
Fatal error loading runtime kernel:
Unable to send 'detect_recursion' on 'Thread' (Class)
0x7fff21e9ae70: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9b300: Kernel#detect_recursion in kernel/alpha.rb:177 (+34)
0x7fff21e9b7b0: Hash#to_s in kernel/common/hash_hamt.rb:606 (+14)
0x7fff21e9bbe0: Kernel#__setup__ in kernel/alpha.rb:177 (+17)
0x7fff21e9c090: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9c510: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9c9b0: Regexp::SourceParser::Part.__class_init__ in kernel/common/regexp.rb:99 (+13)
0x7fff21e9cf20: Regexp::SourceParser.__class_init__ in kernel/common/regexp.rb:94 (+28)
0x7fff21e9d490: Regexp.__class_init__ in kernel/common/regexp.rb:93 (+683)
0x7fff21e9da10: Object#script in kernel/common/regexp.rb:3 (+26)
Fatal error loading runtime kernel:
Unable to send 'detect_recursion' on 'Thread' (Class)
0x7fff21e9b9c0: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9be50: Kernel#detect_recursion in kernel/alpha.rb:177 (+34)
0x7fff21e9c300: Hash#to_s in kernel/common/hash_hamt.rb:606 (+14)
0x7fff21e9c730: Kernel#__setup__ in kernel/alpha.rb:177 (+17)
0x7fff21e9cbe0: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9d000: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9d4a0: Signal.__module_init__ in kernel/common/signal.rb:6 (+12)
0x7fff21e9da10: Object#script in kernel/common/signal.rb:3 (+25)
Fatal error loading runtime kernel:
Unable to send 'detect_recursion' on 'Thread' (Class)
0x7fff21e9ab40: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9afd0: Kernel#detect_recursion in kernel/alpha.rb:177 (+34)
0x7fff21e9b480: Hash#to_s in kernel/common/hash_hamt.rb:606 (+14)
0x7fff21e9b8b0: Kernel#__setup__ in kernel/alpha.rb:177 (+17)
0x7fff21e9bd60: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9c180: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9c5b0: Rubinius::LRUCache#initialize in kernel/common/lrucache.rb:58 (+7)
0x7fff21e9ca50: Class#new in kernel/alpha.rb:96 (+17)
0x7fff21e9cf20: Rubinius::Sprinter.__class_init__ in kernel/common/sprinter.rb:18 (+120)
0x7fff21e9d4a0: Rubinius.__module_init__ in kernel/common/sprinter.rb:4 (+28)
0x7fff21e9da10: Object#script in kernel/common/sprinter.rb:3 (+25)
Fatal error loading runtime kernel:
Missing or uninitialized constant: Rubinius::Sprinter::Builder::Atom
0x7fff21e9bf60: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9c450: Module#const_missing in kernel/common/module.rb:468 (+32)
0x7fff21e9c9c0: Rubinius::Sprinter::Builder.__class_init__ in kernel/common/sprinter19.rb:8 (+8)
0x7fff21e9cf30: Rubinius::Sprinter.__class_init__ in kernel/common/sprinter19.rb:6 (+28)
0x7fff21e9d4a0: Rubinius.__module_init__ in kernel/common/sprinter19.rb:4 (+28)
0x7fff21e9da10: Object#script in kernel/common/sprinter19.rb:3 (+25)
Fatal error loading runtime kernel:
Unable to send '__setup__' on '{}' (Hash)
0x7fff21e9c240: Kernel#raise in kernel/alpha.rb:151 (+51)
0x7fff21e9c730: Kernel#__setup__ in kernel/alpha.rb:177 (+34)
0x7fff21e9cbe0: Hash.allocate in kernel/common/hash.rb:26 (+13)
0x7fff21e9d000: Hash.new_from_literal in kernel/common/hash_hamt.rb:361 (+3)
0x7fff21e9d4a0: Time.__class_init__ in kernel/common/time.rb:9 (+22)
0x7fff21e9da10: Object#script in kernel/common/time.rb:3 (+26)
exception detected at toplevel: Missing or uninitialized constant: Signal::Names (NameError)
kernel/common/module.rb:468
kernel/delta/signal.rb:7
kernel/bootstrap/configuration.rb:25
kernel/delta/signal.rb:4
kernel/delta/signal.rb:3
Unknown VM exception detected.
rbx(_ZN8rubinius11VMExceptionC2EPKcb+0x65) [0x5c5615]
rbx(_ZN8rubinius9Assertion5raiseEPKc+0x30) [0x5c5660]
rbx(_ZN8rubinius11Environment8run_fileESs+0x7a1) [0x5bfeb1]
rbx(_ZN8rubinius11Environment14load_directoryESs+0x242) [0x5c0992]
rbx(_ZN8rubinius11Environment11load_kernelESs+0x300) [0x5c1110]
rbx(_ZN8rubinius11Environment19run_from_filesystemEv+0x20d) [0x5c176d]
rbx(main+0xb1) [0x583b01]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f01c693f76d]
rbx() [0x58dced]
Segmentation fault (core dumped)
real 0m0.375s
user 0m0.180s
sys 0m0.036s
16:30:06 jesse@chino:~ rbx-head
∴ rbx -v
rubinius 2.0.0dev (1.9.3 d93d4579 yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]
∴ uname -a
Linux chino 3.4.0-030400-generic #201205210521 SMP Mon May 21 09:22:02 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment