Bug #15419 Updated: ibase_close problem
| From: | markus at colorplaza dot com | Date: | Thu, 14 Feb 2002 11:52:06 +0000 |
| Subject: | Bug #15419 Updated: ibase_close problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-304@lists.php.net to get a copy of this message | ||
ID: 15419
Updated by: markus@colorplaza.com
-Reported By: p.grabowski@firma.2p.pl
+Reported By: markus@colorplaza.com
Status: Feedback
Bug Type: InterBase related
Operating System: linux red hat
PHP Version: 4.1.1
New Comment:
We experienced this same bug. I tested it in RH 7.2 with IB 6.
We run the same script from command line and got: Segmentation fault
when I comment ibase_close($db) out the script works fine.
Previous Comments:
------------------------------------------------------------------------
[2002-02-07 03:17:27] mfischer@php.net
Can look up in your apache log if you get a segfault or some similar
crash, and if so can you please provide a backtrace
(http://bugs.php.net/?id=15419&edit=1) ?
------------------------------------------------------------------------
[2002-02-07 02:55:13] p.grabowski@firma.2p.pl
<?
$dbc1=ibase_connect('/opt/interbase/bazy/slownik.gdb','SYSDBA','masterkey','WIN1250');
$qST="SELECT NAME,OPIS FROM SLOWNIK WHERE ID=$idD";
$q=ibase_query($dbc1,$qST);
list($nameDB,$descriptDB)=ibase_fetch_row($q);
ibase_close($dbc1); // here is a bug
?>
'./configure' '--prefix=/usr/local/php4.1.1/' '--enable-track-vars'
'--enable-trans-sid' '--with-mysql' '--disable-debug'
'--with-apxs=/usr/local/apache-local/bin/apxs' '--enable-shmop'
'--enable-xml' '--enable-sockets' '--with-gd'
'--with-interbase=/opt/interbase/'
Any command after ibase_close doesn't execute and apache returns 404
return code
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15419&edit=1