ID:               50551
 Comment by:       r dot badding at gmail dot com
 Reported By:      r dot badding at gmail dot com
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows XP
 PHP Version:      5.2.12
 New Comment:

I used a "clean" install, thread safe package. only mbstring extension

enabled, "recommended" ini file.


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

[2009-12-22 00:37:19] r dot badding at gmail dot com

Description:
------------
When I make two request to the attached php file, in close proximity
(so 
that the requests run at the same time), PHP crashes every time.

If I modify the php file so that there are two mb_ereg calls, instead
of 
one mb_ereg + one mb_eregi, I seem to get no crashes.

Reproduce code:
---------------
<?

        for ($i = 0; $i < 5000000; $i++)
        {
                mb_ereg("searching", "some text some text");
                mb_eregi("searching", "some text some text");
        }

?>

Expected result:
----------------
No crashes.

Actual result:
--------------
Crash.


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


-- 
Edit this bug report at http://bugs.php.net/?id=50551&edit=1

Reply via email to