Bug #54219 [Opn->Fbk]: calling round() with mysql 5.5.8 query derived variables causes php to crash
Edit report at http://bugs.php.net/bug.php?id=54219&edit=1
ID: 54219
Updated by: aharvey@php.net
Reported by: barny dot s at virgin dot net
Summary: calling round() with mysql 5.5.8 query derived
variables causes php to crash
-Status: Open
+Status: Feedback
Type: Bug
-Package: MySQL related
+Package: ODBC related
Operating System: Win7 Ultimate x64
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
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
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
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.
Previous Comments:
------------------------------------------------------------------------
[2011-03-11 02:38:21] barny dot s at virgin dot net
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 this bug report at http://bugs.php.net/bug.php?id=54219&edit=1
Thread (3 messages)