Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created May 20, 2009 20:46
Show Gist options
  • Save dbussink/115081 to your computer and use it in GitHub Desktop.
Save dbussink/115081 to your computer and use it in GitHub Desktop.
Starting program: /Users/dirkjan/Documents/projects/rubinius/vm/vm extconf.rb
Reading symbols for shared libraries ++++. done
checking for main() in -lpq... yes
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for postgres.h... yes
checking for mb/pg_wchar.h... yes
checking for catalog/pg_type.h... yes
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000036
rubinius::BlockEnvironment::call (this=0x1a, state=0xf00d90, call_frame=0xf00d90, args=@0xbfffc304, flags=15732112) at vm/builtin/block_environment.cpp:41
41 if(!vmm) {
(gdb) bt
#0 rubinius::BlockEnvironment::call (this=0x1a, state=0xf00d90, call_frame=0xf00d90, args=@0xbfffc304, flags=15732112) at vm/builtin/block_environment.cpp:41
#1 0x000d2ce0 in rubinius::Proc::call_prim (this=0x19dc418, state=0xf00d90, exec=0x0, call_frame=0xbfffc42c, msg=@0xbfffbeb0, args=@0xbfffc304) at vm/builtin/proc.cpp:108
#2 0x000d2eb5 in rubinius::Proc::yield (this=0x19dc418, state=0x19dc401, call_frame=0xbfffc42c, args=@0xbfffc304) at vm/builtin/proc.cpp:80
#3 0x00138d71 in rubinius::VMMethod::interpreter (state=0xf00d90, vmm=0xf2cfc0, call_frame=0xbfffc42c, args=@0xbfffc9e4) at vm/gen/instructions.cpp:972
#4 0x000b70df in rubinius::VMMethod::run_interpreter (state=0xf00d90, vmm=0xf2cfc0, call_frame=0xbfffc42c, args=@0xbfffc9e4) at vm/vmmethod.cpp:650
#5 0x000b95ba in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0xf00d90, previous=0xf00d90, msg=@0x23306f0, args=@0xbfffc9e4) at vm/vmmethod.cpp:470
#6 0x00136ffc in rubinius::InterpreterCallFrame::clear_stack () at call_frame.hpp:786
#7 0x00136ffc in rubinius::VMMethod::interpreter (state=0xf00d90, vmm=0x23300d0, call_frame=0xbfffcb2c, args=@0xbfffd0e4) at vm/gen/instructions.cpp:5033
#8 0x000b70df in rubinius::VMMethod::run_interpreter (state=0xf00d90, vmm=0x23300d0, call_frame=0xbfffcb2c, args=@0xbfffd0e4) at vm/vmmethod.cpp:650
#9 0x000b95ba in rubinius::VMMethod::execute_specialized<rubinius::NoArguments> (state=0xf00d90, previous=0xf00d90, msg=@0xfc1cb0, args=@0xbfffd0e4) at vm/vmmethod.cpp:470
(gdb) p call_frame->print_backtrace(state)
0xbfffbbac: Array#collect in kernel/bootstrap/array_186.rb:22 (+66)
0xbfffc43c: Object#create_makefile in /Users/dirkjan/Documents/projects/rubinius/lib/mkmf.rb:1507 (+794)
0xbfffcb2c: #<Object:0x1fa0c9c>.__script__ in extconf.rb:41 (+287)
0xbfffd21c: Rubinius::CompiledMethod#activate_as_script in kernel/common/compiled_method.rb:42 (+42)
0xbfffd93c: Rubinius::CompiledMethod#as_script in kernel/common/compiled_method.rb:104 (+104)
0xbfffe0bc: Compiler::Utils.single_load in kernel/compiler/compile.rb:239 (+482)
0xbfffe7dc: Compiler::Utils.load_from_extension in kernel/compiler/compile.rb:243 (+243)
0xbffff00c: Object#__script__ in kernel/loader.rb:259 (+2124)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment