#42220 [Opn->Fbk]: thread safe problem with the true global list_destructors
| From: | jani@php.net | Date: | Thu, 16 Aug 2007 11:55:54 +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-116169@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:
You need to provide better information how we can reproduce this.
If you don't even use APC why did you even mention it??!
Some code with which it happens and such..it's not necessarily even any
thread-safe issue..
Previous Comments:
------------------------------------------------------------------------
[2007-08-12 17:41:55] mv at binarysec dot com
There is no php.ini defined, i used Apache 2.2.3 -worker- + PHP_5_2 as
a module (cvs).
In fact i have saw the problem 2 times on a core 2 duo and many times
on my quad core which i used to develope.
I use nikto & curl to load the server.
Have fun ;)
------------------------------------------------------------------------
[2007-08-12 14:13:42] jani@php.net
And you didn't mention anything about how you've configured PHP and
under what webserver you're using it..
------------------------------------------------------------------------
[2007-08-12 14:13:05] jani@php.net
The question is: Do you get it at all when APC is NOT loaded?
------------------------------------------------------------------------
[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