#46532 [NEW]: Error 0xC0000005 in PHP5TS.DLL and PHP-CGI.EXE
| From: | artist at wavenet dot org | Date: | Mon, 10 Nov 2008 09:00:45 +0000 |
| Subject: | #46532 [NEW]: Error 0xC0000005 in PHP5TS.DLL and PHP-CGI.EXE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-130814@lists.php.net to get a copy of this message | ||
From: artist at wavenet dot org
Operating system: Windows XP
PHP version: 5.2.6
PHP Bug Type: Reproducible crash
Bug description: Error 0xC0000005 in PHP5TS.DLL and PHP-CGI.EXE
Description:
------------
I am using Lighttpd from install file LightTPD-1.4.20-1-Win32-SSL.exe.
This was tested with HTML files and it worked.
When I attempted to load a test PHP file in an error message box opened
with the message PHP / Fast CGI had developed a problem and needed to
close. So I invoked php-cgi.exe with Dependency Walker. Pasted below are
the last few lines output in Dependency Walker's Log Window. The 0xC0000005
memory access violation errors are in the last few lines.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME], "NotifyIME")
called from "f:\windows\system32\IMM32.DLL" at address 0x76397324 and
returned 0x755D9507.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"ImeSetCompositionString") called from "f:\windows\system32\IMM32.DLL" at
address 0x7639733C and returned 0x755D946D.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"ImeGetImeMenuItems") called from "f:\windows\system32\IMM32.DLL" at
address 0x76397354 and returned NULL. Error: The specified procedure could
not be found (127).
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"CtfImeInquireExW") called from "f:\windows\system32\IMM32.DLL" at address
0x76397394 and returned 0x755D9548.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"CtfImeSelectEx") called from "f:\windows\system32\IMM32.DLL" at address
0x763973A8 and returned 0x755D92C5.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"CtfImeEscapeEx") called from "f:\windows\system32\IMM32.DLL" at address
0x763973BC and returned 0x755D96FE.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"CtfImeGetGuidAtom") called from "f:\windows\system32\IMM32.DLL" at address
0x763973D0 and returned 0x755D9737.
GetProcAddress(0x755C0000 [f:\windows\system32\MSCTFIME.IME],
"CtfImeIsGuidMapEnable") called from "f:\windows\system32\IMM32.DLL" at
address 0x763973E4 and returned 0x755D931A.
First chance exception 0xC0000005 (Access Violation) occurred in
"f:\websites\servers\php-5.2.6\PHP5TS.DLL" at address 0x1009C51D.
Second chance exception 0xC0000005 (Access Violation) occurred in
"f:\websites\servers\php-5.2.6\PHP5TS.DLL" at address 0x1009C51D.
Exited "f:\websites\servers\php-5.2.6\PHP-CGI.EXE" (process 0xAEC) with
code -1073741819 (0xC0000005).
Reproduce code:
---------------
The batch file PHP and Lighttpd were invoked with:
@ECHO OFF
ECHO Starting LightTPD...
CD LightTPD
ECHO.
lighttpd.exe -v
ECHO.
lighttpd.exe -f conf\lighttpd-srv.conf -m lib
CD ..
ECHO Starting PHP FastCGI...
.\PHP-5.2.6\php-cgi.exe -e -b 127.0.0.1:521
EXIT
Expected result:
----------------
The php test file contained only the characters:
<?php phpinfo(); ?>
I expected to see a php info page.
Actual result:
--------------
PHP crashed.
--
Edit bug report at http://bugs.php.net/?id=46532&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46532&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46532&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46532&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46532&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46532&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46532&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46532&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46532&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46532&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46532&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46532&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46532&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46532&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46532&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46532&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46532&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46532&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46532&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46532&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46532&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46532&r=mysqlcfg