php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50591 PHP CLI crashes
Submitted: 2009-12-28 13:18 UTC Modified: 2010-01-05 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: s dot zdrojewski at netechsrl dot it Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.2.12 OS: Windows Server 2003 SP2 i386
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-12-28 13:18 UTC] s dot zdrojewski at netechsrl dot it
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-28 15:47 UTC] pajoye@php.net
Try using php-win.exe -n script.php

But can't get it to crash here.

Please provide at least one script you use to get the crash.


 [2010-01-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC