Segfault on exit
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1279
Reported by Stefan Berndtsson, GU firstname.lastname@example.org
When compiling 7.2 (and 7.3) on Linux/PPC (running Debian), it compiles fine, but when pike is being run (like in "make verify"), it always exits with a Segmentation Fault. This does not happen on Linux/x86 with the same source. Both CVS and D.Hedbor's latest snapshots have been tested.
A quick backtrace from GDB looks like this:
$ ulimit -c unlimited $ ./test-pike Pike v7.3 release 2 running Hilfe v2.0 (Incremental Pike Frontend) > exit(1); Segmentation fault (core dumped) $ gdb ./test-pike core GNU gdb 5.0 [..snipped license stuff..] (gdb) bt #0 0xfe634e4 in __deregister_frame_info () from /lib/libc.so.6 #1 0xffbabc0 in dlopen () from /lib/libm.so.6 #2 0xffd545c in llroundf () from /lib/libm.so.6 #3 0x3000f130 in _dl_fini () at dl-fini.c:170 #4 0xfd95d8c in exit () from /lib/libc.so.6 #5 0x1007adc8 in low_init_main () #6 0x1007ad84 in pike_do_exit () #7 0xfd7fe68 in __libc_start_main () from /lib/libc.so.6
The current libc used is debian's 2.2.2-1 but 2.1.3-13 has been tested with the same result.