ID: 27735
Comment by: warp-9 dot 9 at usa dot net
Reported By: as at netoholic dot de
Status: Bogus
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.5 / 4.3.6
New Comment:
This is not bogus. Don't you have a classification of "Duplicate",
like Bugzilla? Apache 2.0.49, php 4.3.6.
<defiant> [EMAIL PROTECTED]:30:29] /var/www -> httpd -k restart
<defiant> [EMAIL PROTECTED]:30:45] /var/www -> [Sun May 02 12:30:45 2004]
[notice] SIGHUP received. Attempting to restart
[Sun May 02 12:30:45 2004] [notice] seg fault or similar nasty error
detected in the parent process
When I comment out the php4 module, it restarts fine!
BUILD_apache script:
#! /bin/bash
CC=gcc \
CFLAGS="-O3 \
-mcpu=k6-2" \
CXX=gcc \
CXXFLAGS="-O3 \
-mcpu=k6-2 \
-felide-constructors \
-ffixed-ebp \
-fno-exceptions \
-fno-rtti" \
\
./configure \
\
--enable-layout=Apache \
--enable-v4-mapped \
--enable-mods-shared=all \
--enable-cgid \
--enable-deflate \
--enable-cache \
--enable-file-cache \
--enable-disk-cache \
--enable-mem-cache \
--enable-logio \
--enable-unique-id \
--enable-ssl \
--with-gdbm \
--enable-suexec \
--with-suexec-caller=www \
--with-suexec-docroot=/var/www \
--with-suexec-gidmin=1000 \
--with-suexec-uidmin=1000 \
--with-suexec-userdir=cgi-bin
BUILD_php4 script:
#! /bin/bash
CC=gcc \
CFLAGS="-O3 \
-mcpu=k6-2" \
CXX=gcc \
CXXFLAGS="-O3 \
-mcpu=k6-2 \
-felide-constructors \
-ffixed-ebp \
-fno-exceptions \
-fno-rtti" \
\
./configure \
--with-mysql=/usr/local/mysql \
--with-apxs2
Apache2 using PreFork MPM, so not a thread issue.
As I read on other bug listings, the bug has been isolated to pcre
code. There are reports that it's fixed in CVS. I'm going to try that
momentarily. There's some reports that those fixes didn't work. There
is also the issue of rolling out development code into production use,
when all that is requested from the PHP developers is a set of patch
files for 4.3.6 for this specific issue, without potentially
introducting more new bugs to the system.
Previous Comments:
------------------------------------------------------------------------
[2004-04-19 18:42:28] remco at linux-adept dot nl
Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl
graceful'. Which is a kill for logrotation! Everything was fine untill
4.3.5 came along. Changing back to 4.3.4 solves the problem.
I have tried recompiling apache etc. Nothing helps.
Gracefully restarting apache gives the following in the error-logs:
[Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing
restart
[Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error
detected in the parent process
And apache has to be restarted once more to get it running.
------------------------------------------------------------------------
[2004-04-16 08:32:27] [EMAIL PROTECTED]
One of those bugs is good enough. Leave this one BOGUS.
------------------------------------------------------------------------
[2004-04-16 05:58:07] as at netoholic dot de
Still present in 4.3.6...
Hello Devs, anybody there ???
Read also http://bugs.php.net/bug.php?id=27810
------------------------------------------------------------------------
[2004-03-31 15:30:49] noackjr at alumni dot rice dot edu
This wasn't "Bogus", as expected. It's fixed in CVS according to Bug
27810:
http://bugs.php.net/bug.php?id=27810
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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