You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Justin Erenkrantz <je...@apache.org> on 2002/05/26 05:12:38 UTC

Starting httpd on Darwin

This is an odd one.  Has anyone seen this?  It's just hanging looking
up the 0.0.0.0 address when it tries to process the config file.
For me, this looks like a showstopper.  But, I can't spend much
time on this for a few days, so I'm not a lot of help.  -- justin

#0  0x70000978 in mach_msg_overwrite_trap ()
#1  0x70005b34 in mach_msg_overwrite ()
#2  0x70033644 in _lookup_all ()
#3  0x700388cc in gai_lookupd ()
#4  0x700817f4 in gai_node_lookupd ()
#5  0x700814c8 in gai_node ()
#6  0x70037f6c in getaddrinfo ()
#7  0x00640084 in apr_sockaddr_info_get (sa=0x246610, hostname=0x79f28 "0.0.0.0", family=0, port=8080, flags=0, p=0x2463b0) at /Users/jerenk/cvs-apache/httpd-2.0/srclib/apr/network_io/unix/../unix/sa_common.c:366
#8  0x0005fb44 in alloc_listener (process=0x246430, addr=0x79f28 "0.0.0.0", port=8080) at /Users/jerenk/cvs-apache/httpd-2.0/server/listen.c:288
#9  0x0005ffe8 in ap_set_listener (cmd=0xbffff77c, dummy=0x0, ips=0x4652b0 "8080") at /Users/jerenk/cvs-apache/httpd-2.0/server/listen.c:404
#10 0x0005485c in invoke_cmd (cmd=0x80d10, parms=0xbffff77c, mconfig=0x0, args=0x46159c "") at /Users/jerenk/cvs-apache/httpd-2.0/server/config.c:699
#11 0x00055c98 in ap_walk_config_sub (current=0x461578, parms=0xbffff77c, section_vector=0x24c260) at /Users/jerenk/cvs-apache/httpd-2.0/server/config.c:1052
#12 0x00055d80 in ap_walk_config (current=0x461578, parms=0xbffff77c, section_vector=0x24c260) at /Users/jerenk/cvs-apache/httpd-2.0/server/config.c:1091
#13 0x00056ce4 in ap_process_config_tree (s=0x24b0e8, conftree=0x460e48, p=0x2483c0, ptemp=0x45d030) at /Users/jerenk/cvs-apache/httpd-2.0/server/config.c:1529
#14 0x000388e4 in main (argc=3, argv=0xbffff914) at /Users/jerenk/cvs-apache/httpd-2.0/server/main.c:565
#15 0x000025dc in _start ()
#16 0x0000240c in start ()

Re: Starting httpd on Darwin

Posted by Jeff Trawick <tr...@attglobal.net>.
Justin Erenkrantz <je...@apache.org> writes:

> This is an odd one.  Has anyone seen this?  It's just hanging looking
> up the 0.0.0.0 address when it tries to process the config file.
> For me, this looks like a showstopper.  But, I can't spend much
> time on this for a few days, so I'm not a lot of help.  -- justin

I don't get the hang.  I'm surprised that the family passed to
apr_sockaddr_info_get() is AF_UNSPEC instead of AF_INET.
APR_HAVE_IPV6 is 0 for me on 10.1.4, which IIRC results in
family=AF_INET being passed to apr_sockaddr_info_get().  Can you check
the setting of APR_HAVE_IPV6?  Is a NDA involved?

> #0  0x70000978 in mach_msg_overwrite_trap ()
> #1  0x70005b34 in mach_msg_overwrite ()
> #2  0x70033644 in _lookup_all ()
> #3  0x700388cc in gai_lookupd ()
> #4  0x700817f4 in gai_node_lookupd ()
> #5  0x700814c8 in gai_node ()
> #6  0x70037f6c in getaddrinfo ()
> #7  0x00640084 in apr_sockaddr_info_get (sa=0x246610, hostname=0x79f28 "0.0.0.0", family=0, port=8080, flags=0, p=0x2463b0) at /Users/jerenk/cvs-apache/httpd-2.0/srclib/apr/network_io/unix/../unix/sa_common.c:366

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...