Edit report at http://bugs.php.net/bug.php?id=52888&edit=1
ID: 52888 Updated by: dmi...@php.net Reported by: paj...@php.net Summary: Zend MM shutdown crash -Status: Assigned +Status: Closed Type: Bug Package: Reproducible crash Operating System: Windows-VC9-release PHP Version: trunk-SVN-2010-09-19 (SVN) Assigned To: dmitry Block user comment: N New Comment: 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/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2010-09-20 14:12:44] dmi...@php.net Automatic comment from SVN on behalf of dmitry Revision: http://svn.php.net/viewvc/?view=revision&revision=303619 Log: Fixed bug #52888 (Zend MM shutdown crash) ------------------------------------------------------------------------ [2010-09-20 03:11:36] paj...@php.net Other crash, same script, this one can happen in debug mode too. php5ts_debug.dll!zend_mm_shutdown(_zend_mm_heap * heap=0x02697d18, int full_shutdown=0, int silent=0, void * * * tsrm_ls=0x02513da8) Line 1683 + 0x6 bytes C php5ts_debug.dll!shutdown_memory_manager(int silent=0, int full_shutdown=0, void * * * tsrm_ls=0x02513da8) Line 2586 + 0x23 bytes C php5ts_debug.dll!php_request_shutdown(void * dummy=0x00000000) Line 1689 + 0x4a bytes C php.exe!main(int argc=3, char * * argv=0x02513c90) Line 1438 + 0xa bytes C php.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C php.exe!mainCRTStartup() Line 403 C ------------------------------------------------------------------------ [2010-09-20 01:59:27] ka...@php.net Added a simple patch that fixes the crash and re-assigned to me ------------------------------------------------------------------------ [2010-09-20 01:58:48] ka...@php.net The following patch has been added/updated: Patch Name: ze2-bug-52888 Revision: 1284940727 URL: http://bugs.php.net/patch-display.php?bug=52888&patch=ze2-bug-52888&revision=1284940727 ------------------------------------------------------------------------ [2010-09-19 14:30:48] paj...@php.net Description: ------------ The segments_list test seems to do not be thread safe. But it could come from something else. The crash happens after the end of the script, on shutdown. php5ts.dll!zend_mm_shutdown(_zend_mm_heap * heap=0x024a7a00, int full_shutdown=0, int silent=0, void * * * tsrm_ls=0x001d1bb8) Line 1570 C php5ts.dll!shutdown_memory_manager(int silent=0, int full_shutdown=0, void * * * tsrm_ls=0x001d1bb8) Line 2583 + 0x23 bytes C php5ts.dll!php_request_shutdown(void * dummy=0x00000000) Line 1689 + 0x2d bytes C php.exe!main(int argc=5, char * * argv=0x001d1b10) Line 1438 + 0x8 bytes C php.exe!__tmainCRTStartup() Line 586 + 0x17 bytes C Test script: --------------- Zend/bench.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52888&edit=1