PHP 4.0 Bug #6824: Getting a core dumps when trying to free blob space
| From: | todd_benson at ao dot uscourts dot gov | Date: | Thu, 21 Sep 2000 04:47:34 +0000 |
| Subject: | PHP 4.0 Bug #6824: Getting a core dumps when trying to free blob space | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33516@lists.php.net to get a copy of this message | ||
From: todd_benson@ao.uscourts.gov
Operating system: Solaris 2.6
PHP version: 4.0.2
PHP Bug Type: Informix related
Bug description: Getting a core dumps when trying to free blob space
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 ()
(gdb)
PHP Compiled Modules
with-informix=yes --enable-track-vars --with-apache
Sample Script
<?php
$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_test_case='$test_case',defect_test_area='$test_area',defect_verified_by='$verified_by',
defect_prior_itc='$prior_itc',defect_prior_dev='$prior_dev',
defect_status_dev='$status_dev', defect_access_lvl='$access_lvl',
defect_source_mod='$source_mod'
where defect_id='$error'";
$result = ifx_query($sql,$db);
ifx_free_blob($long_desc_id);
//$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";
?>