httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: [PATCH] listen.c -- fix restart SEGV --please comment/commit
Date Thu, 29 Nov 2001 00:17:20 GMT
On Wed, Nov 28, 2001 at 01:16:26PM -0800, Ian Holsman wrote:
> I don't know why this is happening now.
> 
> but when I do a restart (with a standard config) it core dumps
> here is my proposed fix.. it appears to work for me.
> but this is not my area so I'm posting rather than patching.

I'm still seeing the SEGV after applying this patch, although it does
not happen as often. Another clue is that it only happens for me
under worker and not prefork. Here's a stack trace:

#0  0xdfb5564d in apr_sockaddr_port_get (port=0x8047a6a, sockaddr=0x63617061)
    at ../unix/sa_common.c:132
#1  0x80bba15 in alloc_listener (process=0x8106a9c, addr=0x80e80c3 "::", 
    port=80) at listen.c:241
#2  0x80bbdba in ap_set_listener (cmd=0x8047b90, dummy=0x0, ips=0x8158f1c "80")
    at listen.c:365
#3  0x80b0637 in invoke_cmd (cmd=0x80e587c, parms=0x8047b90, mconfig=0x0, 
    args=0x8155526 "") at config.c:660
#4  0x80b14b9 in ap_walk_config_sub (current=0x8155504, parms=0x8047b90, 
    section_vector=0x810c724) at config.c:1006
#5  0x80b1551 in ap_walk_config (current=0x8155504, parms=0x8047b90, 
    section_vector=0x810c724) at config.c:1043
#6  0x80b2082 in ap_process_config_tree (s=0x810b6dc, conftree=0x81509bc, 
    p=0x8108a3c, ptemp=0x814cd6c) at config.c:1457
#7  0x80b48f0 in main (argc=1, argv=0x8047c58) at main.c:426

-aaron

Mime
View raw message