Skip to content

Instantly share code, notes, and snippets.

@wilson
Created October 5, 2009 22:25
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 wilson/202553 to your computer and use it in GitHub Desktop.
Save wilson/202553 to your computer and use it in GitHub Desktop.
(gdb) r
Starting program: /Users/wilson/code/rbx/bin/rbx -P stuff.rb
Reading symbols for shared libraries +++. done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Catchpoint 1 (exception thrown).
Catchpoint 1 (exception caught), throw location vm/exception.cpp:25, catch location unknown, exception type rubinius::TypeError
0x00007fff85953b9d in __cxa_throw ()
(gdb) bt
#0 0x00007fff85953b9d in __cxa_throw ()
#1 0x0000000100068ea6 in rubinius::TypeError::raise (type=rubinius::FixnumType, obj=0x1a, reason=0x0) at vm/exception.cpp:25
#2 0x0000000100120177 in rubinius::as<rubinius::Fixnum> (obj=0x1a) at object_utils.hpp:94
#3 0x0000000100120ce8 in rubinius::CompiledMethod::start_line (this=0x1021eba78, state=0x101204980) at vm/builtin/compiledmethod.cpp:54
#4 0x000000010016d96d in rubinius::profiler::Profiler::get_method (this=0x102b03360, cm=0x1021eba78, name=0xe6d6, container=0x76e, kind=rubinius::profiler::kBlock) at vm/instruments/profiler.cpp:247
#5 0x000000010016d9d1 in rubinius::profiler::Profiler::enter_block (this=0x102b03360, name=0xe6d6, module=0x101225f40, cm=0x1021eba78) at vm/instruments/profiler.cpp:224
#6 0x000000010016dd5d in rubinius::profiler::MethodEntry::MethodEntry (this=0x7fff5fbf32c0, state=0x101204980, name=0xe6d6, module=0x101225f40, cm=0x1021eba78) at vm/instruments/profiler.cpp:183
#7 0x000000010011bf9a in rubinius::BlockEnvironment::execute_interpreter (state=0x101204980, previous=0x7fff5fbf3f10, env=0x1021ec2b8, args=@0x7fff5fbf3570, invocation=@0x7fff5fbf33b0) at vm/builtin/block_environment.cpp:124
#8 0x000000010011b450 in rubinius::BlockEnvironment::call (this=0x1021ec2b8, state=0x101204980, call_frame=0x7fff5fbf3f10, args=@0x7fff5fbf3570, flags=0) at vm/builtin/block_environment.cpp:141
#9 0x00000001001d24ba in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x102429710, call_frame=0x7fff5fbf3f10, args=@0x7fff5fbf4360) at vm/gen/instructions.cpp:1204
#10 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbf4d00, msg=@0x10301c668, args=@0x7fff5fbf4360) at vm/vmmethod.cpp:548
#11 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x10301c668, call_frame=0x7fff5fbf4d00, args=@0x7fff5fbf4360) at vm/inline_cache.cpp:278
#12 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x10301c668, state=0x101204980, call_frame=0x7fff5fbf4d00, args=@0x7fff5fbf4360) at inline_cache.hpp:172
#13 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x103c76170, call_frame=0x7fff5fbf4d00, args=@0x7fff5fbf5140) at vm/gen/instructions.cpp:700
#14 0x0000000100116168 in rubinius::VMMethod::execute_specialized<rubinius::SplatOnlyArgument> (state=0x101204980, previous=0x7fff5fbf5ae0, msg=@0x1031a34f0, args=@0x7fff5fbf5140) at vm/vmmethod.cpp:548
#15 0x00000001001212b4 in rubinius::CompiledMethod::default_executor (state=0x101204980, call_frame=0x7fff5fbf5ae0, msg=@0x1031a34f0, args=@0x7fff5fbf5140) at vm/builtin/compiledmethod.cpp:122
#16 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x1031a34f0, call_frame=0x7fff5fbf5ae0, args=@0x7fff5fbf5140) at vm/inline_cache.cpp:278
#17 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x1031a34f0, state=0x101204980, call_frame=0x7fff5fbf5ae0, args=@0x7fff5fbf5140) at inline_cache.hpp:172
#18 0x00000001001d00c2 in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x103c75ce0, call_frame=0x7fff5fbf5ae0, args=@0x7fff5fbf5f20) at vm/gen/instructions.cpp:680
#19 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbf68c0, msg=@0x1031be8f0, args=@0x7fff5fbf5f20) at vm/vmmethod.cpp:548
#20 0x00000001001212b4 in rubinius::CompiledMethod::default_executor (state=0x101204980, call_frame=0x7fff5fbf68c0, msg=@0x1031be8f0, args=@0x7fff5fbf5f20) at vm/builtin/compiledmethod.cpp:122
#21 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x1031be8f0, call_frame=0x7fff5fbf68c0, args=@0x7fff5fbf5f20) at vm/inline_cache.cpp:278
#22 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x1031be8f0, state=0x101204980, call_frame=0x7fff5fbf68c0, args=@0x7fff5fbf5f20) at inline_cache.hpp:172
#23 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x103c75210, call_frame=0x7fff5fbf68c0, args=@0x7fff5fbf6d00) at vm/gen/instructions.cpp:700
#24 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbf76a0, msg=@0x101e4d890, args=@0x7fff5fbf6d00) at vm/vmmethod.cpp:548
#25 0x00000001001212b4 in rubinius::CompiledMethod::default_executor (state=0x101204980, call_frame=0x7fff5fbf76a0, msg=@0x101e4d890, args=@0x7fff5fbf6d00) at vm/builtin/compiledmethod.cpp:122
#26 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x101e4d890, call_frame=0x7fff5fbf76a0, args=@0x7fff5fbf6d00) at vm/inline_cache.cpp:278
#27 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101e4d890, state=0x101204980, call_frame=0x7fff5fbf76a0, args=@0x7fff5fbf6d00) at inline_cache.hpp:172
#28 0x00000001001d00c2 in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1029cb460, call_frame=0x7fff5fbf76a0, args=@0x7fff5fbf7b00) at vm/gen/instructions.cpp:680
#29 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbf84a0, msg=@0x102b309d8, args=@0x7fff5fbf7b00) at vm/vmmethod.cpp:548
#30 0x00000001001212b4 in rubinius::CompiledMethod::default_executor (state=0x101204980, call_frame=0x7fff5fbf84a0, msg=@0x102b309d8, args=@0x7fff5fbf7b00) at vm/builtin/compiledmethod.cpp:122
#31 0x000000010006d7c6 in rubinius::InlineCache::empty_cache (state=0x101204980, cache=0x102b309d8, call_frame=0x7fff5fbf84a0, args=@0x7fff5fbf7b00) at vm/inline_cache.cpp:249
#32 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x102b309d8, state=0x101204980, call_frame=0x7fff5fbf84a0, args=@0x7fff5fbf7b00) at inline_cache.hpp:172
#33 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x102b30550, call_frame=0x7fff5fbf84a0, args=@0x7fff5fbf89b0) at vm/gen/instructions.cpp:700
#34 0x0000000100116560 in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x101204980, previous=0x7fff5fbf9350, msg=@0x7fff5fbf86e0, args=@0x7fff5fbf89b0) at vm/vmmethod.cpp:548
#35 0x00000001000615a2 in rubinius::Dispatch::send (this=0x7fff5fbf86e0, state=0x101204980, call_frame=0x7fff5fbf9350, lookup=@0x7fff5fbf8700, args=@0x7fff5fbf89b0) at vm/dispatch.cpp:32
#36 0x0000000100137a4f in rubinius::Object::send_prim (this=0x101755f40, state=0x101204980, exec=0x1017a9730, call_frame=0x7fff5fbf9350, msg=@0x1019a8090, args=@0x7fff5fbf89b0) at vm/builtin/object.cpp:382
#37 0x00000001000b8147 in rubinius::Primitives::object_send (state=0x101204980, call_frame=0x7fff5fbf9350, msg=@0x1019a8090, args=@0x7fff5fbf89b0) at primitives_glue.gen.cpp:15885
#38 0x000000010006bd83 in rubinius::InlineCache::check_cache_reference (state=0x101204980, cache=0x1019a8090, call_frame=0x7fff5fbf9350, args=@0x7fff5fbf89b0) at vm/inline_cache.cpp:341
#39 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x1019a8090, state=0x101204980, call_frame=0x7fff5fbf9350, args=@0x7fff5fbf89b0) at inline_cache.hpp:172
#40 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1023f1cc0, call_frame=0x7fff5fbf9350, args=@0x7fff5fbf9750) at vm/gen/instructions.cpp:700
#41 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbfa0f0, msg=@0x101da5138, args=@0x7fff5fbf9750) at vm/vmmethod.cpp:548
#42 0x000000010006bd83 in rubinius::InlineCache::check_cache_reference (state=0x101204980, cache=0x101da5138, call_frame=0x7fff5fbfa0f0, args=@0x7fff5fbf9750) at vm/inline_cache.cpp:341
#43 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101da5138, state=0x101204980, call_frame=0x7fff5fbfa0f0, args=@0x7fff5fbf9750) at inline_cache.hpp:172
#44 0x00000001001d0346 in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1028f1920, call_frame=0x7fff5fbfa0f0, args=@0x7fff5fbfa5d0) at vm/gen/instructions.cpp:721
#45 0x0000000100115188 in rubinius::VMMethod::execute_specialized<rubinius::FixedArguments> (state=0x101204980, previous=0x7fff5fbfaf70, msg=@0x101d9c328, args=@0x7fff5fbfa5d0) at vm/vmmethod.cpp:548
#46 0x000000010006d7c6 in rubinius::InlineCache::empty_cache (state=0x101204980, cache=0x101d9c328, call_frame=0x7fff5fbfaf70, args=@0x7fff5fbfa5d0) at vm/inline_cache.cpp:249
#47 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101d9c328, state=0x101204980, call_frame=0x7fff5fbfaf70, args=@0x7fff5fbfa5d0) at inline_cache.hpp:172
#48 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1028ee950, call_frame=0x7fff5fbfaf70, args=@0x7fff5fbfb3e0) at vm/gen/instructions.cpp:700
#49 0x0000000100114d90 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x101204980, previous=0x7fff5fbfbd80, msg=@0x102387908, args=@0x7fff5fbfb3e0) at vm/vmmethod.cpp:548
#50 0x000000010006bd83 in rubinius::InlineCache::check_cache_reference (state=0x101204980, cache=0x102387908, call_frame=0x7fff5fbfbd80, args=@0x7fff5fbfb3e0) at vm/inline_cache.cpp:341
#51 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x102387908, state=0x101204980, call_frame=0x7fff5fbfbd80, args=@0x7fff5fbfb3e0) at inline_cache.hpp:172
#52 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x102387270, call_frame=0x7fff5fbfbd80, args=@0x7fff5fbfc1a0) at vm/gen/instructions.cpp:700
#53 0x0000000100115d70 in rubinius::VMMethod::execute_specialized<rubinius::OneArgument> (state=0x101204980, previous=0x7fff5fbfcb40, msg=@0x101e1e9e0, args=@0x7fff5fbfc1a0) at vm/vmmethod.cpp:548
#54 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x101e1e9e0, call_frame=0x7fff5fbfcb40, args=@0x7fff5fbfc1a0) at vm/inline_cache.cpp:278
#55 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101e1e9e0, state=0x101204980, call_frame=0x7fff5fbfcb40, args=@0x7fff5fbfc1a0) at inline_cache.hpp:172
#56 0x00000001001d01ec in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1025402c0, call_frame=0x7fff5fbfcb40, args=@0x7fff5fbfcf40) at vm/gen/instructions.cpp:700
#57 0x0000000100116560 in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x101204980, previous=0x7fff5fbfd8e0, msg=@0x101e22e38, args=@0x7fff5fbfcf40) at vm/vmmethod.cpp:548
#58 0x000000010006d2b4 in rubinius::InlineCache::empty_cache_private (state=0x101204980, cache=0x101e22e38, call_frame=0x7fff5fbfd8e0, args=@0x7fff5fbfcf40) at vm/inline_cache.cpp:278
#59 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101e22e38, state=0x101204980, call_frame=0x7fff5fbfd8e0, args=@0x7fff5fbfcf40) at inline_cache.hpp:172
#60 0x00000001001d00c2 in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x1029655e0, call_frame=0x7fff5fbfd8e0, args=@0x7fff5fbfdd00) at vm/gen/instructions.cpp:680
#61 0x00000001001165c2 in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x101204980, previous=0x7fff5fbfe6a0, msg=@0x101e28e38, args=@0x7fff5fbfdd00) at vm/vmmethod.cpp:550
#62 0x000000010006d7c6 in rubinius::InlineCache::empty_cache (state=0x101204980, cache=0x101e28e38, call_frame=0x7fff5fbfe6a0, args=@0x7fff5fbfdd00) at vm/inline_cache.cpp:249
#63 0x00000001001d2baa in rubinius::InlineCache::execute (this=0x101e28e38, state=0x101204980, call_frame=0x7fff5fbfe6a0, args=@0x7fff5fbfdd00) at inline_cache.hpp:172
#64 0x00000001001d00c2 in rubinius::VMMethod::interpreter (state=0x101204980, vmm=0x102966540, call_frame=0x7fff5fbfe6a0, args=@0x7fff5fbfe8d0) at vm/gen/instructions.cpp:680
#65 0x00000001001165c2 in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment