#29847 [NEW]: bcsqrt crashes - problem reproducable

From: Date: Thu, 26 Aug 2004 10:52:13 +0000
Subject: #29847 [NEW]: bcsqrt crashes - problem reproducable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65270@lists.php.net to get a copy of this message
From: aliendesaster at hotmail dot com Operating system: WinXP PHP version: 5.0.1 PHP Bug Type: BC math related Bug description: bcsqrt crashes - problem reproducable Description: ------------ It´s simple: bcsqrt doesn´t work at all, it´s always causing a crash unlike sqrt, which works! I dunno if bcsqrt working in other php version. I´m installed the php 5.01 win-binary version (zip) from php.net. Reproduce code: --------------- <?PHP bcscale(32); echo bcsqrt('45.0'); //causes crash ?> or <?PHP bcscale(32); echo bcsqrt(45.0); //causes crash too ?> or <?PHP bcscale(32); echo bcsqrt(45); //always crashing, yeah ?> Expected result: ---------------- result should be similar to what sqrt(45) returns. Actual result: -------------- A nice reproducable crash in apache: AppName: apache.exe AppVer: 2.0.47.0 ModName: php5ts.dll ModVer: 5.0.0.0 Offset: 0008238f -- Edit bug report at http://bugs.php.net/?id=29847&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29847&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29847&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29847&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29847&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29847&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29847&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29847&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29847&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29847&r=support Expected behavior: http://bugs.php.net/fix.php?id=29847&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29847&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29847&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29847&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29847&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29847&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29847&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29847&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29847&r=float

« previous php.bugs (#65270) next »