ID:               17152
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         DBM/DBA related
 Operating System: RedHat 7.2
 PHP Version:      4.2.0
 New Comment:

Note the the above error (segfault) is encountered when the following
code is executed:

$dba = dba_open("./test.db", "r", "db2");

So the segfault is related to a different driver set


Previous Comments:
------------------------------------------------------------------------

[2002-05-11 16:04:29] [EMAIL PROTECTED]

The problem has further degraded...

Insteading getting a PHP warning about driver init failure, the page
fails to load, and I am getting all kinds of these messages in HTTPD's
error_log that read:

[notice] child pid [PID] exit signal Segmentation fault (11)

I'm convinced that this is a problem with PHP.

------------------------------------------------------------------------

[2002-05-11 01:37:04] [EMAIL PROTECTED]

When executing the following code:

<?php

  echo "Starting...<BR>\n";

  $dba = dba_open("./test.db", "r", "ndbm");

?>

The following error message is encountered:

Warning: driver initialization failed in
/var/www/devuser/devbox-mx.dhs.org/www/test/test.php on line 5

PHP 4.2.0 was compiled with the following command:

'./configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql'
'--with-pgsql' '--with-config-file-path=/etc' '--enable-track-vars'
'--disable-short-tags' '--disable-posix' '--with-curl' '--with-gettext'
'--with-ldap' '--with-zlib' '--with-dom' '--with-db'
'--with-gdbm=/usr/include/gdbm' '--with-ndbm=/usr/include/db1'
'--with-db2=/usr/include/db2' '--with-db3=/usr/include/db3'

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17152&edit=1

Reply via email to