From: Tobias Grimm Date: 2004-08-23T15:34:16+09:00 Subject: Re: ruby_init causing segfault nobu.nokada@softhome.net wrote: > It worked fine. Could you show the stack trace? Here it is: #0 0x40055c35 in rb_source_filename () from /usr/lib/libruby1.8.so.1.8 #1 0x40055d00 in rb_gc_mark_locations () from /usr/lib/libruby1.8.so.1.8 #2 0x400570b2 in rb_gc () from /usr/lib/libruby1.8.so.1.8 #3 0x08048580 in main () at main.c:6 Using the debug libs, I get this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 499)] mark_locations_array (x=0xbffffcac, n=-98) at gc.c:586 586 { (gdb) bt #0 mark_locations_array (x=0xbffffcac, n=-98) at gc.c:586 #1 0x4004fd00 in rb_gc_mark_locations (start=0xbffffcac, end=0xbffffb24) at gc.c:623 #2 0x400510b2 in rb_gc () at gc.c:1330 #3 0x08048580 in main () at main.c:6 Tobias