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'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.


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

[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

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

[2002-09-20 01:22:45] [EMAIL PROTECTED]

Ok, did this with the new snapshot, however I've figured out what
causes the PHP 4.3.0-dev to hang.  Basically if I use the --with-zlib
configure option, a simple <?phpinfo()?> fails to load correctly.  If I
take this option out, then the <?phpinfo()?> displays correctly.  I
then tried to reinstall zlib (in case it was somehow messed up in
RedHat) but that made no difference.  I tried different variations of
--with-zlib such as:

* --with-zlib
* --with-zlib=/usr/local
* --with-zlib=/usr
* --with-zlib=/usr/local --with-zlib-dir=/usr/local
* --with-zlib=/usr --with-zlib-dir=/usr

If I use any of these, PHP scripts fail to load with the new dev
snapshot.  However, I am using this option with 4.2.3 with no problems.
 Maybe its a bug in the dev snapshot?  If you need any more information
let me know.

Thanks

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

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