You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/09 10:39:03 UTC

DO NOT REPLY [Bug 21430] New: - Apache dumps when configured as caching proxy

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21430>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21430

Apache dumps when configured as caching proxy

           Summary: Apache dumps when configured as caching proxy
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sragavan@novell.com


Steps:

1. Configure a Origin server to send documents that will expire in 5 seconds 
(Just to get the problem soon).

ExpiresActive On
ExpiresDefault "now plus 5 seconds"

2. Configure a Proxy server to cache requests.
3. Send a query like 

GET http://164.99.152.95/srini.txt HTTP/1.1
HOST: 164.99.152.95
Connection: Keep-Alive

to the Proxy server, to get srini.txt from Origin server

4. It returns the document from Origin server.Also caches that.


HTTP/1.1 200 OK
Date: Wed, 09 Jul 2003 07:41:59 GMT
Server: Apache/2.0.46 (Win32)
Cache-Control: max-age=5, no-transform
Expires: Wed, 09 Jul 2003 07:50:17 GMT
Last-Modified: Mon, 07 Jul 2003 11:27:52 GMT
ETag: "1bbad-25-65a0c418"
Accept-Ranges: bytes
Content-Length: 37
Content-Type: text/plain
Via: 1.1 164.99.152.95

�� ����&#8729; ���ԡ֡����� �ɦҦ����� �ܦ�HI HOW ARE YOU

5. Give the Same query again after (10 seconds, allow the cache to become 
stale). The apache dumps core.


The scenario is that it re-validates what is there in the Cache.
I tried it on Netware it abends(Netware core dump). But from the attachment of 
defect #15869, attachment#(id=7167), it happens on unix as well. The scenario 
is also same. It revalidates the cache in that defect also and dumps.

Stack Trace of Netware:
Stack: --A9E8B230  ?
       B504B3AF  (PROXY.NLM|(Code Start)+3AF)
       --00000000  ?
       -B504F000  (PROXY.NLM|(Data Start)+0)
       --00000006  ?
       --00000001  ?
       --A9E8B230  ?
       B42D1414  (APACHE2.NLM|APACHE2@ap_run_fixups+34)
       --A9E8B230  ?
       --00000000  ?
       --B4F831D0  (EXPIRES.NLM|_LibCPostlude+391B)
       --00000000  ?
       --A9E8B230  ?
       B42D1C18  (APACHE2.NLM|APACHE2@ap_process_request_internal+2F8)
       --A9E8B230  ?
       --00000001  ?
       --A9E8B230  ?
       --A9E8B230  ?
       B42B062A  (APACHE2.NLM|ap_process_request+1A)
       --A9E8B230  ?
       --B4F83298  (EXPIRES.NLM|_LibCPostlude+39E3)
       B42AC5A2  (APACHE2.NLM|APACHE2@ap_bucket_error_create+3C2)

For unix trace, please see the defect#15869, attachment id (id=7168).

I was able to see this on 2.0.45 as well as 2.0.46. Dont know about any 
previous or next release.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org