Segfault when starting Pike
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3625
Reported by David Gourdelier, vida@caudium.net
During the installation of the latest Pike CVS, I got this:
Making GTK /home/david/Pike/7.5/src/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/david/Pike/7.5/src/master.pike /home/david/Pike/7.5/src/post_modules/GTK/new_build_pgtk.pike --source='/home/david/Pike/7.5/src/post_modules/GTK/source/' /home/david/Pike/7.5/src/post_modules/GTK/output/few.pike Segmentation fault (core dumped)
Gdb shows:
Program received signal SIGSEGV, Segmentation fault.
0x81082bb in init_thread_obj (o=0x8315f8c) at threads.c:1595
1595 MEMSET(&THIS_THREAD->state, 0, sizeof(struct Pike_interpreter));
(gdb) bt
#0 0x81082bb in init_thread_obj (o=0x8315f8c) at threads.c:1595
#1 0x80ee558 in compat_event_handler (e=0) at program.c:3207
#2 0x80dc572 in call_c_initializers (o=0x8315f8c) at object.c:283
#3 0x80dc8c1 in fast_clone_object (p=0x8312480) at object.c:375
#4 0x81090e0 in th_init () at threads.c:2045
#5 0x80d4cb4 in low_init_main () at main.c:906
#6 0x8154eb5 in init_modules () at module.c:75
#7 0x80d4aec in main (argc=2, argv=0xbfbff6ec) at main.c:794
#8 0x8061e56 in _start ()
The segfault is reproductible, the OS is FreeBSD 4.7.