You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/02/09 17:03:41 UTC

DO NOT REPLY [Bug 38595] New: - httpd dumps core after successive kill -1 signals

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38595

           Summary: httpd dumps core after successive kill -1 signals
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@spatula.net


If httpd receives signal 1 (HUP) many times rapidly, it will dump core.  It may
be a race condition in the config read, or it may be that the config read needs
to disable further signal 1's until it is complete.

Here's a stack trace. Sorry I don't have a build with debugging symbols.

(gdb) bt
#0  0x486d3db8 in ?? () from /usr/lib/libpthread.so.2
#1  0x48323d21 in apr_dir_read () from /usr/local/lib/apache2/libapr-0.so.9
#2  0x08067c2e in ap_process_resource_config ()
#3  0x08079234 in include_config ()
#4  0x08066930 in invoke_cmd ()
#5  0x08066c98 in ap_build_config_sub ()
#6  0x080d403b in ?? ()
#7  0xbfbfe3d8 in ?? ()
#8  0x0806d7c0 in cfg_getstr ()
#9  0x08092fc0 in needcset ()

This is using the multi-process model, not the threaded model (so there's only
one thread).

You can duplicate this by starting httpd, getting the PID, and sending the
parent httpd kill -1 many times in rapid succession. Eg,

# kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345
# kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345
# kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345; kill -1 12345

Eventually the httpd process will dump core.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38595] - httpd dumps core after successive kill -1 signals

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38595


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jorton@redhat.com  2006-03-30 09:28 -------
Without debugging symbols this may be somewhat hard to track down.  Can you
rebuild passing CFLAGS=-g to configure?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org