ID:               19594
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         DBM/DBA related
 Operating System: Slackware Linux
 PHP Version:      4CVS-2002-09-25
 New Comment:

It works fine with db 2.7.7 (I have that installed).
btw. the PEAR DBA class should work with other
dbm libs too...like gdbm and ndbm..(there are quite a few..)



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

[2002-09-28 21:24:43] [EMAIL PROTECTED]

I can't get a different copy of db2 installed, so I still don't know if
dba works with something other than that installed with slack-current.
The Sleepcat db2 installation process boggled my mind.

So, if anyone can confirm that it works at all, I'll leave it at that.
This was just for testing the DBA class in PEAR, not that I would use
db2 personally :P

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

[2002-09-26 22:13:30] [EMAIL PROTECTED]

The version is 2.4.14, the default supplied with  
Slackware. 
 
I'm installing 2.7.7 now and will let Pat know if he needs 
to make an upgrade.

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

[2002-09-26 09:50:28] [EMAIL PROTECTED]

I can not reproduce this with latest CVS HEAD using your script. I
think it's a problem in your db2 library.
What version is it?



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

[2002-09-25 10:15:29] [EMAIL PROTECTED]

Here it is. It looks like a string is not allocated 
correctly.  
  
#0  0x081ebb90 in memp_register ()  
#1  0x40040c6b in db_open () from /lib/libdb.so.3  
#2  0x0807aa0c in dba_open_db2 (info=0x82ea510) at  
/home/busterb/cvs/php4/php4/ext/dba/dba_db2.c:74  
#3  0x0807a4f8 in php_dba_open (ht=3,  
return_value=0x82ea4b4, this_ptr=0x0, return_value_used=0,  
    persistent=0) at  
/home/busterb/cvs/php4/php4/ext/dba/dba.c:346  
#4  0x08079e0e in zif_dba_open (ht=3356467,  
return_value=0x333733, this_ptr=0x333733,  
    return_value_used=3356467) at  
/home/busterb/cvs/php4/php4/ext/dba/dba.c:386  
#5  0x081a6dcf in execute (op_array=0x82e9fbc)  
    at  
/home/busterb/cvs/php4/php4/Zend/zend_execute.c:1602  
#6  0x0818f45c in zend_eval_string (str=0xbfffd55c "",  
retval_ptr=0x0,  
    string_name=0x333733 <Address 0x333733 out of bounds>)  
    at  
/home/busterb/cvs/php4/php4/Zend/zend_execute_API.c:630  
#7  0x081ac68d in main (argc=3, argv=0xbfffd764)  
    at /home/busterb/cvs/php4/php4/sapi/cli/php_cli.c:737  
#8  0x4033317d in __libc_start_main () from /lib/libc.so.6

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

[2002-09-25 09:42:42] [EMAIL PROTECTED]

Please recompile PHP with --enable-debug and post a new backtrace.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19594

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

Reply via email to