#50591 [NEW]: PHP CLI crashes
| From: | s dot zdrojewski at netechsrl dot it | Date: | Mon, 28 Dec 2009 13:18:35 +0000 |
| Subject: | #50591 [NEW]: PHP CLI crashes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-146153@lists.php.net to get a copy of this message | ||
From: s dot zdrojewski at netechsrl dot it
Operating system: Windows Server 2003 SP2 i386
PHP version: 5.2.12
PHP Bug Type: Windows Installer
Bug description: PHP CLI crashes
Description:
------------
Application error issued, Event ID 1000, php5ts.dll. Dr Watson issued an
error with Exception c0000005 at address 100F34BC
(php5ts!php_com_wrapper_export)
Reproduce code:
---------------
Any script launched from command line.
Expected result:
----------------
Script execution
Actual result:
--------------
Application exception:
App: C:\Programmi\PHP\php-win.exe (pid=2192)
Ora: 28/12/2009 @ 13:54:42.082
Exception number: c0000005 (access violation)
*----> Elenco moduli <----*
0000000000350000 - 000000000035b000: C:\Programmi\PHP\ext\php_mysql.dll
0000000000400000 - 0000000000408000: C:\Programmi\PHP\php-win.exe
00000000019e0000 - 00000000019f8000: C:\WINDOWS\system32\odbcint.dll
0000000001c80000 - 0000000001e7f000: C:\Programmi\PHP\LIBMYSQL.dll
0000000010000000 - 00000000104fc000: C:\Programmi\PHP\php5ts.dll
0000000044e00000 - 0000000044ead000: C:\WINDOWS\system32\ADVAPI32.dll
000000004bff0000 - 000000004c02d000: C:\WINDOWS\system32\ODBC32.dll
00000000719e0000 - 00000000719ea000: C:\WINDOWS\system32\WSOCK32.dll
0000000071a20000 - 0000000071a28000: C:\WINDOWS\system32\WS2HELP.dll
0000000071a30000 - 0000000071a47000: C:\WINDOWS\system32\WS2_32.dll
0000000076180000 - 000000007619d000: C:\WINDOWS\system32\IMM32.DLL
00000000761a0000 - 00000000761ea000: C:\WINDOWS\system32\comdlg32.dll
0000000076e40000 - 0000000076e53000: C:\WINDOWS\system32\Secur32.dll
0000000077340000 - 0000000077443000:
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
00000000774f0000 - 0000000077629000: C:\WINDOWS\system32\ole32.dll
0000000077b70000 - 0000000077bca000: C:\WINDOWS\system32\msvcrt.dll
0000000077bd0000 - 0000000077c19000: C:\WINDOWS\system32\GDI32.dll
0000000077c20000 - 0000000077cbf000: C:\WINDOWS\system32\RPCRT4.dll
0000000077cd0000 - 0000000077d5b000: C:\WINDOWS\system32\OLEAUT32.dll
0000000077e20000 - 0000000077eb7000:
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
0000000077ec0000 - 0000000077f12000: C:\WINDOWS\system32\SHLWAPI.dll
0000000077f30000 - 0000000077fc1000: C:\WINDOWS\system32\USER32.dll
000000007c800000 - 000000007c90e000: C:\WINDOWS\system32\kernel32.dll
000000007c910000 - 000000007c9d7000: C:\WINDOWS\system32\ntdll.dll
000000007c9e0000 - 000000007d1e6000: C:\WINDOWS\system32\SHELL32.dll
*----> Scarico dello stato per l'id del thread 0xb18 <----*
eax=00229870 ebx=002228b0 ecx=00000000 edx=000c01f2 esi=01bb6e30
edi=002228b0
eip=100f34bc esp=00c0f928 ebp=102d5160 iopl=0 nv up ei pl nz na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010202
*** WARNING: Unable to verify checksum for C:\Programmi\PHP\php5ts.dll
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for C:\Programmi\PHP\php5ts.dll -
funzione: php5ts!php_com_wrapper_export
100f34a2 b82e4b1081 mov eax,0x81104b2e
100f34a7 ec in al,dx
100f34a8 c00000 rol byte ptr [eax],0x0
100f34ab 00538b add [ebx-0x75],dl
100f34ae 9c pushfd
100f34af 24cc and al,0xcc
100f34b1 0000 add [eax],al
100f34b3 005657 add [esi+0x57],dl
100f34b6 8b03 mov eax,[ebx]
100f34b8 8b5488fc mov edx,[eax+ecx*4-0x4]
FAULT ->100f34bc 8b5204 mov edx,[edx+0x4]
ds:0023:000c01f6=????????
100f34bf 85d2 test edx,edx
100f34c1 741a jz php5ts!php_com_wrapper_export+0x214d
(100f34dd)
100f34c3 8bfa mov edi,edx
100f34c5 83c9ff or ecx,0xffffffff
100f34c8 33c0 xor eax,eax
100f34ca f2ae repne scasb
100f34cc f7d1 not ecx
100f34ce 49 dec ecx
100f34cf 740c jz php5ts!php_com_wrapper_export+0x214d
(100f34dd)
100f34d1 5f pop edi
*----> Back Trace dello stack <----*
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following frames may be
wrong.
102d5160 00676e69 61746146 7265206c 00726f72
php5ts!php_com_wrapper_export+0x212c
6e726157 00000000 00000000 00000000 00000000 0x676e69
This happens actually only with CLI, since the webserver runs using the
ISAPI dll and we're not reporting any issues with it at this moment.
--
Edit bug report at http://bugs.php.net/?id=50591&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50591&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50591&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50591&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50591&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50591&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50591&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50591&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50591&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50591&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50591&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50591&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50591&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50591&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50591&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50591&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50591&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50591&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50591&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50591&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50591&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50591&r=mysqlcfg