https://issues.apache.org/bugzilla/show_bug.cgi?id=48584

           Summary: Error or ACCESS_VIOLATION on shutdown
           Product: Tomcat Native
           Version: 1.1.19
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: knst.koli...@gmail.com


Microsoft Windows XP Professional, 5.1.2600 Service Pack 3 Build 2600
Localized (Russian)

Steps to reproduce:
1. install 6.0.24, bundled with TC-Native 1.1.19
2. define JRE_HOME variable. I used JRE 6u17.
3. goto %CATALINA_HOME%/bin and run  startup.bat
4. wait a while and run  shutdown.bat
5. one of the following behaviours is observed:
a) a message is written to catalina.<date>.log after all other shutdown
sequence messages:

20.01.2010 5:37:28 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
20.01.2010 5:37:28 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
20.01.2010 5:37:29 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
20.01.2010 5:37:29 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
20.01.2010 5:37:29 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
20.01.2010 5:37:29 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
org.apache.tomcat.jni.Error: ???????? ???????????? ???????? ???????
WSACancelBlockingCall.  
    at org.apache.tomcat.jni.Socket.accept(Native Method)
    at
org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1156)
    at java.lang.Thread.run(Unknown Source)

Inability to display the localized message should be another issue. Disregard
it for now.


b) no message is printed, but a  hs_err_pid<number>.log file is created in
%CATALINA_HOME%/bin.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100045c7, pid=4396, tid=480
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [tcnative-1.dll+0x45c7]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0b153c00):  JavaThread "ajp-8009-Acceptor-0" daemon
[_thread_in_native, id=480, stack(0x0c780000,0x0c7d0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0b549488

Registers:
EAX=0x0c156298, EBX=0x0b549480, ECX=0x0c7cfdd8, EDX=0x00000004
ESP=0x0c7cfc48, EBP=0x0c7cfc58, ESI=0x0c1562d8, EDI=0x0b153c00
EIP=0x100045c7, EFLAGS=0x00010202

Top of Stack: (sp=0x0c7cfc48)
0x0c7cfc48:   0709a7c8 0709a7d0 00000000 0c156298
0x0c7cfc58:   0c7cfc9c 00a09e37 0b153d10 0c7cfca4
0x0c7cfc68:   0b549480 00000000 002b0000 0c7cfa6c
0x0c7cfc78:   7c911028 0c7cfc7c 00000000 0c7cfcb0
0x0c7cfc88:   0709b7c0 00000000 0709a7d0 00000000
0x0c7cfc98:   0c7cfcac 0c7cfcd4 00a02e83 0709b760
0x0c7cfca8:   00a08269 0b549480 00000000 0c7cfcb4
0x0c7cfcb8:   072a2148 0c7cfce4 072a23f0 00000000 

Instructions: (pc=0x100045c7)
0x100045b7:   52 e8 93 d1 ff ff 83 c4 08 8b 45 fc 85 c0 74 0d
0x100045c7:   8b 4b 08 85 c9 74 06 50 e8 cc af 00 00 33 c0 5e 


Stack: [0x0c780000,0x0c7d0000],  sp=0x0c7cfc48,  free space=319k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [tcnative-1.dll+0x45c7]
j  org.apache.tomcat.jni.Socket.accept(J)J+0
j  org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V+40
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0xecf9c]
V  [jvm.dll+0x1741d1]
V  [jvm.dll+0xed167]
V  [jvm.dll+0xed1dd]
V  [jvm.dll+0x116290]
V  [jvm.dll+0x1d0414]
V  [jvm.dll+0x173e4c]
C  [msvcr71.dll+0x9565]
C  [kernel32.dll+0xb729]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.apache.tomcat.jni.Socket.accept(J)J+0
j  org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V+40
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

(I am skipping the rest of the file...)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to