#34623 [Opn->Fbk]: Segfault when selecting 'text' field with pdo/mysql
| From: | tony2001@php.net | Date: | Sat, 24 Sep 2005 09:44:50 +0000 |
| Subject: | #34623 [Opn->Fbk]: Segfault when selecting 'text' field with pdo/mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85527@lists.php.net to get a copy of this message | ||
ID: 34623
Updated by: tony2001@php.net
Reported By: stewey at ambitious dot ca
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Mac OS X 10.4.2
PHP Version: 5.1.0RC1
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-09-24 06:03:28] stewey at ambitious dot ca
Description:
------------
Selecting a text field using PDO and the PDO MySQL driver
intermittently causes a seg fault. Occurs roughly one out of
two times. If I don't select the text field, it runs fine.
Possibly related to Bug #33533.
Reproduce code:
---------------
$PDO = new PDO(
"mysql:dbname=test;host=127.0.0.1",
'user', 'pass' );
$statement = $PDO->prepare("select * from table");
$statement->execute();
$rows = $statement->fetchAll( PDO_FETCH_ASSOC );
print_r($rows);
exit;
Expected result:
----------------
All columns of all rows of the table.
Actual result:
--------------
[Fri Sep 23 20:55:10 2005] [notice] child pid 12721 exit
signal Segmentation fault (11)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34623&edit=1