segfault in gc
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3659
Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23038)]
real_gc_check (a=0x550004) at /root/Pike/7.5/src/gc.c:1488
1488 if (m->refs == *(INT32 *) a)
(gdb) bt
#0 real_gc_check (a=0x550004) at /root/Pike/7.5/src/gc.c:1488
#1 0x08098f36 in gc_check_Backend_struct () at backend.cmod:2926
#2 0x080de99a in gc_check_object (o=0x82b1038)
at /root/Pike/7.5/src/object.c:1908
#3 0x080dd689 in gc_check_all_objects () at /root/Pike/7.5/src/object.c:1937
#4 0x080af75d in do_gc (ignored=0x8505318, explicit_call=0)
at /root/Pike/7.5/src/gc.c:2816
#5 0x0809a705 in low_call_callback (lst=0x8224e94, arg=0x0)
at /root/Pike/7.5/src/callback.c:167
#6 0x0806d003 in branch_check_threads_etc ()
at /root/Pike/7.5/src/interpret.c:1019
#7 0x0862837c in ?? ()
#8 0x08075f37 in mega_apply (type=APPLY_SVALUE, args=0, arg1=0x8550ba4,
arg2=0x0) at /root/Pike/7.5/src/interpret.c:1982
#9 0x08076ccc in apply_svalue (s=0x95309d0, args=4)
at /root/Pike/7.5/src/interpret.c:2384
#10 0x081579c2 in got_fd_event (box=0x8550b90, event=0)
at /root/Pike/7.5/src/modules/files/file.c:225
#11 0x080987a3 in low_backend_once (me=0x82b7fc0, timeout=0xbffff270)
at backend.cmod:2540
#12 0x08098a31 in f_Backend_cq__backtick_28_29 (args=4) at backend.cmod:2821
#13 0x08074e23 in low_mega_apply (type=APPLY_SVALUE, args=1, arg1=0x82b939c,
arg2=0x0) at apply_low.h:214
#14 0x08072a59 in jump_opcode_F_APPLY_AND_POP (arg1=156436944)
---Type <return> to continue, or q <return> to quit---
at interpret_functions.h:1936
#15 0x0835e88e in ?? ()
#16 0x08076022 in o_catch (
pc=0x835e94b
"¡pN\"\b\203@\034\024\213\rhN\"\b\213\025`N\"\b\211\021\203Á\004\211\rhN\"\bÇ\002\t")
at /root/Pike/7.5/src/interpret.c:2027
#17 0x080707d9 in jump_opcode_F_CATCH () at interpret_functions.h:1236
#18 0x0835e945 in ?? ()
#19 0x08075f37 in mega_apply (type=APPLY_LOW, args=2, arg1=0x82b104c,
arg2=0x68) at /root/Pike/7.5/src/interpret.c:1982
#20 0x08076c6b in apply (o=0x4023e140, fun=0x81a854c "_main", args=2)
at /root/Pike/7.5/src/interpret.c:2369
#21 0x080d20f7 in main (argc=5, argv=0xbffff6d4)
at /root/Pike/7.5/src/main.c:839