ID: 16583 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: PLD Linux PHP Version: 4.2.0RC4 New Comment:
Try disabling compiler optimizations: CFLAGS="-Wall -g" ./configure ... Please report back all of the configure options you passed to both apache and php. FWIW, I'm using RH72 w/ gcc 2.96, glibc 2.2.4 and linux 2.4.9 and I don't see this. Previous Comments: ------------------------------------------------------------------------ [2002-04-19 11:31:03] [EMAIL PROTECTED] I was using gcc version 3.1 20020408 (prerelease) but adasi@grubno was using gcc version 2.95.4 20010319 (prerelease). ------------------------------------------------------------------------ [2002-04-19 11:16:35] [EMAIL PROTECTED] Hmmm.. you all have gcc3. Have any of you been able to reproduce this with gcc2.95? ------------------------------------------------------------------------ [2002-04-17 17:30:42] [EMAIL PROTECTED] Also not working. Ugly workaround with thread_resources = NULL; works but that's not the way. Backtrace does not give anything because it's pretty random, it hardly depends on system status while tracing. ------------------------------------------------------------------------ [2002-04-17 11:27:22] [EMAIL PROTECTED] I have the same problem. On startup it dumps core. Here is my backtrace: (gdb) where #0 0x40566ba9 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310 #1 0x404c60ee in php_module_startup (sf=0x4061e920) at main.c:856 #2 0x404c3e70 in php_apache_server_startup (pconf=0x80fb9c8, plog=0x8125a70, ptemp=0x819cb10, s=0x80fd718) at sapi_apache2.c:435 #3 0x806f4be in ap_run_post_config (pconf=0x80fb9c8, plog=0x8125a70, ptemp=0x819cb10, s=0x80fd718) at config.c:127 #4 0x8073bd5 in main (argc=2, argv=0xbffff874) at main.c:611 #5 0x4027f74f in __libc_start_main () from /lib/libc.so.6 My environment: Slackware, 2.4.18, glibc 2.2.5, gcc 3.0.4. PHP 4.2.0RC4 ------------------------------------------------------------------------ [2002-04-16 08:24:10] [EMAIL PROTECTED] RC4 doesn't work, too :-( ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16583 -- Edit this bug report at http://bugs.php.net/?id=16583&edit=1