Received: by taz.hyperreal.com (8.6.12/8.6.5) id XAA07624; Tue, 13 Feb 1996 23:11:57 -0800 Received: from mail.barrnet.net by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id XAA07617; Tue, 13 Feb 1996 23:11:55 -0800 Received: from ace.nueva.pvt.k12.ca.us (ace.nueva.pvt.k12.ca.us [198.31.42.1]) by mail.barrnet.net (8.7.3/MAIL-RELAY-LEN) with ESMTP id XAA16701 for ; Tue, 13 Feb 1996 23:11:23 -0800 (PST) Received: by ace.nueva.pvt.k12.ca.us (1.37.109.16/15.5+ECS 3.3+HPL1.1) id AA070711876; Tue, 13 Feb 1996 23:11:16 -0800 Date: Tue, 13 Feb 1996 23:11:16 -0800 (PST) From: Alexei Kosut To: new-httpd@hyperreal.com Subject: Re: vote update In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com On Tue, 13 Feb 1996, David Robinson wrote: > The other change was to add #include However, I don't think that's it *grin*. BTW, I did find out something - removing the -O2 from Configuration causes it to work (I think this is why it had worked last time - it wasn't optimized). But that still means something's wrong, so... > Hmm, this looks as though something is overwriting that stack; clearly > 0x46464646 is not likely to be a real address, and url and proxyhost > are clearly bad. Yes. > I suspect the line it was breaking on is > cache = c->fp; > > I Suggest you try single stepping it with gdb from the start of http_handler > until the stack gets trashed (watch the value of 'c') Almost. Here's part of a single-step through http_handler, keeping an eye on the value of url: (gdb) step 2581 for (i=0; i < len; i++) (gdb) print url $9 = 0x40022d60 "/" (gdb) step 2583 if (hdr[i].value[0] == '\0') continue; (gdb) print url $10 = 0x6800 " and an optional value to pass to CGI." Obviously, something bad happens in there. But for the life of me I have no clue what. The string happens to be from mod_env.c, but even if you remove that module, it just picks a string from somewhere else (not surprising, actually). --/ Alexei Kosut /--------/ Lefler on IRC ----------------------------/ The viewpoints expressed above are entirely false, and in no way represent Alexei Kosut nor any other person or entity. /--------------