ID:               50551
 Updated by:       [email protected]
 Reported By:      r dot badding at gmail dot com
 Status:           Feedback
 Bug Type:         mbstring related
 Operating System: Windows XP
 PHP Version:      5.2.12
 New Comment:

And regarding the password, you can find the password reminder link on
the "Edit Submission" tab..


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

[2009-12-22 09:05:06] [email protected]

Please define "crash" ? Aren't you just running out of stack or
memory..? FYI: There is no crash on *nix..

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

[2009-12-22 00:57:43] r dot badding at gmail dot com

Also I used these
Apache/2.0.63 (Win32) 
Server API      Apache 2.0 Handler

(cannot edit this bug submission, "incorrect password")

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

[2009-12-22 00:45:42] r dot badding at gmail dot com

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

enabled, "recommended" ini file.

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

[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