|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-11-18 21:00 UTC] kalle@php.net
-Status: Open
+Status: Wont fix
[2016-11-18 21:00 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 03:00:01 2025 UTC |
Description: ------------ apc crashes php on windows when php is running as an apache fcgi executable. It is not 100% reproducible but often happens when several php-cgi.exe instances are running simultaneously - i used phpmyadmin front page for tests which has multiple frames. I made a custom build ob php_apc with debug info enabled to find code location where the crash happens: Stack trace: 008af480 68f47de4 php_apc!apc_cache_find_slot+0x77 [c:\tmp\php_pecl\php-5.4.32-src\ext\apc-3.1.13\apc_cache.c @ 648] 008af500 68f51bc9 php_apc!apc_cache_find+0x44 [c:\tmp\php_pecl\php-5.4.32-src\ext\apc-3.1.13\apc_cache.c @ 699] 008af71c 5f7c6e67 php_apc!my_compile_file+0x1c9 [c:\tmp\php_pecl\php-5.4.32-src\ext\apc-3.1.13\apc_main.c @ 520] WARNING: Stack unwind information not available. Following frames may be wrong. 008af7cc 5f85e33b php5ts!zend_save_lexical_state+0x207 008af840 5f814ffd php5ts!inet_ntop+0x27b 008af85c 5f84382c php5ts!execute+0x1fd 008af874 765ead55 php5ts!zend_execute_scripts+0x14c 00000000 00000000 USER32!PostThreadMessageA+0x4c Source line: while (*slot) { if(key.type == (*slot)->key.type) { <---- it crashes here if(key.type == APC_CACHE_KEY_FILE) { For some reason windbg didn't show me variable values but i guess that something was NULL here,