#38913 [Opn]: dba_open crash for db4
| From: | nemesis at home dot ro | Date: | Mon, 25 Sep 2006 13:34:52 +0000 |
| Subject: | #38913 [Opn]: dba_open crash for db4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102642@lists.php.net to get a copy of this message | ||
ID: 38913
User updated by: nemesis at home dot ro
Reported By: nemesis at home dot ro
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux kernel 2.6.16
PHP Version: 5.1.6
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[2006-09-23 17:00:41] 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-23 11:54:06] 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-21 15:32:09] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38913&edit=1