ID: 19482
Updated by: iliaa@php.net
Reported By: amith@xalan.com
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: Redhat 7.3
PHP Version: 4.2.3,4.3.0-dev
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-10-01 15:16:37] phpbug@dpits.de
hello!
i have nearly the same problem...
i've wondered, that sometimes are segfaults in the error_log. i have
installed
the newest php (4.2.3) & apache (1.3.26) version.
now i have found a cause:
if this in the mail header:
From: ()
imp shows as sender. with the attempt to open the email, the
apache-
process segfaulted. after some try, i could fetch a strace-log from the
process.
you can found it here: http://dpits.de/segfault.log
thank you!
bye
daniel prior
------------------------------------------------------------------------
[2002-09-27 10:53:40] mcaplin@miami.edu
I upgraded from 4.1.2 to 4.2.3 yesterday and have seen many seg faults
in the error_log when I came in this morning.
I am using Apache 1.3.26, mod_ssl 2.8.10, Openssl 0.9.6g, Compaq Tru64
4.0G.
My PHP configure is pretty basic:
./configure --with-mysql --with-imap --with-curl --quiet
--with-apxs=(path_to_apxs)
We, also, are using IMP (2.2.7). I have not tried to produce the
seg-faults
------------------------------------------------------------------------
[2002-09-25 14:51:06] speedfreak50@netscape.net
I'm encounting this same bug using Horde/IMP/Turba (2.1/3.1/1.1) on Red
Hat 7.3 with all updates (except mm-1.1.3-8 which seems to cause
problems with Apache restarts) and here's what i've tried:
- compiling Apache (1.3.26), PHP (4.2.3), and mod_ssl (2.8.10) without
mm support
- compiling PHP 4.2.3 without mm support and using the pcre library
packaged with Red Hat
- downloading a fresh pcre library (v3.9) and compiling PHP against
that.
- compiling everything with mm support and external pcre library (3.9)
In each case the same segfault occurs.
If i compile the software (Apache, mod_ssl, PHP) with debugging symbols
i can't get the segfault to occur. Been through about 300 test
messages and it still hasn't segfaulted.
This is driving me nuts.
------------------------------------------------------------------------
[2002-09-20 09:33:51] amith@xalan.com
Using php.ini-recommended fixed the zlib problem. So now I am able to
use the snapshot normally. However, I ran apache within gdb and I got
pretty much the exact same backtrace as I got with 4.2.3. I guess it
looks like a PCRE problem. Please let me know what I need to do next
and thanks for the quick response
------------------------------------------------------------------------
[2002-09-20 07:09:48] sniper@php.net
I guess the zlib issue is with the output buffering.
Check your php.ini settings. (and try using the php.ini-dist as base
for your new one..)
And the original problem, if the backtrace you get now is
about the same as the one you already pasted here, don't add another
one. Reclassified as PCRE related.
------------------------------------------------------------------------
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/19482
--
Edit this bug report at http://bugs.php.net/?id=19482&edit=1