ID:               45082
 User updated by:  pierrick at webstart dot fr
 Reported By:      pierrick at webstart dot fr
-Status:           Feedback
+Status:           Open
 Bug Type:         Reflection related
 Operating System: Windows XP,2003
 PHP Version:      5.2.6
 New Comment:

I just try with the CVS snapshot and there's the same problem.


Previous Comments:
------------------------------------------------------------------------

[2008-05-25 18:32:49] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2008-05-23 21:50:41] pierrick at webstart dot fr

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 this bug report at http://bugs.php.net/?id=45082&edit=1

Reply via email to