ID: 28350
User updated by: marco dot marinelli at halcomputers dot com
Reported By: marco dot marinelli at halcomputers dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: linux 2.4.18
PHP Version: 4.3.6
New Comment:
Here the backtrace:
(gdb) bt
#0 php_intifx_release_blob (blob=0xbf00d2bc)
at /usr/src/php/ext/informix/ifx.ec:3170
#1 0x405bcb28 in __DTOR_END__ () from /usr/lib/apache/libphp4.so
#2 0x4056fb72 in execute (op_array=0x8112544)
at /usr/src/php/Zend/zend_execute.c:1637
#3 0x40559692 in zend_execute_scripts (type=-1073753716,
retval=0x64ffd14c,
file_count=32) at /usr/src/php/Zend/zend.c:886
Previous Comments:
------------------------------------------------------------------------
[2004-05-10 23:55:38] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
[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("[EMAIL PROTECTED]","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