#27735 [Fbk->Opn]: restart of apache2 via kill -1 or apachectl causes crash
| From: | as at netoholic dot de | Date: | Mon, 29 Mar 2004 10:25:02 +0000 |
| Subject: | #27735 [Fbk->Opn]: restart of apache2 via kill -1 or apachectl causes crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57010@lists.php.net to get a copy of this message | ||
ID: 27735
User updated by: as at netoholic dot de
Reported By: as at netoholic dot de
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.3.5
New Comment:
my backtrace:
(gdb) bt
#0 0x4b8f2630 in ?? ()
#1 0x080728a1 in regex_cleanup (preg=0x0) at util.c:258
#2 0x4b56c39d in run_cleanups (cref=0x80ac838) at apr_pools.c:1951
#3 0x4b56bbe9 in apr_pool_clear (pool=0x80ac828) at apr_pools.c:693
#4 0x0806e4d2 in main (argc=4, argv=0xb1d38f34) at main.c:574
#5 0x4b6558ae in __libc_start_main () from /lib/libc.so.6
apache built with prefork mpm...
Previous Comments:
------------------------------------------------------------------------
[2004-03-29 05:03:36] krasnov at euroweb dot ru
It is awful but all my attempts to core PHP 4.3.5 with --enable-debug
were failed.
But in release mode CGI part cores even when it reads php.ini file
during "make test".
And mod_php behaves as written before...
Here is the part of core file after "make test" (sorry but without
debug).
#0 0x808644f in ?? ()
#1 0x808605e in ?? ()
#2 0x808856f in ?? ()
#3 0x80886c3 in ?? ()
#4 0x8088649 in ?? ()
#5 0x80886c3 in ?? ()
#6 0x8088649 in ?? ()
#7 0x80886c3 in ?? ()
#8 0x8088649 in ?? ()
#9 0x80886c3 in ?? ()
#10 0x8088649 in ?? ()
#11 0x80886c3 in ?? ()
#12 0x8088649 in ?? ()
#13 0x80886c3 in ?? ()
#14 0x8088649 in ?? ()
#15 0x80886c3 in ?? ()
#16 0x8088649 in ?? ()
#17 0x80886c3 in ?? ()
#18 0x8088649 in ?? ()
#19 0x80886c3 in ?? ()
#20 0x8088649 in ?? ()
#21 0x80886c3 in ?? ()
#22 0x8088649 in ?? ()
#23 0x80886c3 in ?? ()
#24 0x8088649 in ?? ()
#25 0x80886c3 in ?? ()
#26 0x8088649 in ?? ()
#27 0x80886c3 in ?? ()
#28 0x8088649 in ?? ()
#29 0x80886c3 in ?? ()
#30 0x8088649 in ?? ()
#31 0x80886c3 in ?? ()
#32 0x8088649 in ?? ()
#33 0x80886c3 in ?? ()
#34 0x8088649 in ?? ()
#35 0x80886c3 in ?? ()
#36 0x8088649 in ?? ()
#37 0x80886c3 in ?? ()
#38 0x8088649 in ?? ()
#39 0x80886c3 in ?? ()
#40 0x8088649 in ?? ()
#41 0x80886c3 in ?? ()
#42 0x8088649 in ?? ()
#43 0x80886c3 in ?? ()
#44 0x8088649 in ?? ()
#45 0x80886c3 in ?? ()
------------------------------------------------------------------------
[2004-03-28 19:43:40] iliaa@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2004-03-28 11:44:52] krasnov at euroweb dot ru
A little addition: EVERY test made by "make test" after compilation got
FAILED.
------------------------------------------------------------------------
[2004-03-28 11:31:24] krasnov at euroweb dot ru
I must notify you that a cannot reproduce this bug when I add
--enable-debug to ./configure
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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