php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35573 SELECT query which retrieves BLOB data causes php engine crashes.
Submitted: 2005-12-06 19:07 UTC Modified: 2005-12-16 01:00 UTC
Votes:5
Avg. Score:4.4 ± 0.8
Reproduced:4 of 5 (80.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: zkoumalek at seznam dot cz Assigned:
Status: No Feedback Package: Informix related
PHP Version: 5.1.1 OS: Windows XP Prof.
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zkoumalek at seznam dot cz
New email:
PHP Version: OS:

 

 [2005-12-06 19:07 UTC] zkoumalek at seznam dot cz
Description:
------------
I have Informix server version 9.4 on my computer with Windows XP prof and PHP 5.1.1 with ESQL/C Version 9.21. I tried the latest php snapshot with the same result. When I want to retrieve BLOB data from Informix database, my php engine crashes. The problem is with ifx_query() function. When I want to retrieve non BLOB data, everything work perfectly.

Reproduce code:
---------------
$con = ifx_pconnect( "test@myserver", "user", "password" );
echo $con;
$res = ifx_query( "SELECT test_blob FROM test_table", $con );
echo $res;

Expected result:
----------------
$con != NULL;
$res != NULL;

Actual result:
--------------
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Php engine crashes and I can see, that there is some problem in ModName: php_ifx.dll.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-06 23:00 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2005-12-08 14:26 UTC] zkoumalek at seznam dot cz
I tried the latest version with the same result. When I want to retrieve blob data from database, php engine crashes.
 [2005-12-08 17:12 UTC] sniper@php.net
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.


 [2005-12-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-11-12 08:09 UTC] jamal8t2 at yahoo dot com
your manual is very informative
 [2007-11-12 08:14 UTC] jamal8t2 at yahoo dot com
I hava php4.3 and apache web server i want to use blob data to show images on browser.
I have store blob data in the data base but the Question is now that how i can read blob data from the data base.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 02 19:01:29 2024 UTC