|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6824 Getting a core dumps when trying to free blob space
Submitted: 2000-09-21 00:47 UTC Modified: 2000-12-07 11:39 UTC
From: todd_benson at ao dot uscourts dot gov Assigned: danny (profile)
Status: Closed Package: Informix related
PHP Version: 4.0.2 OS: Solaris 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: todd_benson at ao dot uscourts dot gov
New email:
PHP Version: OS:


 [2000-09-21 00:47 UTC] todd_benson at ao dot uscourts dot gov
GDB Info
Program received signal SIGSEGV, Segmentation fault.
0x807df3c in php_if_ifx_free_blob ()
(gdb) bt
#0  0x807df3c in php_if_ifx_free_blob ()
#1  0x807defb in php_if_ifx_free_blob ()
#2  0x8107d24 in execute ()
#3  0x80dd3c0 in zend_execute_scripts ()
#4  0x80707d0 in php_execute_script ()
#5  0x80e80ed in apache_php_module_main ()
#6  0x806e1b6 in send_php ()
#7  0x806e1e8 in send_parsed_php ()
#8  0x8129a93 in ap_invoke_handler ()
#9  0x813d041 in ap_some_auth_required ()
#10 0x813d0a0 in ap_process_request ()
#11 0x8134685 in ap_child_terminate ()
#12 0x813481c in ap_child_terminate ()
#13 0x8134977 in ap_child_terminate ()
#14 0x8134f68 in ap_child_terminate ()
#15 0x81357c7 in main ()
#16 0x806d62f in _start ()

PHP Compiled Modules
with-informix=yes --enable-track-vars --with-apache

Sample Script

		    	$db = ifx_connect("defect@defectdb","informix","in4mix");

 			$sql = "update defect$test set defect_assigned_to='$assigned_to', defect_class='$class' ,defect_module_id='$module_id',
				  defect_custom='$custom', defect_status='$status', defect_priority='$priority' ,defect_short_desc='$short_desc',
				  defect_status_dev='$status_dev', defect_access_lvl='$access_lvl', defect_source_mod='$source_mod' 
			        where defect_id='$error'";
			$result = ifx_query($sql,$db);
			//$textid = ifx_create_blob(0, 0, "$long_desc" );
			//$blobidarray[] = $textid;
			//$query = "insert into  defect$test (defect_long_desc) values (?) where defect_id='$error'";
			//$result = ifx_query($query, $db, $blobidarray); 
echo "This is done";



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-01 23:12 UTC]
Can you provide me with the exact version of your Informix 
client esql/c library (esql -V) ? 

The Informix driver contains a work-around for a bug in 
certain versions of the Informix ESQL/C library when 
freeing blobs.

Also, in your example, is it the first ifx_free_blob() that 
crashes ? And if it is the first one, where has it been 
created ? Or is it the second one that has been patched out ?

 [2000-12-07 11:39 UTC]
Reopen, if this still happens when using latest snapshot

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 18:01:28 2024 UTC