httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Re: At last a good backtrace of the SEGV bug
Date Fri, 18 Oct 1996 15:09:06 GMT

Thanks for the backtrace, it's being sent with this mail to the developers


Fred Condo wrote:
>I have been trying for quite some time to provide you with a good backtrace
>of Apache after it has failed with a SEGV signal from "too many" virtual
>hosts. I now have one (turns out there is a trick required to get shared
>symbols to load).
>The following gdb session resulted from Apache 1.1.1 running under FreeBSD
>2.1.0. This system runs well with 7 virtual hosts, but fails when an 8th is
>added. I added the 8th virtual host as an IP address only (it appears in no
>DNS record, and added it as a numeric IP in a VirtualHost directive in
>httpd.conf. Here is the backtrace:
>bash$ gdb httpd-g
>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.13 (i386-unknown-freebsd),
>Copyright 1994 Free Software Foundation, Inc...
>(gdb) b main
>Breakpoint 1 at 0x528b: file http_main.c, line 1491.
>(gdb) run
>Starting program: /usr/local/etc/httpd/httpd-g
>Breakpoint 1, main (argc=1, argv=0xefbfdd8c) at http_main.c:1491
>1491        init_alloc();
>(gdb) core-file httpd-g.core
>A program is being debugged already.  Kill it? (y or n) y
>Core was generated by `httpd-g'.
>Program terminated with signal 6, Abort trap.
>Symbols already loaded for /usr/libexec/
>Symbols already loaded for /usr/lib/
>Symbols already loaded for /usr/lib/
>#0  0x8091ee5 in kill ()
>(gdb) bt
>#0  0x8091ee5 in kill ()
>#1  0x809187c in abort ()
>#2  0x3e88 in seg_fault () at http_main.c:939
>#3  0xefbfe13c in end ()
>#4  0xc7a9 in check_hostalias (r=0x3d0cc) at http_protocol.c:390
>#5  0xcb99 in read_request (conn=0x3d064) at http_protocol.c:469
>#6  0x4941 in child_main (child_num_arg=0) at http_main.c:1245
>#7  0x4b2d in make_child (server_conf=0x37034, child_num=0) at http_main.c:1293
>#8  0x5127 in standalone_main (argc=1, argv=0xefbfdda8) at http_main.c:1439
>#9  0x5419 in main (argc=1, argv=0xefbfdda8) at http_main.c:1529

Rob Hartill (  ... why wait for a clear night to see the stars?.

View raw message