Bug #55334 [Com]: MySQLi make mod_php crash on stress test
| From: | mattficken@php.net | Date: | Fri, 09 Mar 2012 19:03:14 +0000 |
| Subject: | Bug #55334 [Com]: MySQLi make mod_php crash on stress test | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168312@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55334&edit=1
ID: 55334
Comment by: mattficken@php.net
Reported by: bruno at chalopin dot fr
Summary: MySQLi make mod_php crash on stress test
Status: Assigned
Type: Bug
Package: MySQLi related
Operating System: Windows 2008r2 x64
PHP Version: 5.3.7RC4
Assigned To: mattficken
Block user comment: N
Private report: N
New Comment:
Using 5_3 r324027, with Apache 2.2 on Windows 2008r2sp0, I can no longer reproduce this bug.
I think this bug is fixed.
Previous Comments:
------------------------------------------------------------------------
[2012-03-09 09:52:00] johannes@php.net
For 5.3 please use svn snaps. Can you share more details on the test you're doing and the
effects you see?
------------------------------------------------------------------------
[2012-03-09 00:02:45] mattficken@php.net
Using apache bench locally, I can reproduce this bug on php 5.3.10 and php 5.4.0 using just mysqli.
------------------------------------------------------------------------
[2012-03-08 13:08:19] johannes@php.net
13:58 <@johannes> Pierre: can you check 5.3 in your stress tests regarding 55334? On Linux and
Solaris I can't hit it in threaded context anymore. 5.4/trunk seems to be fixed by
dmitry's property refactoring work (svn r299692)
14:05 <@Pierre> johannes, add a comment to the bug and assign it to matt.
------------------------------------------------------------------------
[2012-03-08 12:55:25] johannes@php.net
Seems like this was a bug from very old times in mysqli. I've applied a fix to PHP_5_3 and
couldn't trigger an issue anymore with lots of concurrency over a longer period.
A fix for 5.4 and trunk is not needed as the code had been refactored before. Please run your tests,
too.
------------------------------------------------------------------------
[2012-03-08 12:52:03] johannes@php.net
Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=324022
Log: Use correct property ctor, should fix threading issue in bug #55334
# The code was refactored in 5_4/trunk, no need to merge
------------------------------------------------------------------------
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=55334
--
Edit this bug report at https://bugs.php.net/bug.php?id=55334&edit=1