Bug #69381 [NEW]: out of memory with sage odbc driver (ok in 5.6.5)

From: Date: Sun, 05 Apr 2015 20:13:44 +0000
Subject: Bug #69381 [NEW]: out of memory with sage odbc driver (ok in 5.6.5)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191840@lists.php.net to get a copy of this message
From: JLH at Dataplan dot co dot uk Operating system: Windows 2012r2 nts PHP version: 5.6.7 Package: ODBC related Bug Type: Bug Bug description:out of memory with sage odbc driver (ok in 5.6.5) Description: ------------ On upgrading from php 5.6.5 nts (server 2012r2 64bit) to 5.6.7, our odbc_exec is no longer working. we are using the sage line 50 odbc driver to extract data from the accounts software we use. I suspect this is related to bug id 68964 Test script: --------------- c:\inetpub\php\php.exe c:\inetpub\wwwroot\sage.php sage.php contains: <?php $odbcconn=odbc_connect("SageLine50v20","user","pass"); $query=odbc_exec($odbcconn,"SELECT ACCOUNT_REF, NAME FROM sales_ledger"); ?> Expected result: ---------------- in the 5.6.5 version, the code will display no errors Actual result: -------------- in the 5.6.7 version we get: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1956365745 bytes) in C:\inetpub\wwwroot\sage.php on line 3 So i changed the memory limit from 512M to 3G to see what would happen: PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 1956365745 bytes) in C:\inetpub\wwwroot\sage.php on line 3 -- Edit bug report at https://bugs.php.net/bug.php?id=69381&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69381&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69381&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69381&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69381&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69381&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69381&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69381&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69381&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69381&r=support Expected behavior: https://bugs.php.net/fix.php?id=69381&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69381&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69381&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69381&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69381&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69381&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69381&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69381&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69381&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69381&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69381&r=mysqlcfg

« previous php.bugs (#191840) next »