pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28370: Apache 2.0.52 segfaults when receiving SIGHUP



>Number:         28370
>Category:       pkg
>Synopsis:       Apache 2.0.52 segfaults when receiving SIGHUP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 20 23:14:00 +0000 2004
>Originator:     syn%sceen.net@localhost
>Release:        NetBSD 1.6.2_STABLE
>Organization:
Richard Braun
>Environment:
System: NetBSD yoda 1.6.2_STABLE NetBSD 1.6.2_STABLE (YODA) #0: Sun Sep 26 
20:40:09 CEST 2004 root@yoda:/usr/src/sys/arch/i386/compile/YODA i386
Architecture: i386
Machine: i386
>Description:
In order to rotate logs regularly, newsyslog has been configured to handle
apache log files. Here is a sample line :
/var/log/httpd/www.log 644 30 * $D0 Z /var/run/httpd.pid HUP

But sometimes, apache segfaults. Here is the error message in error_log :
Nov 21 00:00:51 yoda newsyslog[7045]: log file turned over
[Sun Nov 21 00:00:53 2004] [notice] Digest: generating secret for digest authent
ication ...
[Sun Nov 21 00:00:53 2004] [notice] Digest: done
[Sun Nov 21 00:00:54 2004] [notice] Apache/2.0.52 (Unix) configured -- resuming 
normal operations
[Sun Nov 21 00:01:01 2004] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 21 00:01:02 2004] [notice] Digest: generating secret for digest authent
ication ...
[Sun Nov 21 00:01:02 2004] [notice] Digest: done
[Sun Nov 21 00:01:03 2004] [notice] seg fault or similar nasty error detected in
 the parent process

I suspect a race condition between the apache childs and the parent.

>Fix:

Unknown



Home | Main Index | Thread Index | Old Index