Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created May 25, 2009 20:49
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 dbussink/117746 to your computer and use it in GitHub Desktop.
Save dbussink/117746 to your computer and use it in GitHub Desktop.
..................
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000018
[Switching to process 21072 thread 0x2703]
0x0010747f in rubinius::GarbageCollector::walk_call_frame (this=0xf00fcc, top_call_frame=0xb0c853cc) at vm/gc/gc.cpp:120
120 Object* obj = call_frame->stk[i];
(gdb) bt
#0 0x0010747f in rubinius::GarbageCollector::walk_call_frame (this=0xf00fcc, top_call_frame=0xb0c853cc) at vm/gc/gc.cpp:120
#1 0x001057a0 in rubinius::BakerGC::collect (this=0xf00fcc, data=@0xb1485990) at vm/gc/baker.cpp:156
#2 0x00055c17 in rubinius::ObjectMemory::collect_young (this=0xf00fc0, data=@0x18) at vm/objectmemory.cpp:108
#3 0x000b4770 in rubinius::VM::collect_maybe (this=0xf00fc0, call_frame=0x18) at vm/vm.cpp:249
#4 0x000b7868 in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0xf3c0d0, call_frame=0xb1485a8c, args=@0xb1486044) at vm/vmmethod.cpp:642
#5 0x000b94fe in rubinius::VMMethod::execute_specialized<rubinius::OneArgument> (state=0x341fea0, previous=0x18, msg=@0xf3c030, args=@0xb1486044) at vm/vmmethod.cpp:470
#6 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#7 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0xf3bd60, call_frame=0xb148619c, args=@0xb1486754) at vm/gen/instructions.cpp:5071
#8 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0xf3bd60, call_frame=0xb148619c, args=@0xb1486754) at vm/vmmethod.cpp:650
#9 0x000b9197 in rubinius::VMMethod::execute_specialized<rubinius::TwoArguments> (state=0x341fea0, previous=0x18, msg=@0xf8b6c0, args=@0xb1486754) at vm/vmmethod.cpp:470
#10 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#11 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0xf8b440, call_frame=0xb148689c, args=@0xb1486e54) at vm/gen/instructions.cpp:5071
#12 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0xf8b440, call_frame=0xb148689c, args=@0xb1486e54) at vm/vmmethod.cpp:650
#13 0x000b9197 in rubinius::VMMethod::execute_specialized<rubinius::TwoArguments> (state=0x341fea0, previous=0x18, msg=@0xf8f320, args=@0xb1486e54) at vm/vmmethod.cpp:470
#14 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#15 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0xf8ef30, call_frame=0xb1486fac, args=@0xb1487564) at vm/gen/instructions.cpp:5071
#16 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0xf8ef30, call_frame=0xb1486fac, args=@0xb1487564) at vm/vmmethod.cpp:650
#17 0x000b983a in rubinius::VMMethod::execute_specialized<rubinius::SplatOnlyArgument> (state=0x341fea0, previous=0x18, msg=@0x2057350, args=@0xb1487564) at vm/vmmethod.cpp:470
#18 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#19 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x2057290, call_frame=0xb148771c, args=@0xb1487cd4) at vm/gen/instructions.cpp:5071
#20 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x2057290, call_frame=0xb148771c, args=@0xb1487cd4) at vm/vmmethod.cpp:650
#21 0x000b9b5a in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x341fea0, previous=0x18, msg=@0xf95700, args=@0xb1487cd4) at vm/vmmethod.cpp:470
#22 0x00139627 in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0xf95610, call_frame=0xb1487e3c, args=@0xb14883f4) at vm/gen/instructions.cpp:732
#23 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0xf95610, call_frame=0xb1487e3c, args=@0xb14883f4) at vm/vmmethod.cpp:650
#24 0x000b8603 in rubinius::VMMethod::execute_specialized<rubinius::GenericArguments> (state=0x341fea0, previous=0x18, msg=@0x29f8230, args=@0xb14883f4) at vm/vmmethod.cpp:470
#25 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#26 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x29f7f30, call_frame=0xb148853c, args=@0xb1488af4) at vm/gen/instructions.cpp:5071
#27 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x29f7f30, call_frame=0xb148853c, args=@0xb1488af4) at vm/vmmethod.cpp:650
#28 0x000b9b5a in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x341fea0, previous=0x18, msg=@0x2972ea0, args=@0xb1488af4) at vm/vmmethod.cpp:470
#29 0x00139627 in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x2972ce0, call_frame=0xb1488c1c, args=@0xb14891d4) at vm/gen/instructions.cpp:732
#30 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x2972ce0, call_frame=0xb1488c1c, args=@0xb14891d4) at vm/vmmethod.cpp:650
#31 0x000b94fe in rubinius::VMMethod::execute_specialized<rubinius::OneArgument> (state=0x341fea0, previous=0x18, msg=@0x29722c0, args=@0xb14891d4) at vm/vmmethod.cpp:470
#32 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#33 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x2972240, call_frame=0xb14892fc, args=@0xb14898b4) at vm/gen/instructions.cpp:5071
#34 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x2972240, call_frame=0xb14892fc, args=@0xb14898b4) at vm/vmmethod.cpp:650
#35 0x000b94fe in rubinius::VMMethod::execute_specialized<rubinius::OneArgument> (state=0x341fea0, previous=0x18, msg=@0x2df0610, args=@0xb14898b4) at vm/vmmethod.cpp:470
#36 0x0013953d in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:759
#37 0x0013953d in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x2df0500, call_frame=0xb14899ec, args=@0xb1489ba0) at vm/gen/instructions.cpp:5071
#38 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x2df0500, call_frame=0xb14899ec, args=@0xb1489ba0) at vm/vmmethod.cpp:650
#39 0x000b94fe in rubinius::VMMethod::execute_specialized<rubinius::OneArgument> (state=0x341fea0, previous=0x18, msg=@0xb1489bb4, args=@0xb1489ba0) at vm/vmmethod.cpp:470
#40 0x000d1684 in rubinius::Object::send (this=0x32b5918, state=0x341fea0, caller=0xb148a50c, name=0x76ae, ary=0x1bfd678, block=0x1a, allow_private=true) at vm/builtin/object.cpp:315
#41 0x000dede4 in rubinius::capi::capi_funcall_backend (file=0x2cb8b95 "do_postgres_ext.c", line=109, receiver=48169536, method_name=30382, arg_count=1, arg_array=0x3422750) at vm/capi/capi.cpp:130
#42 0x000deefb in capi_rb_funcall (file=0x18 <Address 0x18 out of bounds>, line=24, receiver=24, method_name=24, arg_count=1) at vm/capi/capi.cpp:222
#43 0x02cb66d7 in cCommand_execute_async (db=0x119fe00, query=54675344) at do_postgres_ext.c:109
#44 0x02cb6d50 in cCommand_execute_non_query (argc=0, argv=0x3424340, self=54679760) at do_postgres_ext.c:717
#45 0x000cffa8 in rubinius::NativeMethod::call (this=0x3304118, state=0x341fea0, env=0x34206b0, args=@0xb148a3d4) at vm/builtin/nativemethod.cpp:335
#46 0x000d085c in rubinius::NativeMethod::executor_implementation (state=0x341fea0, call_frame=0xb148a50c, msg=@0x341f9e0, args=@0xb148a3d4) at vm/builtin/nativemethod.cpp:266
#47 0x00139627 in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x341f740, call_frame=0xb148a50c, args=@0xb148ab94) at vm/gen/instructions.cpp:732
#48 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x341f740, call_frame=0xb148a50c, args=@0xb148ab94) at vm/vmmethod.cpp:650
#49 0x000bdafb in rubinius::BlockEnvironment::execute_interpreter (state=0x341fea0, previous=0x18, env=0x1b71d88, args=@0xb148ab94, invocation=@0xb148a6b4) at vm/builtin/block_environment.cpp:87
#50 0x000bdd54 in rubinius::BlockEnvironment::call (this=0xf00fcc, state=0x18, call_frame=0x18, args=@0x18, flags=24) at vm/builtin/block_environment.cpp:100
#51 0x000d3064 in rubinius::Proc::call_prim (this=0x1b71dd8, state=0x341fea0, exec=0x1f9be10, call_frame=0xb148acec, msg=@0x205e990, args=@0xb148ab94) at vm/builtin/proc.cpp:105
#52 0x00078326 in rubinius::Primitives::proc_call (state=0x341fea0, call_frame=0x1b71d01, msg=@0x205e990, args=@0xb148ab94) at primitives_glue.gen.cpp:11451
#53 0x0013a82a in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:823
#54 0x0013a82a in rubinius::VMMethod::interpreter (state=0x341fea0, vmm=0x205e860, call_frame=0xb148acec, args=@0xb148ae90) at vm/gen/instructions.cpp:5463
#55 0x000b767f in rubinius::VMMethod::run_interpreter (state=0x341fea0, vmm=0x205e860, call_frame=0xb148acec, args=@0xb148ae90) at vm/vmmethod.cpp:650
#56 0x000b9b5a in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0x341fea0, previous=0x18, msg=@0xb148aea4, args=@0xb148ae90) at vm/vmmethod.cpp:470
#57 0x000d158d in rubinius::Object::send (this=0x1b71df0, state=0x341fea0, caller=0xb148af14, name=0x6dae, allow_private=true) at vm/builtin/object.cpp:326
#58 0x000552ff in rubinius::NativeThread::perform (this=0x1) at vm/native_thread.cpp:44
#59 0x000db5f2 in thread::Thread::trampoline (arg=0x3420000) at thread.hpp:87
#60 0x9590f155 in _pthread_start ()
#61 0x9590f012 in thread_start ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment