Home » Benchmarking » Benchmark » Bug #2211
Crashes Apache 2.0.50
Details
| Submitted | 2004-08-24 23:07 UTC |
|---|---|
| From | todd at magnifisites dot com |
| Status | Bogus |
| Package | Benchmark |
| PHP Version | 5.0.0 |
| OS | Windows XP PRO |
| Roadmaps | (Not assigned) |
Comments
[2004-08-24 23:07 UTC] todd at magnifisites dot com
Description:
------------
Using the timer_example.php sample script provided, the bcsub routine fails every time at line 231 of Benchmark/Timer.php
$diff = bcsub($time, $temp, 6);
I debugged the crash to see what was up and traced it all the way back to this single line. If I exit the script (function) at this point, no crash of the server. If I let it go beyond this particular line, it crashes Apache on this line. Something to do with bcsub() on Windows, perhaps? I wish I had more time to troubleshoot this right now, but I don't. It's a simple, standard WAMP setup.
Regards,
Todd
Reproduce code:
---------------
Used the example script provided by the author.
Expected result:
----------------
Unknown.
Actual result:
--------------
Crashes Apache server.
[2004-08-25 20:50 UTC] todd at magnifisites dot com
Yes, my apologies, you are correct. Feel free to remove this entry.
[2004-08-25 21:00 UTC] todd at magnifisites dot com
Yes, my apologies, you are correct and a bug has already been reported at http://bugs.php.net/bug.php?id=27759
Feel free to remove this entry.