ID:               24377
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alain dot russell at blackpepper dot co dot nz
-Status:           Open
+Status:           Suspended
 Bug Type:         Apache2 related
 Operating System: Mac OS X 10.2.6
 PHP Version:      4.3.2
 New Comment:

Chances are one of the many 3rd-party libraries you have linked into
PHP is not threadsafe.  Or it isn't re-entrant.
Use a non-threaded mpm, or better yet, use the fully tested and
production-quality Apache 1.3.x if you are going to use PHP.  

I'm going to suspend this for now as we do not have anybody motivated
to support Apache2.


Previous Comments:
------------------------------------------------------------------------

[2003-06-28 16:00:58] alain dot russell at blackpepper dot co dot nz

Description:
------------
I am running 2 Apache 2 servers, both are the same 
version Apache 2.0.46 (From Serverlogistics.com) and 
bot are running mod_ssl and have valid SSL 
certificates.

One of the servers is running PHP and is crashing a few 
times an hour, if I disable SSL on the PHP machine the 
HTTPD process runs stable .. The other server I have 
runs Apache2 with SSL and is stable - the only 
difference between the 2 servers is PHP.

My Configure line:
'./configure' '--prefix=/Library/PHP4' '--with-apxs2=/
Library/Apache2/bin/apxs' '--with-openssl=/usr' '--
with-zlib=/usr' '--enable-calendar' '--enable-shared' 
'--enable-exif' '--enable-ftp' '--enable-mbstring' '--
enable-mbregex' '--enable-session' '--enable-sockets' 
'--enable-tokenizer' '--enable-wddx' '--with-xml' '--
enable-yp' '--enable-versioning' '--enable-trans-id' 
'--enable-track-vars' '--with-mysql' '--with-ldap=/usr' 
'--with-iodbc=/usr' '--with-gd=/Library/PHP4' '--with-
jpeg-dir=/Library/PHP4' '--with-png-dir=/Library/PHP4' 
'--enable-xslt' '--with-xslt-sablot=/Library/PHP4' '--
with-pdflib=/Library/PHP4' '--with-tiff-dir=/Library/
PHP4' '--with-pgsql=/Library/PHP4' '--with-iconv=/
Library/PHP4' '--with-sybase=/Library/PHP4' '--with-
mcrypt=/Library/PHP4' '--with-curl=/Library/PHP4' '--
with-freetype-dir=/Library/PHP4' '--with-ttf=/Library/
PHP4' '--with-gettext=/Library/PHP4' '--with-xmlrpc' 
'--enable-mime-magic' '--with-pspell=/Library/PHP4' '--
with-expat-dir=/Library/Apache2' '--with-t1lib=/
Library/PHP4' '--enable-dbx' '--with-imap=/Library/
PHP4' '--with-imap-ssl=/usr' '--enable-cli' '--without-
xpm-dir' '--enable-dbase' '--with-bz2=/usr' '--enable-
cgi' '--with-pear' '--with-java' '--with-dom=/Library/
PHP4' '--with-dom-xslt=/Library/PHP4' '--with-dom-
exslt=/Library/PHP4' '--with-snmp=/Library/PHP4' '--
enable-ucd-snmp-hack' 

This is the Crash report being created by 
Crashreporter:

uid: 70  
Date/Time:  2003-06-27 11:19:44 +1200 
OS Version: 10.2.6 (Build 6L60) 
Host:       stream.blackpepper.co.nz  
Command:    httpd 
PID:        648  
Exception:  EXC_BAD_ACCESS (0x0001) 
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 
0x00000000  
Thread 0:  
#0   0x90000e2c in read  
#1   0x0000b05c in ap_mpm_pod_check (pod.c:97)  
#2   0x000097f0 in child_main (worker.c:1309)  
#3   0x00009968 in make_child (worker.c:1393)  
#4   0x00009d74 in perform_idle_server_maintenance 
(worker.c:1551)  
#5   0x00009fbc in server_main_loop (worker.c:1645)  
#6   0x0000a2c4 in ap_mpm_run (worker.c:1745)  
#7   0x0000c60c in main (main.c:660)  
#8   0x00001c74 in _start (crt.c:267)  
#9   0x00001af4 in start  Thread 1:  
#0   0x9003eaa8 in semaphore_wait_signal_trap  
#1   0x9003e8c4 in _pthread_cond_wait  
#2   0x0000b6d8 in ap_queue_pop (fdqueue.c:300)  
#3   0x00008dd4 in worker_thread (worker.c:917)  
#4   0x90020d48 in _p


uid: 70  
Date/Time:  2003-06-27 11:40:52 +1200 
OS Version: 10.2.6 (Build 6L60) 
Host:       stream.blackpepper.co.nz  
Command:    httpd 
PID:        646  
Exception:  EXC_BAD_ACCESS (0x0001) 
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 
0x0025358f  
Thread 0:  
#0   0x90000e2c in read  
#1   0x0000b05c in ap_mpm_pod_check (pod.c:97)  
#2   0x000097f0 in child_main (worker.c:1309)  
#3   0x00009968 in make_child (worker.c:1393)  
#4   0x00009a2c in startup_children (worker.c:1410)  
#5   0x0000a1f0 in ap_mpm_run (worker.c:1722)  
#6   0x0000c60c in main (main.c:660)  
#7   0x00001c74 in _start (crt.c:267)  
#8   0x00001af4 in start  Thread 1:  
#0   0x9003eaa8 in semaphore_wait_signal_trap  
#1   0x9003e8c4 in _pthread_cond_wait  
#2   0x0000b6d8 in ap_queue_pop (fdqueue.c:300)  
#3   0x00008dd4 in worker_thread (worker.c:917)  
#4   0x90020d48 in _pthread_body  Thread 2:  
#0   0x9003eaa8 in semaphore_wait_signal_tra

Most of the time these crashes happen when PHPMyAdmin 
is being used.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24377&edit=1

Reply via email to