php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #38913 dba_open crash for db4
Submitted: 2006-09-21 15:32 UTC Modified: 2012-02-25 00:45 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: nemesis at home dot ro Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.1.6 OS: Linux kernel 2.6.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nemesis at home dot ro
New email:
PHP Version: OS:

 

 [2006-09-21 15:32 UTC] nemesis at home dot ro
Description:
------------
Upgrade from php 5.1.2 to 5.1.6 and then dba_open doesn't work  anymore with db4

Reproduce code:
---------------
<?php
var_dump(dba_open('xxx.db', 'c', 'db4'));
?>

Expected result:
----------------
To print a resouce identifier like
"resource(4) of type (dba)"

Actual result:
--------------
Warning: dba_open(xxx.db,r): Driver initialization failed for handler: db4: Unknown error 140682440 in test.php on line 2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-23 11:54 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-09-23 17:00 UTC] nemesis at home dot ro
Yes, it works (the linux version, the windows version does not have db4 built in (only db3))

Is there any time table for backporting this fix to the 5.1 series ?
 [2006-09-25 13:34 UTC] nemesis at home dot ro
It appears that I spoke too soon.
When compiling against libdb4.4 (4.4.20-3) fails with the mentioned error. (with both enable-dba and enable-dba=shared)
 [2006-10-04 11:49 UTC] nemesis at home dot ro
Hi,

It appears that the configure does not check for the headers/libraries for libdb-4.4 and if there is libdb-4.3 also installed, it finds libdb-4.3 shared libraries first, and links with them (and uses headers for libdb-4.4).

You can find more info on the debian bug report on the same problem here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388601
 [2006-10-04 17:18 UTC] nomail at nodomain dot net
PHP 4.4.4 seems to be affected by this bug too.
 [2006-10-11 18:46 UTC] helly@php.net
Currently we do not support 4.4 simply because we haven't checked that.
 [2010-05-03 15:54 UTC] johannes@php.net
-Status: Assigned +Status: Feedback -Package: Feature/Change Request +Package: *General Issues -Assigned To: helly +Assigned To:
 [2010-05-03 15:54 UTC] johannes@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2012-02-25 00:45 UTC] stas@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.


 [2012-02-25 00:45 UTC] stas@php.net
-Status: Feedback +Status: No Feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 21:01:32 2024 UTC