Bug #52888 [Asn]: Zend MM shutdown crash
| From: | kalle@php.net | Date: | Sun, 19 Sep 2010 23:59:27 +0000 |
| Subject: | Bug #52888 [Asn]: Zend MM shutdown crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154492@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52888&edit=1
ID: 52888
Updated by: kalle@php.net
Reported by: pajoye@php.net
Summary: Zend MM shutdown crash
Status: Assigned
Type: Bug
Package: Reproducible crash
Operating System: Windows-VC9-release
PHP Version: trunk-SVN-2010-09-19 (SVN)
-Assigned To: dmitry
+Assigned To: Kalle
Block user comment: N
New Comment:
Added a simple patch that fixes the crash and re-assigned to me
Previous Comments:
------------------------------------------------------------------------
[2010-09-20 01:58:48] kalle@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] pajoye@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