httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Campbell ...@electricalchemy.org>
Subject Re: [users@httpd] Apache dies when "Listen"ing to > 1 port
Date Tue, 31 Aug 2004 13:31:19 GMT
Nick,

I am using the version of apache that ships w/ OpenBSD v3.5.  I 
(re)compiled it myself (after cvsup'ing the src tree, to resolve some 
mod-ssl issues), but used the Makefile.bsd.wrapper to do so.

Here's a backtrace of my stack whilst running httpd w/ the offensive config 
(note this config works fine on other comparable systems of mine.)

root@antigen(35)# gdb httpd
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
This GDB was configured as "i386-unknown-openbsd3.5"...(no debugging 
symbols found)...
(gdb) run -X
Starting program: /usr/sbin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSYS, Bad system call.
0x548e0fd in semop ()
(gdb) bt
#0  0x548e0fd in semop ()
#1  0x1c03e1b9 in ap_add_config_define ()
#2  0x1c04089f in ap_child_terminate ()
#3  0x1c040d52 in ap_child_terminate ()
#4  0x1c040e69 in ap_child_terminate ()
#5  0x1c0415ba in ap_child_terminate ()
#6  0x1c041cc7 in main ()
#7  0x1c00ec21 in ___start ()
#8  0x1c00eb97 in _start ()
#9  0xcfbfbc58 in ?? ()
Error accessing memory address 0x2: Invalid argument.



Cheers

[d]



At 12:55 PM 8/31/2004, Nick Kew wrote:
>On Tue, 31 Aug 2004, David Campbell wrote:
>
> > My configuration works perfectly, unless I try to listen on more than
> > one
> > IP/port (i.e. modify my config as follows)
>
>That sounds like a bug somewhere.  It sounds suspiciously like a binary
>that was compiled against an incompatible system version/libraries.
>
>* Can you trace where it's coming from - e.g. with gdb?
>* Did you compile it yourself?  If not that may well fix it.
>* Does it still happen if you upgrade to an up-to-date apache?
>
>--
>Nick Kew
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message