Skip to content

Instantly share code, notes, and snippets.

@rkh
Created December 31, 2008 21:22
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 rkh/42122 to your computer and use it in GitHub Desktop.
Save rkh/42122 to your computer and use it in GitHub Desktop.
Ubuntu 8.10, 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
rubinius (git: master) $ gdb --args rbx irb -f
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/rbx irb -f
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c176c0 (LWP 1716)]
[New Thread 0xb7913b90 (LWP 1719)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c176c0 (LWP 1716)]
rubinius::ObjectMark::call (this=0xbf8326e8, obj=0x0)
at vm/gc.cpp:15
15 sassert(obj->zone != UnspecifiedZone);
(gdb) bt
#0 rubinius::ObjectMark::call (this=0xbf8326e8, obj=0x0)
at vm/gc.cpp:15
#1 0x080890a4 in rubinius::NativeMethodContext::Info::auto_mark
(this=0x8c434d0, _t=0x9dfa3d4, mark=@0xbf8326e8)
at vm/gen/typechecks.gen.cpp:1697
#2 0x080d24d4 in rubinius::NativeMethodContext::Info::mark (
this=0x8c434d0, self=0x9dfa3d4, mark=@0xbf8326e8)
at vm/builtin/nativemethodcontext.cpp:245
#3 0x080a446f in rubinius::GarbageCollector::scan_object (
this=0x8c42d4c, obj=0x9dfa3d4) at vm/gc.cpp:69
#4 0x080bd3ba in rubinius::BakerGC::collect (this=0x8c42d4c,
roots=@0x8c42428) at vm/gc_baker.cpp:95
#5 0x080bc84f in rubinius::ObjectMemory::collect_young (
this=0x8c42d40, roots=@0x8c42428) at vm/objectmemory.cpp:83
#6 0x080b7b57 in rubinius::VM::collect_maybe (this=0x8c42428)
at vm/vm.cpp:186
#7 0x080b8627 in rubinius::VM::run_and_monitor (this=0x8c42428)
at vm/vm.cpp:370
#8 0x080a6c2b in rubinius::CompiledFile::execute (
this=0x91427e0, state=0x8c42428) at vm/compiled_file.cpp:58
#9 0x080c08dc in rubinius::Environment::run_file (
this=0xbf832b0c, file=
{static npos = 4294967295, _M_dataplus = {<std::allocator
<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>},
<No data fields>}, _M_p = 0xbf832afc "\214<A\td\217�bd\217�bd\21
7�b($�b"}}) at vm/environment.cpp:91
---Type <return> to continue, or q <return> to quit---
#10 0x081125d8 in main (argc=409898, argv=0x8f5a3b4)
at vm/drivers/cli.cpp:62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment