|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54219 calling round() with mysql 5.5.8 query derived variables causes php to crash
Submitted: 2011-03-11 02:38 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: barny dot s at virgin dot net Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 5.3.5 OS: Win7 Ultimate x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-03-11 02:38 UTC] barny dot s at virgin dot net
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>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-11 04:48 UTC]
-Status: Open +Status: Feedback -Package: MySQL related +Package: ODBC related
 [2011-03-11 04:48 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read for *NIX and for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 08:01:28 2024 UTC