Date: 05/05/00
- Next message: Randy Jonasz: "Re: [PHP-DEV] CLASS Problem"
- Previous message: Faisal Nasim: "Re: [PHP-DEV] Question about Cookies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: daniel.lashua <email protected>
Operating system: Digital Unix 4.0F Linux 2.2.13
PHP version: 3.0.16
PHP Bug Type: Reproduceable crash
Bug description: Informix ifx_get_blob() causes SIGSEGV in Apache 1.3.9
Reference the following code:
$values_id = ifx_query($stmt_get, $dbcon);
ifx_textasvarchar(0);
ifx_blobinfile_mode(0);
$data =ifx_fetch_row($values_id);
$db_hubclli=$data["hub_clli"];
$db_sub_clli=$data["clli_code"];
$db_sfac=$data["sfac"];
$db_code=$data["code"];
$db_name=$data["name"];
$notes_id=$data["notes"];
$db_ri= $data["ri"];
$db_notes = ifx_get_blob($notes_id);
ifx_free_blob($notes_id);
ifx_free_result($values_id);
The "ifx_get_blob" function causes Apache to SIGSEGV on more than one
platform. The server product is Informix Online Server 7.24.FC6. The
Informix Client Libraries are version 7.20. Apache version is 1.3.9. PHP
version is 3.0.16. This occurs on both the Digital Unix 4.0F operating
system running on Digital hardware (DS20) and on Linux 2.2.13.
>From the Linux box, here is the output of gdb:
(gdb) run
Starting program: /usr/local/apache/bin/./httpd -D TEST -X
Program received signal SIGSEGV, Segmentation fault.
0x2ad37c2f in php3_intifxus_new_slob (list=0x0) at functions/ifx.ec:4563
4563 if(Ifx_slob==NULL) {
(gdb) continue
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
The SIGSEGV is received when the above code snippet is accessed via web
browser.
Program received signal SIGSEGV, Segmentation fault.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Randy Jonasz: "Re: [PHP-DEV] CLASS Problem"
- Previous message: Faisal Nasim: "Re: [PHP-DEV] Question about Cookies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

