ID: 37438
Updated by: [email][/email]
Reported By: indeyets at gmail dot com
Status: Bogus
Bug Type: PDO related
Operating System: FreeBSD
PHP Version: 5.1.4
New Comment:

This appears to be a bug related to the Primary Key. I experienced the
issue with a table that had an integer primary key (non auto inc) and
PHP would segfault if the table had a row who's PK == 0. Deleting the
row solved the problem

Previous Comments:

[2006-05-15 10:04:52] [email][/email]

See #37445 for more info.


[2006-05-14 16:22:19] [email][/email]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.


[2006-05-14 16:15:40] indeyets at gmail dot com

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

The issue was originally mentioned here:

reverting this patch solves the issue:

Actual result:
#0 0x2908180a in mysql_more_results () from
#1 0x29064c4c in pdo_mysql_stmt_dtor (stmt=0x8743124) at
#2 0x29022bee in free_statement (stmt=0x8743124) at
#3 0x29022c63 in pdo_dbstmt_free_storage (stmt=0x8743124) at
#4 0x28740a46 in ?? () from /usr/local/libexec/apache22/


Edit this bug report at [url][/url]