ID: 17045 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Mandrake Linux 8.2 (2.4.18) PHP Version: 4.2.0 New Comment:
Can you try 4.2.1rc2 when it's released later today? Derick Previous Comments: ------------------------------------------------------------------------ [2002-05-06 12:45:37] [EMAIL PROTECTED] Problem: Apache 2.0.35 segfaults when loading PHP module. If LoadModule is commented out, Apache works fine. To Reproduce: Follow instructions in PHP manual to install PHP and Apache 2.0. Once Apache is configured and everything is installed, run httpd. Httpd will appear to have started normally, but on doing a 'ps -aux | grep httpd' you will notice NO httpd processes, and there is no httpd.pid file. Even using 'apachectrl start', will report httpd started fine. Use 'httpd -X' to see segfault message. Module Line: LoadModule php4_module modules/libphp4.so GDB Backtrace: (gdb) run -X Starting program: /usr/local/apache/conf/../bin/httpd -X [New Thread 1024 (LWP 27916)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 27916)] 0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310 310 TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id, thread_resources->count); (gdb) bt #0 0x40329991 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310 #1 0x40291b0a in php_module_startup (sf=0x4034f6a0) at main.c:856 #2 0x4028f7ec in php_apache_server_startup (pconf=0x80b6380, plog=0x80ee460, ptemp=0x8140b70, s=0x81431d8) at sapi_apache2.c:442 #3 0x0807baa3 in ap_run_post_config (pconf=0x80b6380, plog=0x80ee460, ptemp=0x8140b70, s=0x81431d8) at config.c:127 #4 0x08080908 in main (argc=2, argv=0xbffff834) at main.c:611 #5 0x40118280 in __libc_start_main () from /lib/libc.so.6 Please let me know what other information I can supply to help. My apologizes if this bug is already reported, I spent a good deal of time searching the bug list. -Tanya ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17045&edit=1