Bug #70286 [Fbk->NoF]: double free or corruption (out)

From: Date: Sun, 11 Oct 2020 04:22:14 +0000
Subject: Bug #70286 [Fbk->NoF]: double free or corruption (out)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229529@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70286&edit=1 ID: 70286 Updated by: php-bugs@lists.php.net Reported by: vanhoof dot bob at telenet dot be Summary: double free or corruption (out) -Status: Feedback +Status: No Feedback Type: Bug Package: PDO ODBC Operating System: Linux PHP Version: 5.6.12 Assigned To: cmb Private report: N 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 "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-09-28 15:42:18] cmb@php.net I cannot reproduce this with PHP 7.3 and and the Microsoft Access Driver. If you can still reproduce this with any of the actively supported PHP versions[1], then please provide an ODBC trace for the given test script. [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2015-08-17 18:02:28] vanhoof dot bob at telenet dot be Description: ------------ Had this corruption error from a far more complicated php page as part of a webshop-in-development. Narrowed it down to this. Note: I only get a core crash when asking doubles from the database. I can retrieve normal text, currencies, dates,... Connecting to the database or querying it does not give any core crash. Only the fetch() or fetchAll(), etc. give the core crash and only for doubles... results from running the php-script: -- $ php test3.php Array ( [arStkReel] => 5.0000000000000000e+00 [0] => 5.0000000000000000e+00 ) made it!*** Error in `php': double free or corruption (out): 0x08f86650 *** Aborted (core dumped) -- runnig gc_collect_cycles(); or unset($row); or var_dump($row); or $row = array(); don't solve the problem. Test script: --------------- <?php // init database conn. $path = "/var/www"; $dbName = $path . "/ll2/access/ll.mdb"; if (!file_exists($dbName)) { die("Could not find database file."); } $dbh = new PDO ("odbc:Driver=MDBTools; DBQ=$dbName;"); // $stmt is an array with two doubles in it $stmt = $dbh->query("SELECT arStkReel FROM Article"); $row = $stmt->fetch(); // row is printed print_r($row); echo "made it!"; ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70286&edit=1

« previous php.bugs (#229529) next »