From:             denis at enot dot ee
Operating system: Mandrake 9.2
PHP version:      4.3.3
PHP Bug Type:     InterBase related
Bug description:  Firebird problem

Description:
------------
I need php script for crontab 1 process, but
if create connect to base && disconnect
it make file core.NNNN

Reproduce code:
---------------
#!/usr/bin/php-cgi
<?php
$db_host = '127.0.0.1:/opt/base/amur.gdb';
$db_charset = 'NONE';
$db_user = 'SYSDBA';
$db_pass = "masterkey";
  $dbh0=ibase_connect ($db_host,$db_user,$db_pass, $db_charset, '0', '3')
or die
  ibase_timefmt("%d.%m.%Y %H:%M:%S", IBASE_TIMESTAMP);

sleep(5);

  ibase_close ($dbh0);
?>


Expected result:
----------------
Content-type: text/html
X-Powered-By: PHP/4.3.3

Segmentation fault (core dumped)




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

Reply via email to