Edit report at https://bugs.php.net/bug.php?id=61704&edit=1
ID: 61704 User updated by: ricardo dot nuno dot rodrigues at hotmail dot com Reported by: ricardo dot nuno dot rodrigues at hotmail dot com Summary: Crash apache, phpinfo() threading issue Status: Closed Type: Bug Package: MySQLi related Operating System: Windows 7 64bit PHP Version: 5.4.0 Assigned To: mysql Block user comment: N Private report: N New Comment: trunk version not working or PHP 5.4.3 ------------------ I don't understand why you say that this version is older than your patch since I picked many hours after you said it's done. without any extension loaded ------------------ Function Arg 1 Arg 2 Arg 3 Source php5ts!deflateEnd+f 000001bc 0234b7c4 5d7197bd php5ts!php_version_compare+bf6a 25c3da78 25c3da78 00000000 php5ts!php_request_shutdown+27b 0fd3ff6c 00000000 56433230 php5ts!php_request_shutdown+93 26e26bb0 26e26b90 00000004 libapr_1!apr_pstrdup+39 00000000 00000000 00000000 PHP5TS!DEFLATEEND+FWARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__9208__Date__05_08_2012__Time_11_13_15PM__269__Second_Chance_Exceptio n_C0000005.dmp the assembly instruction at php5ts!deflateEnd+f in C:\AppServ\php5\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x000001d8 on thread 42 Previous Comments: ------------------------------------------------------------------------ [2012-05-08 23:30:20] johan...@php.net This is a different issue or you're using a build which is older than my fix. If it is a different issue it should get a new bug ID. I don't have Windows at hand to test php.net builds right now ... when testing please go from a setup without extra extensions and add them till the issue pops up. Thanks. ------------------------------------------------------------------------ [2012-05-08 22:19:12] ricardo dot nuno dot rodrigues at hotmail dot com trunk version not working ------------------ Function Arg 1 Arg 2 Arg 3 Source php5ts!deflateEnd+f 000001bc 0234b7c4 5d7197bd php5ts!php_version_compare+bf6a 25c3da78 25c3da78 00000000 php5ts!php_request_shutdown+27b 0fd3ff6c 00000000 56433230 php5ts!php_request_shutdown+93 26e26bb0 26e26b90 00000004 libapr_1!apr_pstrdup+39 00000000 00000000 00000000 PHP5TS!DEFLATEEND+FWARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__9208__Date__05_08_2012__Time_11_13_15PM__269__Second_Chance_Exceptio n_C0000005.dmp the assembly instruction at php5ts!deflateEnd+f in C:\AppServ\php5\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x000001d8 on thread 42 Function Arg 1 Arg 2 Arg 3 Source php5ts!shmget+17a 00000001 00000000 00000000 php_shmop_rsr!get_module+1a2 0c7d5398 0eb220d0 0c7d5398 php5ts!zval_add_ref+17b5 0504fe10 0504fb64 00000000 php5ts!execute+1fd 0eb3f458 0c7d5301 0c7d5398 php5ts!zend_execute_scripts+119 00000001 0eb3f4e9 0504fb80 user32!PostThreadMessageA+e1 0504ff6c 00000000 56433230 php5ts!php_execute_script+a7 764d1194 0000027c ffffffff KERNELBASE!WaitForSingleObjectEx+cb 00000020 609dc7f4 609f2cc6 php5ts!xmlGetGlobalState+11 00888968 00000000 014c1738 libhttpd!ap_regexec+d6 00ba9690 014927e7 0504fe30 mod_rewrite+6387 014911d8 00000000 014911d8 libhttpd!ap_run_handler+25 014911d8 014911d8 014911d8 libhttpd!ap_invoke_handler+a2 00000000 01485330 0504fefc libhttpd!ap_die+26e 014911d8 00000000 00bd4918 libhttpd!ap_psignature+15b2 01485330 00000018 01485330 libhttpd!ap_run_process_connection+25 01485330 00c397c8 0504ff44 libhttpd!ap_process_connection+33 01485330 014851b8 00000000 libhttpd!ap_regkey_value_remove+fe7 01485328 9f1b9813 00000000 msvcr100!_endthreadex+3f 00000000 0504ff94 764d339a msvcr100!_endthreadex+ce 01444ce0 0504ffd4 76ef9ef2 kernel32!BaseThreadInitThunk+e 01444ce0 7b64113e 00000000 ntdll!__RtlUserThreadStart+70 730bc59c 01444ce0 00000000 ntdll!_RtlUserThreadStart+1b 730bc59c 01444ce0 00000000 PHP5TS!SHMGET+17AWARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__7336__Date__05_05_2012__Time_12_15_19AM__621__Second_Chance_Exceptio n_C0000005.dmp the assembly instruction at php5ts!shmget+17a in C:\AppServ\php5\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 27 Function Arg 1 Arg 2 Arg 3 Source php5ts!zend_register_internal_class_ex+c6d 1fa8ca48 1fa8ca48 00000000 php5ts!php_request_shutdown+27b 0adaff6c 00000000 56433230 php5ts!php_request_shutdown+93 13906680 13906660 00000004 libapr_1!apr_pstrdup+39 00000000 00000000 00000000 PHP5TS!ZEND_REGISTER_INTERNAL_CLASS_EX+C6DWARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__7980__Date__05_08_2012__Time_11_15_36PM__79__Second_Chance_Exception _C0000005.dmp the assembly instruction at php5ts!zend_register_internal_class_ex+c6d in C:\AppServ\php5\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x6b6abc8d on thread 215 ------------------------------------------------------------------------ [2012-05-08 15:33:21] johan...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2012-05-08 15:33:03] johan...@php.net Automatic comment on behalf of johannes Revision: http://git.php.net/?p=php-src.git;a=commit;h=e8e661128a4dcee9d2f35ed3443d567ba2ad7870 Log: Fix #61704 (Crash apache, phpinfo() threading issue) ------------------------------------------------------------------------ [2012-05-07 16:35:03] johan...@php.net This comes from using zend_hash_apply() on the plugin table on multiple threads. A fix using a mutex is on http://schlueters.de/~johannes/php/bug61704.diff I'll switch to manual iteration however so the lock isn't needed. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61704 -- Edit this bug report at https://bugs.php.net/bug.php?id=61704&edit=1