From: psychosos at gmx dot at Operating system: Windows 2000 Professional PHP version: 4.3.2 PHP Bug Type: ODBC related Bug description: odbc_result_all crashes on some results
Description: ------------ If I use odbc_result_all() with a result which has around 75 rows or more it crashes with an Application Error (The instruction at "0x1000ede5" referenced memory at "0x000000ae". The memory could not be "read". Unfortunately this only happens to me with one table and only if I retrieve longer fields (for example it only crashes when trying to retrieve a longer character field, not with my ID or a short string field) (I am sorry about this unexact bug report. If you can give me any hints how to be more helpful - please do so!) Reproduce code: --------------- <?php $connection = odbc_connect("Albumsliste","",""); $result = odbc_exec($connection, "SELECT * FROM Kommentare;"); $count = odbc_result_all($result); echo "\nResult count: $count\n"; odbc_free_result($result); odbc_close($connection); ?> Expected result: ---------------- The code should output all the fields from the table named "Kommentare". Actual result: -------------- PHP crashes with an Application Error (The instruction at "0x1000ede5" referenced memory at "0x000000ae". The memory could not be "read".) -- Edit bug report at http://bugs.php.net/?id=24718&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24718&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24718&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24718&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24718&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24718&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24718&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24718&r=support Expected behavior: http://bugs.php.net/fix.php?id=24718&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24718&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24718&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24718&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24718&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24718&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24718&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24718&r=gnused