#27735 [Com]: restart of apache2 via kill -1 or apachectl causes crash
| From: | noackjr at alumni dot rice dot edu | Date: | Wed, 31 Mar 2004 20:30:50 +0000 |
| Subject: | #27735 [Com]: restart of apache2 via kill -1 or apachectl causes crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57270@lists.php.net to get a copy of this message | ||
ID: 27735
Comment by: noackjr at alumni dot rice dot edu
Reported By: as at netoholic dot de
Status: Bogus
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.5
New Comment:
This wasn't "Bogus", as expected. It's fixed in CVS according to Bug
27810:
http://bugs.php.net/bug.php?id=27810
Previous Comments:
------------------------------------------------------------------------
[2004-03-31 05:53:04] js at iksz dot hu
Nor FreeBSD, nor Linux libc checks whether regfree() got
a null pointer. These bugs should be filtered in libc
level.
------------------------------------------------------------------------
[2004-03-31 00:00:21] josestefan at hotmail dot com
sorry, my report is wrong. I forgot that the error occurs after the
first php request, when I did my testing.
------------------------------------------------------------------------
[2004-03-30 22:59:59] josestefan at hotmail dot com
I've noticed that disabling all CustomLog in apache's httpd conf file
avoids the crash. So maybe that's a good place for the developers to
start looking.
I have log_errors = Off on my php.ini file, so it really doesn't make
sense to me. But I have confirmed that with the CustomLogs disabled, I
get no crashes.
running Windows XP, Apache: 2.0.49, PHP: 4.3.5
------------------------------------------------------------------------
[2004-03-30 08:50:43] noackjr at alumni dot rice dot edu
I have this exact same problem (identical backtrace, etc.) with FreeBSD
5.2.1, Apache 2.0.49, and PHP 4.3.5. Reverting to the PCRE from 4.3.4
(replacing ext/pcre) also resolved the problem for me.
Does PCRE 4.5 expose an Apache bug, or is this a problem with PCRE 4.5?
If it's the former, leave it as Bogus. Otherwise, this is a PHP bug
because it's bundled code.
------------------------------------------------------------------------
[2004-03-30 06:57:35] chb at muc dot de
I don't think this bug is "Bogus".
I'm experiencing the same problems using Apache 2.0.49 with RedHat
Linux 8.0 (same backtrace, ...).
So far I've been able to track it down to the PCRE extension. When I
add "--without-pcre" everything is fine.
I've now replaced "ext/pcre", using the version from PHP 4.3.4 (PCRE
4.3) and the problem is gone.
My suspicion is that the new PCRE version has memory allocation
problems.
------------------------------------------------------------------------
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/27735
--
Edit this bug report at http://bugs.php.net/?id=27735&edit=1