(Yes, this is without any patches :) )

I'll take a look at this after I get to a stopping point with the
server-limit/thread-limit stuff.

It looks like listen_recs aren't allocated from the right pool with
worker?  (at least I couldn't reproduce this with prefork) 

Program received signal SIGHUP, Hangup.
0x401d654e in __select () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIGTERM, Terminated.
0x401494e1 in __kill () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4003b42b in apr_sockaddr_port_get (port=0xbffffa9a, sockaddr=0x63)
    at ../unix/sa_common.c:132
132         *port = ntohs(sockaddr->sa.sin.sin_port);
(gdb) where
#0  0x4003b42b in apr_sockaddr_port_get (port=0xbffffa9a, sockaddr=0x63)
    at ../unix/sa_common.c:132
#1  0x80c822e in alloc_listener (process=0x8108900,
    addr=0x80f773b "0.0.0.0", port=8080) at listen.c:242
#2  0x80c8638 in ap_set_listener (cmd=0xbffffb78, dummy=0x0,
    ips=0x8154348 "8080") at listen.c:367
#3  0x80bc0c4 in invoke_cmd (cmd=0x80fee04, parms=0xbffffb78,
    mconfig=0x0, args=0x81445c4 "") at config.c:670
#4  0x80bcf92 in ap_walk_config_sub (current=0x81445a0,
    parms=0xbffffb78, section_vector=0x81456a0) at config.c:1016
#5  0x80bd03a in ap_walk_config (current=0x81445a0, parms=0xbffffb78,
    section_vector=0x81456a0) at config.c:1053
#6  0x80bdc5f in ap_process_config_tree (s=0x815f4e0,
    conftree=0x8143a80, p=0x810a890, ptemp=0x8146980) at config.c:1467
#7  0x80c0756 in main (argc=1, argv=0xbffffc64) at main.c:438
(gdb) up
#1  0x80c822e in alloc_listener (process=0x8108900,
    addr=0x80f773b "0.0.0.0", port=8080) at listen.c:242
242                 apr_sockaddr_port_get(&oldport, sa);
(gdb) p **walk
$2 = {next = 0x5f646f6d, sd = 0x2e766e65, bind_addr = 0x63,
  accept_func = 0, active = 0}
(gdb) p *walk->sd
Cannot access memory at address 0x2e766e65.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to