#42220 [Opn->Fbk]: thread safe problem with the true global list_destructors
| From: | jani@php.net | Date: | Sun, 12 Aug 2007 14:13:06 +0000 |
| Subject: | #42220 [Opn->Fbk]: thread safe problem with the true global list_destructors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115992@lists.php.net to get a copy of this message | ||
ID: 42220
Updated by: jani@php.net
Reported By: mv at binarysec dot com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 5CVS-2007-08-06 (CVS)
New Comment:
The question is: Do you get it at all when APC is NOT loaded?
Previous Comments:
------------------------------------------------------------------------
[2007-08-06 12:06:56] mv at binarysec dot com
Description:
------------
Hi,
I have a thread safe problem with the true global list_destructors,
sometimes i got some messages like :
<b>Warning</b>: Unknown list entry type in request shutdown
(1882088036) in <b>Unknown</b> on line <b>0</b><br />
It happens very randomly i don't really know how to reproduce the code,
but APC looks to help to get the error.
I had a look at list_entry_destructor() zend_list.c +374 why does this
function generate this error and it looks that list_destructors isn't
thread safe.
I **need** to fix that because sometimes you could get a blank page
with APC.
Reproduce code:
---------------
none
Expected result:
----------------
none
Actual result:
--------------
<b>Warning</b>: Unknown list entry type in request shutdown
(1882088036) in <b>Unknown</b> on line <b>0</b><br />
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42220&edit=1