#28838 [NEW]: bcmod aborts with Access Violation

From: Date: Fri, 18 Jun 2004 19:47:05 +0000
Subject: #28838 [NEW]: bcmod aborts with Access Violation
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61084@lists.php.net to get a copy of this message
From: steve dot gilbreth at autodesk dot com Operating system: Windows 2000 PHP version: 5.0.0RC3 PHP Bug Type: BC math related Bug description: bcmod aborts with Access Violation Description: ------------ The bcmod function aborts with an Access Violation: PHP has encountered an Access Violation at 01E22BAB Running Windows 200 server with IIS 5.0 in ISAPI Reproduce code: --------------- In the following code sample if $flip = 0 then we crash and burn. if (bcmod($flip, 2) == "0") { //do stuff } Actual result: -------------- PHP has encountered an Access Violation at 01E22BAB -- Edit bug report at http://bugs.php.net/?id=28838&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28838&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28838&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28838&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28838&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28838&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28838&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28838&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28838&r=support Expected behavior: http://bugs.php.net/fix.php?id=28838&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28838&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28838&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28838&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28838&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28838&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28838&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28838&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28838&r=float

« previous php.bugs (#61084) next »