Bug #61704 [Asn->Csd]: Crash apache, phpinfo() threading issue
| From: | johannes@php.net | Date: | Tue, 08 May 2012 15:33:21 +0000 |
| Subject: | Bug #61704 [Asn->Csd]: Crash apache, phpinfo() threading issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170304@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61704&edit=1
ID: 61704
Updated by: johannes@php.net
Reported by: ricardo dot nuno dot rodrigues at hotmail dot com
-Summary: Crash apache
+Summary: Crash apache, phpinfo() threading issue
-Status: Assigned
+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:
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.
Previous Comments:
------------------------------------------------------------------------
[2012-05-08 15:33:03] johannes@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] johannes@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.
------------------------------------------------------------------------
[2012-05-04 23:46:20] ricardo dot nuno dot rodrigues at hotmail dot com
change to MySQL
------------------------------------------------------------------------
[2012-04-28 08:44:05] ricardo dot nuno dot rodrigues at hotmail dot com
Update -- PHP 5.4.1 stills
Update -- without ANY extension stills
Update - mysqlnd
I made another test:
1) no extensions
2) run a large number ab -n 10000 -c 20 http://127.0.0.1/phpinfo.php
3) run on the browser on SAME TIME to see what happens
Output
(interesting part & repeated to see if happen on the same point and it does &
results not change with ALL other extensions loaded):
mysqlnd
Fatal error: Nesting level too deep - recursive dependency? in
C:\xxxx\phpinfo.php on line 3
mysqlnd enabled
Version mysqlnd 5.0.10 - 20111026 - $Id:
b0b3b15c693b7f6aeb3aa66b646fee339f175e39 $
Compression supported
SSL supported
Command buffer size 8192
Read buffer size 32768
Read timeout 31536000
Collecting statistics No
Collecting memory statistics No
Tracing 0
------------------------------------------------------------------------
[2012-04-26 14:43:26] ricardo dot nuno dot rodrigues at hotmail dot com
xdebug excluded as mentioned earlier
the error doesn't change with or without xdebug
------------------------------------------------------------------------
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