ID:               19482
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         PCRE related
 Operating System: Redhat 7.3
 PHP Version:      4.2.3,4.3.0-dev
 New Comment:

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


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

[2002-09-25 14:51:06] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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.


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

[2002-09-20 01:42:06] [EMAIL PROTECTED]

sorry, i forgot to mention that I tried running the snapshot without
zlib support (and png and dom xml support) and got IMP to somewhat work
under that environment.  However, like I said previously the snapshot
did not fix the seg fault problem I am having.  Please let me know what
you want to do next

Thanks

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

[2002-09-20 01:40:23] [EMAIL PROTECTED]

unfortunately, this does not fix the original problem, I still get seg
faults when viewing messages (no particular message).  I'll try to post
a backtrace a little later

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

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

Reply via email to