ID:               40211
 User updated by:  stuhood at webmail dot us
 Reported By:      stuhood at webmail dot us
-Status:           Feedback
+Status:           Open
 Bug Type:         DBM/DBA related
 Operating System: Red Hat w/ 2.4.21-32.0.1.EL
 PHP Version:      5.2.0
 New Comment:

Here are the backtraces affecting httpd when php is built with db-4.3
and db-4.5. Its not crashing where I expected, and its crashing in a
different place for both versions.

http://www.hoodidge.net/bugs/db-4.3_httpd-bt.txt
http://www.hoodidge.net/bugs/db-4.5_httpd-bt.txt

You'll note that the 4.3 trace mentions libdb-4.1.so? I tried moving
that file and then recompiling php, but httpd would throw an "error
while loading shared library" and exit 0177.

So... do I need to recompile apache as well?


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

[2007-01-24 15:38:43] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

[2007-01-24 15:34:26] stuhood at webmail dot us

Its entirely possible... but if that is the case, then PHP shouldn't
compile or work from the command line, correct?

The system has:
/usr/local/BerkeleyDB.4.5/
/usr/local/BerkeleyDB.4.4/
/usr/local/BerkeleyDB.4.3/

libdb-4.* for each version are symlinked to /lib/

I could try reinstalling BDB I guess, but I still want to hear any
other suggestions you all might have.

Thanks

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

[2007-01-24 08:26:21] judas dot iscariote at gmail dot com

works perfectly fine here, with db-4.4.20 in both 5.2.0 and latets
CVS.

are you sure that your system libraries/headers are not messed up ?

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

[2007-01-23 21:05:20] [EMAIL PROTECTED]

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

Cannot reproduce with both CLI and Apache.

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

[2007-01-23 20:38:58] stuhood at webmail dot us

Alright, here's a link to the database, but as I said: this script (and
others) execute just fine from the command line.

http://www.webmail.us/misc/spamrules.db

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

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/40211

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

Reply via email to