ID: 15419
Comment by: fmatiksohel at yahoo dot co dot in
Reported By: p dot grabowski at firma dot 2p dot pl
Status: Closed
Bug Type: InterBase related
Operating System: linux red hat
PHP Version: 4.1.1
Assigned To: daniela
New Comment:
my linux system gave me following massages when i want to install
iptraf-2.7.0-6
error: failed dependencies
libc.so.6(GLIBC_2.3) is needed by iptraf-2.7.0-6
Previous Comments:
------------------------------------------------------------------------
[2002-04-04 03:09:04] [EMAIL PROTECTED]
Fixed in today CVS (4.3.0-dev).
------------------------------------------------------------------------
[2002-04-02 16:32:27] dbadmin at avenet dot stw dot uni-erlangen dot de
BUG 14558 seems to be the like this one. the solution to first call
ibase_free_result before ibase_close solves bug 14558!
But it would be good to mention this fact in the php-interbase-docu
that you must not call ibase_close without ibase_free_result
------------------------------------------------------------------------
[2002-03-25 03:41:39] [EMAIL PROTECTED]
change status in analyzed
------------------------------------------------------------------------
[2002-03-24 12:47:25] [EMAIL PROTECTED]
The ibase_connect() create a connection that will be close
automatically at the end of your script.
If you want to end it "manually" you have to 'free' the query too.
Try this :
......
ibase_free_result($q);
ibase_close($dbc1);
------------------------------------------------------------------------
[2002-03-12 14:00:13] haystd at myrealbox dot com
I can reproduce this as well. All is fine if the ibase_close call is
removed. It is a "Segmentation Fault" according to the Apache
error_log. (Could this be related to BUG 15940?) Here is the debugging
info:
Program received signal SIGSEGV, Segmentation fault.
0x4019c07c in memcpy () from /lib/i686/libc.so.6
#0 0x4019c07c in memcpy () from /lib/i686/libc.so.6
#1 0x00000018 in ?? ()
#2 0x4003e564 in gds__msg_format () from /opt/interbase/lib/libgds.so
#3 0x4003e1c8 in gds__interprete () from /opt/interbase/lib/libgds.so
#4 0x40038ab3 in isc_interprete () from /opt/interbase/lib/libgds.so
#5 0x0808315a in _php_ibase_error () at interbase.c:268
#6 0x08083477 in _php_ibase_free_result (rsrc=0x82151a4) at
interbase.c:388
#7 0x081214f7 in list_entry_destructor (ptr=0x82151a4) at
zend_list.c:177
#8 0x0811f775 in zend_hash_del_key_or_index (ht=0x81c8e64, arKey=0x0,
nKeyLength=0, h=2, flag=1) at zend_hash.c:512
#9 0x08121281 in _zend_list_delete (id=2) at zend_list.c:56
#10 0x0811906d in _zval_dtor (zvalue=0x8215164,
__zend_filename=0x8191cdc "zend_execute_API.c", __zend_lineno=274)
at zend_variables.c:64
#11 0x08110e4a in _zval_ptr_dtor (zval_ptr=0x8215910,
__zend_filename=0x81925b3 "zend_variables.c", __zend_lineno=192)
at zend_execute_API.c:274
#12 0x0811939f in _zval_ptr_dtor_wrapper (zval_ptr=0x8215910)
at zend_variables.c:192
#13 0x0811f895 in zend_hash_destroy (ht=0x81c8d48) at zend_hash.c:541
#14 0x08110b4a in shutdown_executor () at zend_execute_API.c:173
#15 0x0811a1aa in zend_deactivate () at zend.c:600
#16 0x0807acdc in php_request_shutdown (dummy=0x0) at main.c:735
#17 0x08125c5a in apache_php_module_main (r=0x820859c,
display_source_mode=0)
at sapi_apache.c:96
#18 0x0807843c in send_php ()
#19 0x08078495 in send_parsed_php ()
#20 0x081471e3 in ap_invoke_handler ()
#21 0x0815b3c3 in process_request_internal ()
#22 0x0815b424 in ap_process_request ()
#23 0x0815288d in child_main ()
#24 0x08152a38 in make_child ()
#25 0x08152bac in startup_children ()
#26 0x08153224 in standalone_main ()
#27 0x08153a77 in main ()
#28 0x4012f627 in __libc_start_main (main=0x81536e0 <main>, argc=2,
ubp_av=0xbffffb94, init=0x8060014 <_init>, fini=0x8169c00 <_fini>,
rtld_fini=0x4000dcc4 <_dl_fini>, stack_end=0xbffffb8c)
at ../sysdeps/generic/libc-start.c:129
PHP configured with:
./configure --without-mysql --with-apache=../apache_1.3.22/
--enable-track-vars --with-interbase=/opt/interbase --enable-debug
Apache configured with:
./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a
Firebase version: FirebirdSS-1.0.0.681-0.RC2
OS: RedHat 7.2 (Intel)
Kernel: 2.4.17 (from kernel.org no patches)
Libc: 2.2.4
GCC: 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
PHP: 4.1.2
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15419
--
Edit this bug report at http://bugs.php.net/?id=15419&edit=1