Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-186

Using the native connector causes the JVM to crash when shutting down on Windows

    Details

      Description

      Boss server is crashing with an "EXCEPTION_ACCESS_VIOLATION" once shutdown has started.

      Setting a breakpoint in AccessLogValve.invoke() then doing shutdown, then releasing the break point crashes the JVM.

      The fatal error log shows the following:

      1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0d74c90e, pid=3204, tid=5944
        #
      2. JRE version: 6.0_20-b02
      3. Java VM: Java HotSpot(TM) Server VM (16.3-b01 mixed mode windows-x86 )
      4. Problematic frame:
      5. C [libapr-1.dll+0xc90e]
        #
        ...

      Current thread (0x05973400): JavaThread "http-127.0.0.1-8080-2" daemon [_thread_in_native, id=5944, stack(0x0efe0000,0x0f030000)]
      ...

      Stack: [0x0efe0000,0x0f030000], sp=0x0f02f628, free space=13d0f02f15ck
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libapr-1.dll+0xc90e]
      C [libtcnative-1.dll+0x1150]
      j org.apache.tomcat.jni.Address.get(IJ)J+0
      j org.apache.coyote.http11.Http11AprProcessor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+196
      j org.apache.coyote.Request.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+56
      j org.apache.catalina.connector.Request.getRemoteAddr()Ljava/lang/String;+18
      j org.apache.catalina.connector.Request.getRemoteHost()Ljava/lang/String;+19
      j org.apache.catalina.valves.AccessLogValve$HostElement.addElement(Ljava/lang/StringBuffer;Ljava/util/Date;Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;J)V+2
      j org.apache.catalina.valves.AccessLogValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+115
      ...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jfclere Jean-Frederic Clere
                  Reporter:
                  mmillson Mike Millson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: