ID: 22815 Updated by: [EMAIL PROTECTED] Reported By: busia at tiscali dot it Status: Open Bug Type: Apache2 related Operating System: Linux Redhat 7.2 PHP Version: 4.3.2RC1 New Comment:
I've seen this too with the worker MPM. but mine segfaults somewhere in a mutex_open/mutex_lock. I'll try enabling-zts on mine and see if that problem persists. The recommened solution is to use the PREFORK mpm, which doesn't use threading. If I get some time this weekend I'll try to reproduce it. BTW.. does this happen with 4.3.1? Previous Comments: ------------------------------------------------------------------------ [2003-03-21 17:39:13] busia at tiscali dot it The parent process remains active but it seems to wait something that doesn't happen. it seems apache cannot complete startup process and wait, wait, wait. I noticed one thing: apache doesn't create pid file, it doesn't arrive to create it. Using the old php4.4dev "200301041230" snapshot version all works well (it is the version that was installed before I tried to install php4.3.2RC1" outpuyt of gdb WITHOUT --enable-experimental-zts ------------------------------------ Starting program: /usr/sbin/httpd -X [New Thread 1024 (LWP 12706)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 12706)] 0x403c6ddf in zend_register_functions (functions=0x40414420, function_table=0x0, type=1, tsrm_ls=0x8165880) at /home/archivi/php-4.3.2RC1/Zend/zend_API.c:1034 1034 target_function_table = CG(function_table); ------------------------------------ output of gdb WITH --enable-experimental-zts ------------------------------------ Starting program: /usr/sbin/httpd -X [New Thread 1024 (LWP 12738)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 12738)] 0x403c0e6f in zend_register_functions (functions=0x4040d0c0, function_table=0x0, type=1, tsrm_ls=0x8165880) at /home/archivi/php-4.3.2RC1/Zend/zend_API.c:1034 1034 target_function_table = CG(function_table); ------------------------------------ ------------------------------------------------------------------------ [2003-03-21 17:05:12] [EMAIL PROTECTED] Does it crash? Try with starting httpd withing gdb: # gdb httpd (gdb) run -X ------------------------------------------------------------------------ [2003-03-21 16:34:48] busia at tiscali dot it I have tried --enable-experimental-zts without success. I'll try to test with the worker MPM but it's an "online" server and it should be not possible. I'll let you know. ------------------------------------------------------------------------ [2003-03-21 16:09:46] [EMAIL PROTECTED] Using Apache2 SAPI module in worker model is highly discouraged because PHP has not completely been confirmed to be a thread-safe implementation. If you even want to use it within such a real threaded environment, you have to specify --enable-experimental-zts in the configure line. Then try configuring Apache2 to use prefork model and see if the problem still persists. ------------------------------------------------------------------------ [2003-03-21 15:58:57] busia at tiscali dot it I have also tried lastest 4.3.x stable snapshot from snaps.php.net. The problem persists ------------------------------------------------------------------------ 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/22815 -- Edit this bug report at http://bugs.php.net/?id=22815&edit=1