|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57254 Segmentation fault
Submitted: 2006-09-21 09:52 UTC Modified: 2007-05-22 15:16 UTC
From: jeff dot diademi at gmail dot com Assigned:
Status: No Feedback Package: PDO_INFORMIX (PECL)
PHP Version: 5.1.6 OS: Suse 9.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jeff dot diademi at gmail dot com
New email:
PHP Version: OS:


 [2006-09-21 09:52 UTC] jeff dot diademi at gmail dot com
If there is NO sbspace configured in Informix Dynamic Server

When inserting a blob in a table the following code produce a segmentation fault.

Reproduce code:
$query = "insert into doc (data) values (?)";
$stmt = $dbh->prepare($query);

$file = "/etc/motd";
$fp = fopen($file,'rb');

$content = fread($fp, filesize($file));

$stmt->bindParam(1, $content, PDO::PARAM_LOB);


Expected result:
Fatal error: Uncaught exception 'PDOStatement' with message 'SQLSTATE=xxxx  ...'

Actual result:
Seg fault.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-12 11:41 UTC] manas at us dot ibm dot com
Hi Jeff,
   What version of CSDK are you using? Can you try verifying this with the latest CSDK?. You can download it from

 [2007-04-12 16:05 UTC] kfbombar at us dot ibm dot com
Awaiting feedback
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Oct 06 07:05:52 2022 UTC