httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: segfaults on CGI's with current CVS snapshot
Date Mon, 04 Aug 1997 03:31:18 GMT
You could try backing out to an older mod_rewrite...

On Sun, 3 Aug 1997, Marc Slemko wrote:

> Interesting.
> 
> It happens when you access a CGI with a path_info of docs when there is a
> docs subdirectory.  Doesn't matter what CGI, but I can't make it work with
> a different PATH_INFO or when the docs subdir isn't there.
> 
> Aha.  And it only happens on www.apache.org.
> 
> Perhaps something to do with some of the below rewrite rules:
> 
> Redirect permanent /docs/1.1 http://www.apache.org/docs
> Redirect permanent /docs/vif.info http://www.apache.org/docs/misc/vif-info
> Redirect permanent /docs/directives.html
> http://www.apache.org/docs/mod/directiv
> es.html
> Redirect permanent /docs/API.html http://www.apache.org/docs/misc/API.html
> Redirect permanent /docs/FAQ.html http://www.apache.org/docs/misc/FAQ.html
> Redirect permanent /bugdb.cgi/ http://bugs.apache.org/index/
> Redirect permanent /bugdb.cgi http://bugs.apache.org/
> RewriteEngine on
> RewriteRule ^/docs/mod_(.*)$ /docs/mod/mod_$1 [R]
> 
> 
> On Sun, 3 Aug 1997, Brian Behlendorf wrote:
> 
> > 
> > I updated a Jul 31st snapshot of 1.3a2 on www.apache.org to one today, and
> > at least one CGI script stopped working (started giving a 500 Internal
> > Error), specifically the "manual-index.cgi" on the Apache tree.  The apache
> > error log had 
> > 
> >  [Sun Aug  3 19:15:54 1997] access to /export/pub/apache/manual-index.cgi 
> >  failed for ppp078-sf1.sirius.net, reason: Premature end of script headers
> > 
> > The default error log got
> > 
> >  [Sun Aug  3 19:15:54 1997] httpd: caught SIGSEGV, attempting to dump core in 
> >  /usr/local/www.tools/apache/
> > 
> > A backtrace on the core file showed
> > 
> >   (gdb) where
> >   #0  0x67fdd in kill ()
> >   #1  0x6753b in abort ()
> >   #2  0x3500 in just_die (sig=11) at http_main.c:1482
> >   #3  <signal handler called>
> >   #4  copy_array (p=0xdc034, arr=0xd9074) at alloc.c:526
> >   #5  0xb4b8 in sub_req_lookup_uri (new_file=0x9760c "/docs", r=0xd9074)
> >       at http_request.c:660
> >   #6  0x133fc in add_cgi_vars (r=0xd9074) at util_script.c:298
> >   #7  0x278b8 in cgi_child (child_stuff=0xefbfbb98) at mod_cgi.c:298
> > 
> > Looks like a bad situation in alloc.c... this was to
> > "http://www.apache.org/manual-index.cgi/docs" so it was apparently when 
> > apache was trying to convert "/docs" to PATH_TRANSLATED or something.
> > 
> > Does this trigger any ideas before I post it to the bug database?
> > 
> > I've back-revved the server on Hyperreal, but you can try it for yourself
> > on port 8080.
> > 
> > 	Brian
> > 
> > 
> > 
> > 
> > --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> > "Why not?" - TL           brian@organic.com - hyperreal.org - apache.org
> > 
> 


Mime
View raw message