From: kris at k-softwareNOSPAM dot org
Operating system: windows server 2003 x64
PHP version: 5CVS-2006-10-21 (snap)
PHP Bug Type: Apache2 related
Bug description: php5ts.dll faulting every few minutes on apache2.2
Description:
------------
Since my win2k3(x64) server rebooted after applying windows update patches
on 16/10/06 my apache process has been having problems with the php5ts.dll.
Apache's log says "[notice] Parent: child process exited with status
2147483651 -- Restarting", and I get an application error (See below)
This occurs frequently (at least once every 10 minutes on a live
production machine), and I am unable to trace any specific PHP script
which is causing this problem.
I have rolled back all patches applied since the server reboot, and the
problem still persists. I have been running Apache/2.2.3 (Win32)
PHP/5.2.0RC5 fine up to this point, but upgraded to the latest snap (RC6)
on 20/10/06 and the problem still happens.
Reproduce code:
---------------
Unable to find specific code which causes this fault.
Expected result:
----------------
n/a
Actual result:
--------------
Here is a list of all the information I could find, including a stack
trace.
Event Log - application error (category 100):
Faulting application httpd.exe, version 2.2.3.0, faulting module
php5ts.dll, version 5.2.0.0, fault address 0x00009e40.
Debugger:
First-chance exception at 0x00959f29 (php5ts.dll) in httpd.exe:
0xC0000005: Access violation reading location 0xff0a33c4.
Unhandled exception at 0x00959f29 (php5ts.dll) in httpd.exe: 0xC0000005:
Access violation reading location 0xff0a33c4.
Stack Trace:
> php5ts.dll!_zend_mm_free_int(_zend_mm_heap * heap=0x15f7f298, void *
p=0x01193578) Line 1337 C
php5ts.dll!_efree(void * ptr=0x01193578) Line 1653 + 0x18 bytes
C
php5ts.dll!_zval_dtor_func(_zval_struct * zvalue=0x01193438) Line 36 +
0xc bytes C
php5ts.dll!_zval_ptr_dtor(_zval_struct * * zval_ptr=0x1671d46c) Line
414 + 0xc bytes C
php5ts.dll!zend_hash_destroy(_hashtable * ht=0x1671ceb0) Line 521 + 0x6
bytes C
php5ts.dll!_zval_dtor_func(_zval_struct * zvalue=0x16408250) Line 44
C
php5ts.dll!_zval_ptr_dtor(_zval_struct * * zval_ptr=0x1671db34) Line
414 + 0xc bytes C
php5ts.dll!zend_hash_destroy(_hashtable * ht=0x163df5a8) Line 521 + 0x6
bytes C
php5ts.dll!_zval_dtor_func(_zval_struct * zvalue=0x163df410) Line 44
C
php5ts.dll!_zval_ptr_dtor(_zval_struct * * zval_ptr=0x163df57c) Line
414 + 0xc bytes C
php5ts.dll!zend_hash_apply_deleter(_hashtable * ht=0x09489f00, bucket *
p=0x163df570) Line 606 + 0x6 bytes C
php5ts.dll!zend_hash_graceful_reverse_destroy(_hashtable *
ht=0x09489f00) Line 642 C
php5ts.dll!shutdown_executor(void * * * tsrm_ls=0x15c7b958) Line 239 +
0x17 bytes C
php5ts.dll!zend_deactivate(void * * * tsrm_ls=0x15c7b958) Line 842
C
php5ts.dll!php_request_shutdown(void * dummy=0x00000000) Line 1303
C
php5apache2_2.dll!php_apache_request_dtor(request_rec * r=0x0898b120,
void * * * tsrm_ls=0x15c7b958) Line 450 + 0x8 bytes C
php5apache2_2.dll!php_handler(request_rec * r=0x0898b120) Line 609 +
0x7 bytes C
libhttpd.dll!6ff020c1()
[Frames below may be incorrect and/or missing, no symbols loaded for
libhttpd.dll]
libhttpd.dll!6ff0244f()
libhttpd.dll!6ff0e2be()
libhttpd.dll!6ff0a7bc()
libhttpd.dll!6ff04cb1()
libhttpd.dll!6ff04f63()
libhttpd.dll!6ff1cadc()
msvcrt.dll!77bcb530()
kernel32.dll!7d4dfff1()
--
Edit bug report at http://bugs.php.net/?id=39221&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=39221&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=39221&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=39221&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39221&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=39221&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39221&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39221&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39221&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39221&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39221&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=39221&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=39221&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39221&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39221&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39221&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39221&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39221&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39221&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39221&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39221&r=mysqlcfg