From:             marco dot marinelli at halcomputers dot com
Operating system: linux 2.4.18
PHP version:      4.3.6
PHP Bug Type:     Reproducible crash
Bug description:  segfault on informix when select a blob column

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 bug report at http://bugs.php.net/?id=28350&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28350&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28350&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28350&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28350&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28350&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28350&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28350&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28350&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28350&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28350&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28350&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28350&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28350&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28350&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28350&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28350&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28350&r=float

Reply via email to