#30777 [NEW]: Apache/PHP/DB3/DB4/Subversion causes repeatable segfault
| From: | shire at tekrat dot com | Date: | Sat, 13 Nov 2004 20:19:25 +0000 |
| Subject: | #30777 [NEW]: Apache/PHP/DB3/DB4/Subversion causes repeatable segfault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69013@lists.php.net to get a copy of this message | ||
From: shire at tekrat dot com
Operating system: Linux Slackware
PHP version: 4.3.9
PHP Bug Type: Apache related
Bug description: Apache/PHP/DB3/DB4/Subversion causes repeatable segfault
Description:
------------
I've noticed segfaults occuring both on the initial call of any php file
or on the imap_open call, although the nature of the code/call seems to be
irrelevent to the actual problem. It becames apparent that the
PHP/Apache/Subversion/DB3/DB4 combination becomes a problem. Even with
PHP/Apache/Subversion compiled with DB4, if a DB3.so is added to the
system, then php/apache will begin to segfault. This has been observed in
php4.3.8 (faults on any php script) and php4.3.9(fault on imap_open). it
appears that php will try and load any db library it finds, rather than
the latest module ie: db4 over db3. This apparently causes a
conflict/segfault in php/apache.
Reproduce code:
---------------
You can reproduce this by compiling php/apache/subversion with
DB4(required by subversion) and then adding db3.so to the system.
Expected result:
----------------
n/a
--
Edit bug report at http://bugs.php.net/?id=30777&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30777&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30777&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30777&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30777&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30777&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30777&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30777&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30777&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30777&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30777&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30777&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30777&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30777&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30777&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30777&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30777&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30777&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30777&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30777&r=mysqlcfg