Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.9

Bug #2211 Crashes Apache 2.0.50
Submitted: 2004-08-24 23:07 UTC
From: todd at magnifisites dot com Assigned:
Status: Bogus Package: Benchmark
PHP Version: 5.0.0 OS: Windows XP PRO
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 - 5 = ?

 
 [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.

Comments

 [2004-08-25 06:02 UTC] sebastian
Not a PEAR bug. Please file a PHP bug at http://bugs.php.net/.
 [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.
 [2006-12-27 04:34 UTC] cellog (Greg Beaver)
bogus