ID: 27735
Comment by: krasnov at euroweb dot ru
Reported By: as at netoholic dot de
Status: Open
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.5
New Comment:
I must notify you that a cannot reproduce this bug when I add
--enable-debug to ./configure
Previous Comments:
------------------------------------------------------------------------
[2004-03-28 11:17:17] krasnov at euroweb dot ru
This nasty bug also is being reproduced under FreeBSD 4.8 RELEASE when
I try linuxthreads for apache worker thread model.
Either HUP or graceful restart of apache 2.0.49 causes log entry like
"[notice] seg fault or similar nasty error detected in the parent
process"
CFLAGS='-O -pipe -march=pentiumpro -DZTS -D__USE_UNIX98 -D_REENTRANT
-D_THREAD_SAFE -DHAVE_BROKEN_REALPATH -I/usr/local
/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r' \
LIBS='-L/usr/local/lib -llthread -llgcc_r' \
./configure \
--prefix=/usr/local/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-openssl \
--with-mysql=/usr/local/mysql \
--with-zlib \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--with-png-dir=/usr/local/lib \
--with-imap=/usr/local/src/imap-2002d \
--with-imap-ssl=/usr \
--with-gettext \
--with-xml \
--with-tsrm-pthreads
4.3.4 with identical config runs fine...
PS: Native FreeBSD 4.8 pthreads run also fine.
------------------------------------------------------------------------
[2004-03-27 13:45:56] as at netoholic dot de
Description:
------------
any time kill -1 at the httpd for configuration reload crashes httpd,
log entry
"[notice] seg fault or similar nasty error detected in the parent
process"
php built as module against apache 2.0.49 with gcc 3.3.3 on SuSE 8.2
Distibution
configure line:
'./configure' '--prefix=/opt/php-httpd' '--enable-magic-quotes'
'--enable-bcmath' '--enable-ftp' '--enable-inline-optimizations'
'--enable-memory-limit' '--enable-exif'
'--with-apxs2=/opt/apache2/bin/apxs' '--with-openssl' '--with-bz2'
'--with-zlib' '--with-mysql' '--enable-calendar' '--enable-dbx'
'--with-gd' '--with-gd-native-ttf' '--with-jpeg-dir=/usr/lib'
'--with-png-dir=/usr/lib' '--with-zlib' '--with-freetype-dir=/usr/lib'
'--enable-dba'
4.3.4 with identical config runs fine...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27735&edit=1