ID: 22815 User updated by: busia at tiscali dot it Reported By: busia at tiscali dot it -Status: Feedback +Status: Closed Bug Type: Apache2 related Operating System: Linux Redhat 7.2 PHP Version: 4.3.2RC1 New Comment:
The problem seems to be fixed. Now it works, many thanks! Previous Comments: ------------------------------------------------------------------------ [2003-03-25 09:53:15] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip There was a bug fixed today that may have prevented the operation of Apache2handler under ZTS. ------------------------------------------------------------------------ [2003-03-22 17:26:59] busia at tiscali dot it I cannot change to prefork model, I upgraded to apache 2 only to have less resource usage using threads instead of prefork. I'd have to take two servers, instead of one, to host my site. Until this bug will be fixed I'll have to use the old php4.4dev "200301041230" snapshot version without upgrading possibilities. ------------------------------------------------------------------------ [2003-03-21 18:54:26] [EMAIL PROTECTED] 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? ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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