From:             stewey at ambitious dot ca
Operating system: Mac OS X 10.4.2
PHP version:      5.1.0RC1
PHP Bug Type:     PDO related
Bug description:  Segfault when selecting 'text' field with pdo/mysql

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 bug report at http://bugs.php.net/?id=34623&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34623&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34623&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34623&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34623&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34623&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34623&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34623&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34623&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34623&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34623&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34623&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34623&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34623&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34623&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34623&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34623&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34623&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34623&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34623&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34623&r=mysqlcfg

Reply via email to