php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26617 Firebird problem
Submitted: 2003-12-14 03:45 UTC Modified: 2003-12-20 21:29 UTC
From: denis at enot dot ee Assigned:
Status: No Feedback Package: InterBase related
PHP Version: 4.3.3 OS: Mandrake 9.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-12-14 03:45 UTC] denis at enot dot ee
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)




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-14 06:00 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2003-12-20 21:29 UTC] abies@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC