From: indeyets at gmail dot com Operating system: FreeBSD PHP version: 5.1.4 PHP Bug Type: PDO related Bug description: PDO_MySQL segfaults Apache child
Description: ------------ After upgrading from 5.1.2 to 5.1.4 apache childs began to segfault at some requests. Backtrace showed, that the problem lies inside of PDO_MySQL. The issue was originally mentioned here: http://pecl.php.net/bugs/bug.php?id=7433 reverting this patch solves the issue: http://cvs.php.net/viewcvs.cgi/php-src/ext/pdo_mysql/mysql_statement.c?r1=1.48.2.12&r2=1.48.2.13 Actual result: -------------- #0 0x2908180a in mysql_more_results () from /usr/local/lib/mysql/libmysqlclient.so.15 #1 0x29064c4c in pdo_mysql_stmt_dtor (stmt=0x8743124) at /usr/ports/lang/php5/work/php-5.1.4/ext/pdo_mysql/mysql_statement.c:79 #2 0x29022bee in free_statement (stmt=0x8743124) at /usr/ports/lang/php5/work/php-5.1.4/ext/pdo/pdo_stmt.c:2200 #3 0x29022c63 in pdo_dbstmt_free_storage (stmt=0x8743124) at /usr/ports/lang/php5/work/php-5.1.4/ext/pdo/pdo_stmt.c:2245 #4 0x28740a46 in ?? () from /usr/local/libexec/apache22/libphp5.so -- Edit bug report at http://bugs.php.net/?id=37438&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37438&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37438&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37438&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37438&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37438&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37438&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37438&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37438&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37438&r=support Expected behavior: http://bugs.php.net/fix.php?id=37438&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37438&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37438&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37438&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37438&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37438&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37438&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37438&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37438&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37438&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37438&r=mysqlcfg