|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-16 08:21 UTC] coff33cat at gmail dot com
[2010-11-16 08:29 UTC] pierre dot php at gmail dot com
[2010-11-16 08:42 UTC] pierre dot php at gmail dot com
[2010-11-16 10:47 UTC] pierre dot php at gmail dot com
[2010-11-17 00:03 UTC] Brian dot White at foxfire74 dot com
[2010-11-17 05:28 UTC] pierre dot php at gmail dot com
[2010-11-17 05:29 UTC] pierre dot php at gmail dot com
[2011-01-09 18:21 UTC] ricardo dot nuno dot rodrigues at hotmail dot com
[2011-01-20 11:29 UTC] bb_plus at hotmail dot com
[2011-06-14 23:41 UTC] yoke dot lee at gmail dot com
[2017-06-29 03:00 UTC] v at anonymous dot hack
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 11:00:02 2025 UTC |
Description: ------------ PHP Version 5.3.3 (cannot select it in phpversion here) The Apache service crashes and does not exit cleanly on shutdown (or graceful restart). Instead, I receive "System error 1067 has occurred. The process terminated unexpectedly" and an error in the event log. If attempting to restart, the main Apache process crashes (as well as the one Windows child) and the restart does NOT occur. IMPORTANT: I used php_apc.pdb from 21 July 2010 to generate the backtrace since that was all I could find, so the function name/offsets for php_apc.dll are not accurate. The .pdbs and .dlls match for everything else. The CloseHandle() call than is faulting is likely in the apc_fcntl_destroy function of apc_fcntl_win32.c. 74 void apc_fcntl_destroy(int fd) 75 { 76 CloseHandle((HANDLE)fd); 77 } The only other CloseHandle() call is in the apc_restat() function of apc.c; however, it has checks for a valid file handle before continuing. Reproduce code: --------------- From the command line, run: NET STOP Apache2.2 (or httpd.exe -k restart) Expected result: ---------------- Apache stops (or restarts) Actual result: -------------- Thread 0 - System ID 4008 Entry point httpd+21d9 Create time 11/11/2010 7:51:32 AM Time spent in user mode 0 Days 0:0:3.605 Time spent in kernel mode 0 Days 0:0:0.991 Function Arg 1 Arg 2 Arg 3 Source ntdll!KiRaiseUserExceptionDispatcher+37 7c90cffa 7c809c2b 00000630 ntdll!KiFastSystemCall+3 7c809c2b 00000630 013f8918 ntdll!NtClose+c 00000630 013f8918 018ab1eb kernel32!CloseHandle+51 00000630 018a5170 00000630 php_apc!apc_fcntl_unlock+6cb 00000001 00000021 0138d578 [NOT ACCURATE!!! (MISMATCHED SYMBOL FILE)] php5ts!module_destructor+4a 013f8918 00a823e5 0138d578 php5ts!zend_hash_clean+112 0138d578 0138d578 009f1f5e php5ts!zend_hash_graceful_reverse_destroy+15 00f6f1c0 0138f6c0 0138d578 php5ts!zend_shutdown+2e 0138d578 0138d578 005aa230 php5ts!php_module_shutdown+2f 0138d578 00000000 00000000 php5ts!php_module_shutdown_wrapper+f 009d7098 6eec8353 00000000 php5apache2_2!zm_info_apache+c6b 00000000 6eec8827 6eec87f0 libapr_1!apr_pool_cleanup_run+43 6eec87f0 006a35a8 00401cc9 libapr_1!apr_pool_clear+37 00000000 00000000 00000000 In httpd__PID__5748__Date__11_12_2010__Time_12_00_08AM__453__Second_Chance_Exception_C0000008.dmp the assembly instruction at ntdll!KiRaiseUserExceptionDispatcher+37 in C:\WINDOWS\system32\ntdll.dll from Microsoft Corporation has caused an unknown exception (0xc0000008) on thread 0 This exception originated from php_apc!apc_fcntl_unlock+6cb. This exception occured as a result of an invalid handle passed to KERNEL32!CLOSEHANDLE by the following function: php_apc!apc_fcntl_unlock+6cb Please follow up with the vendor of this module, The PHP Group, for further assistance with this issue.