Edit report at https://bugs.php.net/bug.php?id=61411&edit=1
ID: 61411 Comment by: don at smugmug dot com Reported by: julien at palard dot fr Summary: PDO Segfaults with PERSISTENT == TRUE && EMULATE_PREPARES == FALSE Status: Re-Opened Type: Bug Package: PDO related Operating System: Linux 2.6.32-5-amd64 PHP Version: 5.4.0 Assigned To: uw Block user comment: N Private report: N New Comment: FWIW, 5.3.3 segfaults like this, but 5.3.2 doesn't. I spot-checked a handful of other versions up to .21 and they all segfaulted as well. Previous Comments: ------------------------------------------------------------------------ [2013-01-18 01:07:03] don at smugmug dot com I can reproduce this in 5.4.10 and 5.4.4, FWIW. ------------------------------------------------------------------------ [2013-01-08 17:48:23] ras...@php.net I can still reproduce this in PHP 5.4.12-dev built today. ------------------------------------------------------------------------ [2013-01-08 12:18:49] johan...@php.net Related To: Bug #53716 ------------------------------------------------------------------------ [2012-05-04 08:56:52] u...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. http://news.php.net/php.cvs/68917 ------------------------------------------------------------------------ [2012-05-02 09:14:42] u...@php.net Andrey, do you think we should mnd_p*alloc(.., .., stmt->persistent) here? http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_ps.c?annotate=321634 1624 if (!stmt->result_bind) { 1625 andrey 289028 stmt->result_bind = mnd_ecalloc(stmt->field_count, sizeof(MYSQLND_RESULT_BIND)); 1626 andrey 258383 } else { 1627 andrey 289028 stmt->result_bind = mnd_erealloc(stmt->result_bind, stmt->field_count * sizeof(MYSQLND_RESULT_BIND)); 1628 andrey 258383 } ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61411 -- Edit this bug report at https://bugs.php.net/bug.php?id=61411&edit=1