#28350 [Opn->Fbk]: segfault on informix when select a blob column
| From: | iliaa@php.net | Date: | Mon, 10 May 2004 21:55:39 +0000 |
| Subject: | #28350 [Opn->Fbk]: segfault on informix when select a blob column | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59483@lists.php.net to get a copy of this message | ||
ID: 28350
Updated by: iliaa@php.net
Reported By: marco dot marinelli at halcomputers dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: linux 2.4.18
PHP Version: 4.3.6
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:
------------------------------------------------------------------------
[2004-05-10 17:42:58] marco dot marinelli at halcomputers dot com
Description:
------------
When submit a query on informix with a blob column, i get:
'Mon May 10 17:01:30 2004] [notice] child pid 3979 exit signal
Segmentation fault (11)' in apache.
Php version is 4.3.6, Apache 1.3.23
Informix: INFORMIX-ESQL Version 9.51.UC3
Reproduce code:
---------------
$conn_id = ifx_connect("webnegozi@lnxi2000_on","informix","informix");
#ifx_byteasvarchar(1);
#ifx_textasvarchar(1);
ifx_blobinfile_mode(0);
ifx_nullformat(1);
$res_id = ifx_query("select modello,dexmode,photo from stk_webmod where
modello = 'PANGELO'", $conn_id);
if (! $res_id) {
printf("Can't select: %s\n<br />%s<br />\n", ifx_error());
ifx_errormsg();
die;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28350&edit=1