From: ts Date: 2003-07-04T20:17:07+09:00 Subject: Re: warning in ruby extension eats memory >>>>> "E" == Eugene Scripnik writes: E> I've rebuilt ruby with debug information and here is complete backtrace: E> Program received signal SIGINT, Interrupt. E> rb_call0 (klass=134690664, recv=134688144, id=6817, oid=2, argc=1, E> argv=0xbe60d360, body=0x80731f0, nosuper=1) at eval.c:4869 E> 4869 if (trace_func) { E> (gdb) bt E> #0 rb_call0 (klass=134690664, recv=134688144, id=6817, oid=2, argc=1, E> argv=0xbe60d360, body=0x80731f0, nosuper=1) at eval.c:4869 E> #1 0x28093949 in rb_call (klass=134690664, recv=134688144, mid=6817, E> argc=1, E> argv=0xbe60d360, scope=1) at eval.c:5100 E> #2 0x28093bb7 in rb_funcall (recv=134688144, mid=6817, n=1) at ruby.h:625 E> #3 0x280a927c in io_write (io=134688144, str=135352400) at io.c:419 Really I don't see. When it crash can you do ? (gdb) up 3 [ to go in the frame where io_write is called ] (gdb) p *(struct RFile *)io [ to see the content of io ] (gdb) p rb_deferr [ normally rb_deferr == io ] (gdb) p *(struct RFile *)rb_deferr Guy Decoux