Bug #54219 [Fbk->NoF]: calling round() with mysql 5.5.8 query derived variables causes php to crash

From: Date: Mon, 18 Feb 2013 00:34:45 +0000
Subject: Bug #54219 [Fbk->NoF]: calling round() with mysql 5.5.8 query derived variables causes php to crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176974@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54219&edit=1

 ID:               54219
 Updated by:       php-bugs@lists.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:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          ODBC related
 Operating System: Win7 Ultimate x64
 PHP Version:      5.3.5

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2011-03-11 04:48:26] aharvey@php.net

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.



------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=54219&edit=1


Thread (3 messages)

« previous php.bugs (#176974) next »