ID: 39221
Updated by: [EMAIL PROTECTED]
Reported By: kris at k-software dot org
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: windows server 2003 x64
PHP Version: 5CVS-2006-10-20 (snap)
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2006-10-21 12:03:28] kris at k-software dot org
Dr Watson log file :
Application exception occurred:
App: C:\Program Files (x86)\Apache Group\Apache2\bin\httpd.exe
(pid=2632)
When: 10/21/2006 @ 13:02:13.937
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: SECAMSERVER1
User Name: SYSTEM
Terminal Session Id: 0
Number of Processors: 4
Processor Type: EM64T Family 15 Model 4 Stepping 3
Windows Version: 5.2
Current Build: 3790
Service Pack: 1
Current Type: Multiprocessor Free
*----> Module List <----*
00000000003e0000 - 00000000003f7000: C:\WINDOWS\system32\odbcint.dll
0000000000400000 - 0000000000405000: C:\Program Files (x86)\Apache
Group\Apache2\bin\httpd.exe
00000000007f0000 - 0000000000842000: C:\WINDOWS\syswow64\SHLWAPI.dll
0000000000950000 - 0000000000e14000: C:\php5\php5ts.dll
0000000000e20000 - 0000000000eac000: C:\WINDOWS\syswow64\OLEAUT32.dll
00000000012b0000 - 00000000013bd000: c:\php5\ext\php_gd2.dll
00000000013c0000 - 00000000013df000: c:\php5\ext\php_ldap.dll
00000000013e0000 - 0000000001412000: C:\WINDOWS\system32\SSLEAY32.dll
0000000001420000 - 000000000152b000: C:\WINDOWS\system32\LIBEAY32.dll
0000000001530000 - 00000000016ce000: c:\php5\ext\php_mbstring.dll
00000000016d0000 - 00000000016dc000: c:\php5\ext\php_mysql.dll
00000000016e0000 - 000000000184a000: C:\WINDOWS\system32\LIBMYSQL.dll
0000000001860000 - 000000000188a000: c:\php5\ext\php_pgsql.dll
0000000010000000 - 0000000010009000: C:\php5\php5apache2_2.dll
000000004bf70000 - 000000004bfad000: C:\WINDOWS\system32\ODBC32.dll
000000005f270000 - 000000005f2c9000: C:\WINDOWS\system32\hnetcfg.dll
0000000069500000 - 0000000069517000: C:\WINDOWS\system32\faultrep.dll
000000006ee50000 - 000000006ee59000: C:\Program Files (x86)\Apache
Group\Apache2\bin\libapriconv-1.dll
000000006ee60000 - 000000006ee89000: C:\Program Files (x86)\Apache
Group\Apache2\bin\libaprutil-1.dll
000000006eec0000 - 000000006eedf000: C:\Program Files (x86)\Apache
Group\Apache2\bin\libapr-1.dll
000000006faf0000 - 000000006faf6000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authz_user.so
000000006fb00000 - 000000006fb06000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authz_host.so
000000006fb10000 - 000000006fb16000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authz_groupfile.so
000000006fb20000 - 000000006fb26000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authz_default.so
000000006fb40000 - 000000006fb46000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authn_file.so
000000006fb50000 - 000000006fb56000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_authn_default.so
000000006fc00000 - 000000006fc06000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_setenvif.so
000000006fc10000 - 000000006fc19000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_negotiation.so
000000006fc20000 - 000000006fc27000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_mime.so
000000006fc30000 - 000000006fc37000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_log_config.so
000000006fc40000 - 000000006fc48000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_isapi.so
000000006fc50000 - 000000006fc5a000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_include.so
000000006fc60000 - 000000006fc67000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_imagemap.so
000000006fc70000 - 000000006fc76000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_env.so
000000006fc80000 - 000000006fc86000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_dir.so
000000006fc90000 - 000000006fc97000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_cgi.so
000000006fca0000 - 000000006fca8000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_autoindex.so
000000006fcc0000 - 000000006fcc6000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_asis.so
000000006fcd0000 - 000000006fcd6000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_alias.so
000000006fce0000 - 000000006fce6000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_actions.so
000000006fe70000 - 000000006fe7e000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_rewrite.so
000000006fef0000 - 000000006fef6000: C:\Program Files (x86)\Apache
Group\Apache2\modules\mod_auth_basic.so
000000006ff00000 - 000000006ff47000: C:\Program Files (x86)\Apache
Group\Apache2\bin\libhttpd.dll
0000000071ae0000 - 0000000071ae8000: C:\WINDOWS\System32\wshtcpip.dll
0000000071bb0000 - 0000000071bb9000: C:\WINDOWS\system32\WSOCK32.dll
0000000071bf0000 - 0000000071bf8000: C:\WINDOWS\system32\WS2HELP.dll
0000000071c00000 - 0000000071c17000: C:\WINDOWS\system32\WS2_32.dll
0000000071c40000 - 0000000071c98000: C:\WINDOWS\syswow64\NETAPI32.dll
00000000762b0000 - 00000000762fa000: C:\WINDOWS\syswow64\comdlg32.dll
0000000076920000 - 00000000769e4000: C:\WINDOWS\system32\USERENV.dll
0000000076ed0000 - 0000000076eff000: C:\WINDOWS\system32\DNSAPI.dll
0000000076f10000 - 0000000076f3e000: C:\WINDOWS\syswow64\WLDAP32.dll
0000000076f70000 - 0000000076f77000: C:\WINDOWS\System32\winrnr.dll
0000000076f80000 - 0000000076f88000: C:\WINDOWS\system32\rasadhlp.dll
00000000770e0000 - 00000000771ea000: C:\WINDOWS\system32\SETUPAPI.dll
00000000771f0000 - 0000000077201000: C:\WINDOWS\system32\WINSTA.dll
0000000077530000 - 00000000775c7000:
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.1830_x-ww_1B6F474A\COMCTL32.dll
0000000077670000 - 00000000777a4000: C:\WINDOWS\syswow64\ole32.dll
0000000077b90000 - 0000000077b98000: C:\WINDOWS\syswow64\VERSION.dll
0000000077ba0000 - 0000000077bfa000: C:\WINDOWS\syswow64\msvcrt.dll
0000000077f50000 - 0000000077fec000: C:\WINDOWS\syswow64\ADVAPI32.dll
000000007c8d0000 - 000000007d0d4000: C:\WINDOWS\syswow64\shell32.dll
000000007d4c0000 - 000000007d5f0000: C:\WINDOWS\syswow64\kernel32.dll
000000007d600000 - 000000007d6f0000: C:\WINDOWS\system32\ntdll.dll
000000007d800000 - 000000007d890000: C:\WINDOWS\syswow64\GDI32.dll
000000007d930000 - 000000007da00000: C:\WINDOWS\syswow64\USER32.dll
000000007da20000 - 000000007db00000: C:\WINDOWS\syswow64\RPCRT4.dll
000000007db30000 - 000000007dbb0000: C:\WINDOWS\system32\MSWSOCK.dll
000000007dbd0000 - 000000007dcd3000:
C:\WINDOWS\WinSxS\WOW64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_0213CDC8\comctl32.dll
*----> State Dump for Thread Id 0x1308 <----*
eax=011e8148 ebx=0900d008 ecx=00000001 edx=00000004 esi=01198140
edi=00050008
eip=00959e40 esp=07f3f820 ebp=77bbce33 iopl=0 nv up ei ng nz ac
pe cy
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b
efl=00010293
*** WARNING: Unable to verify checksum for C:\php5\php5ts.dll
function: php5ts!_zend_mm_free_int
00959e21 06 push es
00959e22 f6c101 test cl,0x1
00959e25 0f85bc010000 jne
php5ts!_zend_mm_free_int+0x217 (00959fe7)
00959e2b 24fc and al,0xfc
00959e2d 03c6 add eax,esi
00959e2f f60001 test byte ptr [eax],0x1
00959e32 0f85ec000000 jne
php5ts!_zend_mm_free_int+0x154 (00959f24)
00959e38 8b4808 mov ecx,[eax+0x8]
00959e3b 8b500c mov edx,[eax+0xc]
00959e3e 3bca cmp ecx,edx
FAULT ->00959e40 89510c mov [ecx+0xc],edx
ds:002b:0000000d=????????
00959e43 894a08 mov [edx+0x8],ecx
00959e46 751d jnz php5ts!_zend_mm_free_int+0x95
(00959e65)
00959e48 8b08 mov ecx,[eax]
00959e4a 81f908010000 cmp ecx,0x108
00959e50 7313 jnb php5ts!_zend_mm_free_int+0x95
(00959e65)
00959e52 c1e903 shr ecx,0x3
00959e55 49 dec ecx
00959e56 ba01000000 mov edx,0x1
00959e5b d3e2 shl edx,cl
00959e5d 8b0b mov ecx,[ebx]
*----> Stack Back Trace <----*
ChildEBP RetAddr Args to Child
07f3f828 0095a541 0900d008 01198148 00000000
php5ts!_zend_mm_free_int+0x70 (FPO: [2,0,3]) (CONV: cdecl)
07f3f83c 00a020f7 01198148 0af7144c 009e35e3 php5ts!_efree+0x21 (FPO:
[1,0,0]) (CONV: cdecl)
07f3f848 009e35e3 01198098 0af70fb8 009e74e7
php5ts!_zval_dtor_func+0x27 (FPO: [1,0,1]) (CONV: cdecl)
07f3f854 009e74e7 0af7144c 0af71880 0ac1d1f0 php5ts!_zval_ptr_dtor+0x23
(FPO: [1,0,1]) (CONV: cdecl)
07f3f86c 00a02129 0af70c08 0af7188c 009e35e3
php5ts!zend_hash_destroy+0x27 (FPO: [EBP 0x77bbce33] [1,0,4]) (CONV:
cdecl)
07f3f878 009e35e3 0ac1d1f0 0af71388 009e74e7
php5ts!_zval_dtor_func+0x59 (FPO: [1,0,1]) (CONV: cdecl)
07f3f884 009e74e7 0af7188c 01ac7868 0abf43b0 php5ts!_zval_ptr_dtor+0x23
(FPO: [1,0,1]) (CONV: cdecl)
07f3f89c 00a02129 0abf4548 0abf451c 009e35e3
php5ts!zend_hash_destroy+0x27 (FPO: [EBP 0x07f3fa50] [1,0,4]) (CONV:
cdecl)
07f3f8a8 009e35e3 0abf43b0 0abf4510 009e76c7
php5ts!_zval_dtor_func+0x59 (FPO: [1,0,1]) (CONV: cdecl)
07f3f8b4 009e76c7 0abf451c 01b8a1c8 01ac7868 php5ts!_zval_ptr_dtor+0x23
(FPO: [1,0,1]) (CONV: cdecl)
07f3f8cc 009e7733 01ac7868 0abf4510 01b8a1c8
php5ts!zend_hash_apply_deleter+0x97 (FPO: [EBP 0x01b8a1c8] [2,0,4])
(CONV: cdecl)
07f3f8dc 009e2f78 01ac7868 00dedc00 009e3410
php5ts!zend_hash_graceful_reverse_destroy+0x13 (FPO: [1,0,1]) (CONV:
cdecl)
07f3f904 7d61f63d 09f28588 07f3f9f0 7d61f5c9
php5ts!shutdown_executor+0x68 (CONV: cdecl)
------------------------------------------------------------------------
[2006-10-21 11:39:25] kris at k-software dot org
Bug 39040 seems to experience the same problem, but the reproducable
code in its snippet does not cause my PHP to crash.
------------------------------------------------------------------------
[2006-10-21 11:14:51] kris at k-software dot org
changed erroneous email address.
------------------------------------------------------------------------
[2006-10-21 11:13:12] kris at k-software dot org
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 this bug report at http://bugs.php.net/?id=39221&edit=1