From: Dave Thomas Date: 2003-08-05T11:50:11+09:00 Subject: SEGV in GC under Linux A while back I was getting double free()s reported on my MAC box when running a particular script. If I run the same script on my Linux box using the latest CVS I now get a SEGV. I can try and package up the stuff that's crashing, but it's big and I don't want to send it to the list. Cheers Dave (gdb) bt #0 0x400f221d in free () from /lib/libc.so.6 #1 0x806cd76 in obj_free (obj=1075404420) at gc.c:1145 #2 0x806c899 in gc_sweep () at gc.c:939 #3 0x806cf7c in rb_gc () at gc.c:1297 #4 0x806bca7 in rb_newobj () at gc.c:329 #5 0x80ab9ff in str_alloc (klass=1075583080) at string.c:45 #6 0x80abbc6 in str_new3 (klass=1075583080, str=1075493820) at string.c:121 #7 0x80abc2f in rb_str_new3 (str=1075493820) at string.c:136 #8 0x8058681 in rb_eval (self=1075587620, n=0x401abba8) at eval.c:3342 #9 0x8057438 in rb_eval (self=1075587620, n=0x401abb94) at eval.c:2988 #10 0x80573de in rb_eval (self=1075587620, n=0x401abaf4) at eval.c:2987 #11 0x80573de in rb_eval (self=1075587620, n=0x401aba54) at eval.c:2987 #12 0x80573de in rb_eval (self=1075587620, n=0x401ab9b4) at eval.c:2987 #13 0x80573de in rb_eval (self=1075587620, n=0x401ab914) at eval.c:2987 #14 0x80573de in rb_eval (self=1075587620, n=0x401ab860) at eval.c:2987 #15 0x80573de in rb_eval (self=1075587620, n=0x401ab7c0) at eval.c:2987 #16 0x80580d3 in rb_eval (self=1075587620, n=0x401ab748) at eval.c:3162 #17 0x805c2ea in rb_call0 (klass=1075592480, recv=1075587620, id=7025, oid=7025, argc=0 , argv=0xbfffbf84, body=0x401ab748, nosuper=0) at eval.c:5034 #18 0x805c719 in rb_call (klass=1075592480, recv=1075587620, mid=7025, argc=2, argv=0xb fffbf7c, scope=1) at eval.c:5123 #19 0x80577ac in rb_eval (self=1075587620, n=0x401aa1f4) at eval.c:3006 #20 0x8057438 in rb_eval (self=1075587620, n=0x401aa1cc) at eval.c:2988 #21 0x80573de in rb_eval (self=1075587620, n=0x401aa17c) at eval.c:2987 #22 0x8057640 in rb_eval (self=1075587620, n=0x401aa744) at eval.c:3002 #23 0x805a255 in rb_yield_0 (val=15, self=1075587620, klass=0, flags=0, avalue=0) at ev al.c:4155 #24 0x805a49a in rb_yield (val=15) at eval.c:4224 #25 0x8097332 in range_each (range=1075401260) at range.c:304 #26 0x805bdc4 in rb_call0 (klass=1075553140, recv=1075401260, id=3817, oid=3817, argc=0 , argv=0x0, body=0x401ba270, nosuper=0) at eval.c:4784 #27 0x805c719 in rb_call (klass=1075553140, recv=1075401260, mid=3817, argc=0, argv=0x0 , scope=0) at eval.c:5123 #28 0x8056729 in rb_eval (self=1075587620, n=0x401ab4a0) at eval.c:2728