Bug #60699 [NEW]: mysqli_init() crashes under high concurrency
From:
Operating system: Windows 7
PHP version: 5.4.0RC5
Package: MySQLi related
Bug Type: Bug
Bug description:mysqli_init() crashes under high concurrency
Description:
------------
Calling purely mysqli_init() crashes PHP under high concurrency.
Using VC9 x86 Thread Safe (2012-Jan-06 02:06:02) build of PHP 5.4.0RC5.
Using Apache HTTPd 2.2.21.0.
Using ab (apache benchmark) tool to simulate high loads: "ab -c 30 -n 2000
http://localhost:8080/index.php".
PHP installed as module.
Test script:
---------------
mysqli_init();
Expected result:
----------------
No crash
Actual result:
--------------
Crash
--
Edit bug report at https://bugs.php.net/bug.php?id=60699&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60699&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60699&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60699&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60699&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60699&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60699&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60699&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60699&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60699&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60699&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60699&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60699&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60699&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60699&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60699&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60699&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60699&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60699&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60699&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60699&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60699&r=mysqlcfg
Thread (8 messages)
- ninzya at inbox dot lv