From: Operating system: Win7 Ultimate x64 PHP version: 5.3.5 Package: MySQL related Bug Type: Bug Bug description:calling round() with mysql 5.5.8 query derived variables causes php to crash
Description: ------------ using 32bit php 5.3.5 fastCGI under windows 7 ultimate x64, if i create an odbc connection to my 32bit mdx standalone sequiter codebase with largefile support activated ( dbase derived database ) driver then not only does my php script run slow, subsequent mysql queries return values that when passed to the php round( .., 2) function, cause php to crash and iis7 returns its default 'http error 500 ' page. if i dont create an odbc connection, php runs fine. if i use microsofts default dbase ( 32bit ) odbc driver instead, php runs fine ... sounds like codebase odbc driver is corrupting php memory. is this possible ? unfortunately i cant use microsofts dbase driver to write to codebase style dbase files because it mangles the codebase index files. Test script: --------------- this is too complicated. to describe installing codebase on win x64, 32 bit php on win x64 and creating the mysql data and query will take ages ! Expected result: ---------------- the default iis7 error 500 page is generateD : ... <title>500 - Internal server error.</title> ... -- Edit bug report at http://bugs.php.net/bug.php?id=54219&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54219&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54219&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54219&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54219&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54219&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54219&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54219&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54219&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54219&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54219&r=support Expected behavior: http://bugs.php.net/fix.php?id=54219&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54219&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54219&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54219&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54219&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54219&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54219&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54219&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54219&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54219&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54219&r=mysqlcfg