From: [EMAIL PROTECTED] Operating system: Slackware Linux PHP version: 4CVS-2002-09-25 PHP Bug Type: DBM/DBA related Bug description: dba extension segfaults with the db2 driver
Creating a new db2 database causes a segfault with dba_open() $ php -v PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies $ php -r "dba_open ("file_test", "n", "db2");" Segmentation fault This is the backtrace: #0 0x081ad050 in memp_register () #1 0x40031c6b in db_open () from /lib/libdb.so.3 #2 0x0807567a in dba_open_db2 () #3 0x080752b0 in php_dba_open () #4 0x08074d3e in zif_dba_open () #5 0x0816928c in execute () #6 0x0815cd0b in zend_execute_scripts () #7 0x081374a9 in php_execute_script () #8 0x0816dc6b in main () #9 0x4028917d in __libc_start_main () from /lib/libc.so.6 -- Edit bug report at http://bugs.php.net/?id=19594&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19594&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19594&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19594&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19594&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19594&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19594&r=support Expected behavior: http://bugs.php.net/fix.php?id=19594&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19594&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19594&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19594&r=globals