From:             voev at hotmail dot com
Operating system: RedHat 7.2
PHP version:      4.3.4
PHP Bug Type:     InterBase related
Bug description:  Segmentation fault

Description:
------------
My Firebird (SS) or Interbase server chrash very often when I test it with
php.
If work with Kylix cgi page I haven't sql server problems.

When start php from console and run any php that connect to
InterBase/Firebird  the last row is 
"Segmentation fault" always.

I've tested it with php 4.3.4, php 4.3.5 RC2, Firebird SS 1.03 and
Interbase 7.1 as well.

Php is ./configure --with-interbase=shared,/opt/interbase --with-apxs
--enable-track-vars --enable-debug


Reproduce code:
---------------
<? $dbh = ibase_connect('localhost:/opt/interbase/examples/employee.gdb',
'SYSDBA', 'masterkey');
 $stmt = 'SELECT * FROM COUNTRY';
 $sth = ibase_query($dbh,$stmt);?>
<html>
<head>
</head>
<body>
<table>
<?php  while ($row = ibase_fetch_object($sth)) { ?>
  <tr><td><? echo $row->COUNTRY;?></td></tr> 
<?}
ibase_free_result($sth);
ibase_close($dbh);?>
</table></body></html>


-- 
Edit bug report at http://bugs.php.net/?id=26968&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26968&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26968&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26968&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26968&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26968&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26968&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26968&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26968&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26968&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26968&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26968&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26968&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26968&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26968&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26968&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26968&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26968&r=float

Reply via email to