You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@liege.ICS.UCI.EDU> on 1996/09/30 02:34:38 UTC
httpd -h causing segmentation fault
For no particular reason, I tested this on my just-updated-from-CVS
source, configured with SOLARIS2 and STATUS.
% httpd -h
Segmentation fault (core dumped)
before opening any logfiles.
....Roy
fielding@kiwi% gdb httpd core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `httpd -h'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
#0 0xef662e2c in strlen ()
(gdb) bt
#0 0xef662e2c in strlen ()
#1 0xef69fbec in _doprnt ()
#2 0xef6ab0b8 in printf ()
#3 0x1d730 in show_directives () at http_main.c:1889
#4 0x1da24 in main (argc=2, argv=0xefffead4) at http_main.c:1937
(gdb)
Re: httpd -h causing segmentation fault
Posted by Brian Behlendorf <br...@organic.com>.
Can you do this with a "trace" running as well? httpd -h works fine for me.
Brian
On Sun, 29 Sep 1996, Roy T. Fielding wrote:
> For no particular reason, I tested this on my just-updated-from-CVS
> source, configured with SOLARIS2 and STATUS.
>
> % httpd -h
> Segmentation fault (core dumped)
>
> before opening any logfiles.
>
> ....Roy
>
> fielding@kiwi% gdb httpd core
> GDB is free software and you are welcome to distribute copies of it
> under certain conditions; type "show copying" to see the conditions.
> There is absolutely no warranty for GDB; type "show warranty" for details.
> GDB 4.16 (sparc-sun-solaris2.5),
> Copyright 1996 Free Software Foundation, Inc...
> Core was generated by `httpd -h'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libsocket.so.1...done.
> Reading symbols from /usr/lib/libnsl.so.1...done.
> Reading symbols from /usr/lib/libc.so.1...done.
> Reading symbols from /usr/lib/libdl.so.1...done.
> Reading symbols from /usr/lib/libintl.so.1...done.
> Reading symbols from /usr/lib/libmp.so.1...done.
> Reading symbols from /usr/lib/libw.so.1...done.
> #0 0xef662e2c in strlen ()
> (gdb) bt
> #0 0xef662e2c in strlen ()
> #1 0xef69fbec in _doprnt ()
> #2 0xef6ab0b8 in printf ()
> #3 0x1d730 in show_directives () at http_main.c:1889
> #4 0x1da24 in main (argc=2, argv=0xefffead4) at http_main.c:1937
> (gdb)
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com www.apache.org hyperreal.com http://www.organic.com/JOBS