From: pierrick at webstart dot fr Operating system: Windows XP,2003 PHP version: 5.2.6 PHP Bug Type: Reflection related Bug description: ReflectionClass make apache restart
Description: ------------ When i make an Apache Bench with more than 1 concurrency access on this peace of code it make my apache crash but just on physical windows machine (Work on Linux and Windows Virtual Machines) Here is the apache bench : ab.exe -n100 -c2 http://localhost/bug.php Reproduce code: --------------- <?php /** * FileName : bug.php */ class foo { public $a = null; public $b = null; } for($i = 0 ; $i < 20 ; $i++) { $reflection = new ReflectionClass('foo'); $reflection->getProperties(); ++$cpt; } Expected result: ---------------- No apache Crash Actual result: -------------- zend_mm_heap corrupted zend_mm_heap coError in my_thread_global_end(): 66 threads didn't exit [Fri May 23 17:22:49 2008] [notice] Parent: child process exited with status 1 -- Restarting. [Fri May 23 17:22:49 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.5 configured -- resuming normal operations [Fri May 23 17:22:49 2008] [notice] Server built: Jan 18 2008 00:37:19 [Fri May 23 17:22:49 2008] [notice] Parent: Created child process 3052 [Fri May 23 17:22:49 2008] [notice] Child 3052: Child process is running [Fri May 23 17:22:49 2008] [notice] Child 3052: Acquired the start mutex. [Fri May 23 17:22:49 2008] [notice] Child 3052: Starting 64 worker threads. [Fri May 23 17:22:49 2008] [notice] Child 3052: Starting thread to listen on port 80. -- Edit bug report at http://bugs.php.net/?id=45082&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45082&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45082&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45082&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45082&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45082&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45082&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45082&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45082&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45082&r=support Expected behavior: http://bugs.php.net/fix.php?id=45082&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45082&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45082&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45082&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45082&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45082&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45082&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45082&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45082&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45082&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45082&r=mysqlcfg