httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@lerdorf.on.ca>
Subject Re: cvs commit: apache-1.3/src/main http_protocol.c
Date Mon, 10 Aug 1998 04:38:10 GMT
> On my machine at work with two simple name virtual hosts:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x805d313 in ap_bgets (buff=0x0, n=0, fb=0x8091efc) at buff.c:847
> 847             buff[ct++] = ch;
> (gdb) bt          
> #0  0x805d313 in ap_bgets (buff=0x0, n=0, fb=0x8091efc) at buff.c:847
> #1  0x80671b3 in getline (s=0x0, n=0, in=0x8091efc, fold=0)
>     at http_protocol.c:542
> #2  0x806734e in read_request_line (r=0x809f054) at http_protocol.c:656
> #3  0x8067aaf in ap_read_request (conn=0x809e01c) at http_protocol.c:934
> #4  0x80658a7 in child_main (child_num_arg=0) at http_main.c:3695
> #5  0x80659f3 in make_child (s=0x808a97c, slot=0, now=902722466)
>     at http_main.c:3779
> #6  0x8065af0 in startup_children (number_to_start=5) at http_main.c:3853
> #7  0x8065fa3 in standalone_main (argc=2, argv=0xbffff98c) at http_main.c:4131
> #8  0x80665c2 in main (argc=2, argv=0xbffff98c) at http_main.c:4404
> 
> Looks like l is getting set to NULL in read_request_line, but I have no idea
> why. I'm working on it.

Roy's latest patches fixes this.  Update your tree.  I had the same
segfault on a Solaris 2.5.1 box.

-Rasmus


Mime
View raw message