| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2004-05-10 17:42 UTC] 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;
}
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 11:00:01 2025 UTC | 
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