Bug 7390 - libapr.dll invalid page fault - libapr.dll 10/9/01 6:32 PM
Summary: libapr.dll invalid page fault - libapr.dll 10/9/01 6:32 PM
Status: RESOLVED DUPLICATE of bug 3509
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Connector:Webapp (show other bugs)
Version: 4.0 Final
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-23 16:20 UTC by Scott Duns
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Duns 2002-03-23 16:20:23 UTC
APACHE caused an invalid page fault in
module LIBAPR.DLL at 0187:6ee0f1eb.
Registers:
EAX=00000000 CS=0187 EIP=6ee0f1eb EFLGS=00010206
EBX=0066937c SS=018f ESP=0186fe7c EBP=0066934c
ECX=0186ff88 DS=018f ESI=00000000 FS=6fc7
EDX=00000000 ES=018f EDI=0066937c GS=719e
Bytes at CS:EIP:
8b 06 50 e8 7d 3f ff ff 56 e8 77 fe ff ff 83 c4 
Stack dump:
00000000 6ee0f070 0066934c 012d3fbb 00000000 04a13094 04a15078 012d2bc3 
0066934c 00711990 6ee06400 000001f4 00711800 00000000 012d210b 0066934c

Servlet source code:

Source Code for RequestHeader Example

import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class RequestHeaderExample extends HttpServlet {

    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Enumeration e = request.getHeaderNames();
        while (e.hasMoreElements()) {
            String name = (String)e.nextElement();
            String value = request.getHeader(name);
            out.println(name + " = " + value);
        }
    }
}

Apache server connected to Tomcat v4.0

httpd.conf:

LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

server.xml

         LoadModule webapp_module libexec/mod_webapp.so
         WebAppConnection warpConnection warp localhost:8008
         WebAppDeploy examples warpConnection /examples/

Logs:

192.168.0.3 - - [23/Mar/2002:09:42:37 -
0600] "GET /examples/servlet/RequestHeaderExample HTTP/1.1" 200 1030
192.168.0.3 - - [23/Mar/2002:09:42:37 -0600] "GET /examples/images/return.gif 
HTTP/1.1" 500 325

[Sat Mar 23 09:42:37 2002] [error] Communitcation interrupted
[Sat Mar 23 09:42:37 2002] [error] Cannot shutdown "warpConnection"

2002-03-23 09:42:37 WarpEngine[Apache]: Mapping request
2002-03-23 09:42:37 WarpHost[scott.duns]: Mapping request for Host
2002-03-23 09:42:37 org.apache.catalina.INVOKER.RequestHeaderExample: init
2002-03-23 09:42:37 InvokerFilter(ApplicationFilterConfig[name=Servlet Mapped 
Filter, filterClass=filters.ExampleFilter]): 50 milliseconds
2002-03-23 09:42:37 InvokerFilter(ApplicationFilterConfig[name=Path Mapped 
Filter, filterClass=filters.ExampleFilter]): 270 milliseconds
Comment 1 Joshua Slive 2002-03-23 17:35:01 UTC
This is almost surely a Tomcat issue, rather than an issue with the base Apache
HTTP Server, so I'm sending the report over there.
Comment 2 Joshua Slive 2002-03-23 17:37:24 UTC
I guess I have to change the "Assigned To" field when I move a bug...
Comment 3 Pier Fumagalli 2002-04-29 12:47:46 UTC

*** This bug has been marked as a duplicate of 3509 ***