You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/11/08 15:05:20 UTC

DO NOT REPLY [Bug 52153] New: periodic JVM crash (access violation) on buffer flush

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

             Bug #: 52153
           Summary: periodic JVM crash (access violation) on buffer flush
           Product: Tomcat Native
           Version: 1.1.22
          Platform: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Library
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jwilkins@opentext.com
    Classification: Unclassified


Using Tomcat 6.0.33, our comet io servlet with apr 1.1.22, ssl enabled, on a
system with moderate load, results in a crash-and-restart more or less
identical to the one below at an apparently random interval of anywhere from a
few minutes to a few hours. Unfortunately, we haven't yet found a way to
reproduce this on demand.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010094b75, pid=3528,
tid=892
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode windows-amd64
compressed oops)
# Problematic frame:
# C  [tcnative-1.dll+0x94b75]
#
# 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 (0x00000000069d4000):  JavaThread "Message Feed 5" daemon
[_thread_in_native, id=892, stack(0x000000000af60000,0x000000000b060000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000000000010c

Registers:
RAX=0x0000000000000000, RBX=0x0000000005d77f10, RCX=0x000000000555ce40,
RDX=0x00000000fffffff0
RSP=0x000000000b05ed00, RBP=0x0000000000002328, RSI=0x00000000057d10d0,
RDI=0x0000000005a97235
R8 =0x000000d500920011, R9 =0x000000d600860012, R10=0x00000000c0000005,
R11=0x00000000ffffffff
R12=0x0000000005ee6000, R13=0x0000000000002328, R14=0x0000000000000017,
R15=0x0000000000000000
RIP=0x0000000010094b75, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x000000000b05ed00)
0x000000000b05ed00:   0000000005d77f10 0000000000002328
0x000000000b05ed10:   00000000057d10d0 0000000005a97235
0x000000000b05ed20:   0000000000000023 0000000010094acc
0x000000000b05ed30:   0000000005d77f10 00000000100967fa
0x000000000b05ed40:   0000000005d77f10 0000000000002328
0x000000000b05ed50:   00000000057d10d0 0000000005a97235
0x000000000b05ed60:   0000000000000000 00000000010c185a
0x000000000b05ed70:   0000000000000014 0000000005a97233
0x000000000b05ed80:   000000000b05ed80 00000000069d4000
0x000000000b05ed90:   0000000000002328 0000000005ee6000
0x000000000b05eda0:   000000000b05eea8 0000000000002328
0x000000000b05edb0:   0000000005ee6000 0000000000000000
0x000000000b05edc0:   0000000005d77f10 00000000100995c5
0x000000000b05edd0:   0000000000000000 0000000000000017
0x000000000b05ede0:   0000000005ee6000 000000006d9f23d0
0x000000000b05edf0:   000000001009949a 000000001000dcae 

Instructions: (pc=0x0000000010094b75)
0x0000000010094b55:   00 00 44 8d 42 e1 c7 44 24 20 f4 02 00 00 e8 e8
0x0000000010094b65:   7d f9 ff 41 bb ff ff ff ff 48 8b 83 80 00 00 00
0x0000000010094b75:   44 3b 98 0c 01 00 00 74 1f 45 85 db 7e 3e 44 01
0x0000000010094b85:   98 08 01 00 00 48 8b 83 80 00 00 00 44 29 98 0c 


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x0000000005d77f10 is an unknown value
RCX=0x000000000555ce40 is an unknown value
RDX=0x00000000fffffff0 is an unknown value
RSP=0x000000000b05ed00 is pointing into the stack for thread:
0x00000000069d4000
RBP=0x0000000000002328 is an unknown value
RSI=0x00000000057d10d0 is an unknown value
RDI=0x0000000005a97235 is an unknown value
R8 =0x000000d500920011 is an unknown value
R9 =0x000000d600860012 is an unknown value
R10=0x00000000c0000005 is an unknown value
R11=0x00000000ffffffff is an unknown value
R12=0x0000000005ee6000 is an unknown value
R13=0x0000000000002328 is an unknown value
R14=0x0000000000000017 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x000000000af60000,0x000000000b060000],  sp=0x000000000b05ed00,  free
space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [tcnative-1.dll+0x94b75]  Java_org_apache_tomcat_jni_Proc_detach+0x7a545

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.apache.tomcat.jni.Socket.sendbb(JII)I+0
j  org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer()V+22
j 
org.apache.coyote.http11.InternalAprOutputBuffer$SocketOutputBuffer.doWrite(Lorg/apache/tomcat/util/buf/ByteChunk;Lorg/apache/coyote/Response;)I+51
j 
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(Lorg/apache/tomcat/util/buf/ByteChunk;Lorg/apache/coyote/Response;)I+83
j 
org.apache.coyote.http11.InternalAprOutputBuffer.doWrite(Lorg/apache/tomcat/util/buf/ByteChunk;Lorg/apache/coyote/Response;)I+49
j 
org.apache.coyote.Response.doWrite(Lorg/apache/tomcat/util/buf/ByteChunk;)V+6
j  org.apache.catalina.connector.OutputBuffer.realWriteBytes([BII)V+38
j  org.apache.tomcat.util.buf.ByteChunk.append([BII)V+202
j  org.apache.catalina.connector.OutputBuffer.writeBytes([BII)V+15
j  org.apache.catalina.connector.OutputBuffer.write([BII)V+12
j  org.apache.catalina.connector.CoyoteOutputStream.write([BII)V+7
j  java.io.PrintStream.write([BII)V+16
j  java.io.FilterOutputStream.write([B)V+5
j 
com.opentext.ecm.otsync.ws.ServletUtil.write(Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V+49
j 
com.opentext.ecm.otsync.ws.server.nio.CometFrontChannelResponseHandler.send(Ljava/util/Map;)V+30
j 
com.opentext.ecm.otsync.message.MessageService.onMessage(Lcom/opentext/ecm/otsync/message/Message;)V+16
j 
com.opentext.ecm.otsync.message.MessageService.onMessage(Ljava/lang/Object;)V+5
j  com.opentext.ecm.otsync.util.MessageFeed.fireMessage(Ljava/lang/Object;)V+35
j 
com.opentext.ecm.otsync.util.MessageFeed.access$100(Lcom/opentext/ecm/otsync/util/MessageFeed;Ljava/lang/Object;)V+2
j  com.opentext.ecm.otsync.util.MessageFeed$MessageFeedServiceThread.run()V+49
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00000000069da800 JavaThread "http-443-5" daemon [_thread_blocked, id=2872,
stack(0x000000000d800000,0x000000000d900000)]
  0x00000000069d9800 JavaThread "http-443-4" daemon [_thread_in_native,
id=2804, stack(0x000000000d700000,0x000000000d800000)]
  0x00000000069d9000 JavaThread "http-443-3" daemon [_thread_blocked, id=2504,
stack(0x000000000d600000,0x000000000d700000)]
  0x00000000069d8000 JavaThread "http-443-2" daemon [_thread_blocked, id=3184,
stack(0x000000000d500000,0x000000000d600000)]
  0x00000000069d7800 JavaThread "http-443-1" daemon [_thread_blocked, id=2620,
stack(0x000000000b460000,0x000000000b560000)]
  0x00000000069d7000 JavaThread "Message Feed 9" daemon [_thread_blocked,
id=4076, stack(0x000000000b360000,0x000000000b460000)]
  0x00000000069d6000 JavaThread "Message Feed 8" daemon [_thread_blocked,
id=756, stack(0x000000000b260000,0x000000000b360000)]
  0x00000000069d5800 JavaThread "Message Feed 7" daemon [_thread_blocked,
id=1868, stack(0x000000000b160000,0x000000000b260000)]
  0x00000000069d4800 JavaThread "Message Feed 6" daemon [_thread_blocked,
id=548, stack(0x000000000b060000,0x000000000b160000)]
=>0x00000000069d4000 JavaThread "Message Feed 5" daemon [_thread_in_native,
id=892, stack(0x000000000af60000,0x000000000b060000)]
  0x00000000069d3000 JavaThread "Message Feed 4" daemon [_thread_blocked,
id=2404, stack(0x000000000ae60000,0x000000000af60000)]
  0x00000000069d2800 JavaThread "Message Feed 3" daemon [_thread_blocked,
id=2740, stack(0x000000000ad60000,0x000000000ae60000)]
  0x00000000069d1800 JavaThread "Message Feed 2" daemon [_thread_blocked,
id=3132, stack(0x000000000ac60000,0x000000000ad60000)]
  0x00000000069d1000 JavaThread "Message Feed 1" daemon [_thread_blocked,
id=3792, stack(0x000000000aa00000,0x000000000ab00000)]
  0x00000000069d0800 JavaThread "Message Feed 0" daemon [_thread_blocked,
id=644, stack(0x000000000a8f0000,0x000000000a9f0000)]
  0x000000000673a000 JavaThread "ajp-8009-Acceptor-0" daemon
[_thread_in_native, id=432, stack(0x000000000a6e0000,0x000000000a7e0000)]
  0x0000000006739800 JavaThread "ajp-8009-CometPoller-7" daemon
[_thread_blocked, id=1820, stack(0x000000000a5e0000,0x000000000a6e0000)]
  0x0000000006738800 JavaThread "ajp-8009-CometPoller-6" daemon
[_thread_blocked, id=1852, stack(0x000000000a4e0000,0x000000000a5e0000)]
  0x0000000006738000 JavaThread "ajp-8009-CometPoller-5" daemon
[_thread_blocked, id=2688, stack(0x000000000a3e0000,0x000000000a4e0000)]
  0x0000000006737000 JavaThread "ajp-8009-CometPoller-4" daemon
[_thread_blocked, id=3336, stack(0x000000000a2e0000,0x000000000a3e0000)]
  0x0000000006736800 JavaThread "ajp-8009-CometPoller-3" daemon
[_thread_blocked, id=2768, stack(0x000000000a1e0000,0x000000000a2e0000)]
  0x0000000006735800 JavaThread "ajp-8009-CometPoller-2" daemon
[_thread_blocked, id=2000, stack(0x000000000a0e0000,0x000000000a1e0000)]
  0x0000000006735000 JavaThread "ajp-8009-CometPoller-1" daemon
[_thread_blocked, id=1888, stack(0x0000000009fe0000,0x000000000a0e0000)]
  0x0000000006734800 JavaThread "ajp-8009-CometPoller-0" daemon
[_thread_blocked, id=3464, stack(0x0000000009ee0000,0x0000000009fe0000)]
  0x0000000006733800 JavaThread "ajp-8009-Poller-7" daemon [_thread_blocked,
id=240, stack(0x0000000009de0000,0x0000000009ee0000)]
  0x0000000006733000 JavaThread "ajp-8009-Poller-6" daemon [_thread_blocked,
id=2892, stack(0x0000000009ce0000,0x0000000009de0000)]
  0x0000000006732000 JavaThread "ajp-8009-Poller-5" daemon [_thread_blocked,
id=1188, stack(0x0000000009be0000,0x0000000009ce0000)]
  0x0000000006731800 JavaThread "ajp-8009-Poller-4" daemon [_thread_blocked,
id=1424, stack(0x0000000009ae0000,0x0000000009be0000)]
  0x0000000006730800 JavaThread "ajp-8009-Poller-3" daemon [_thread_blocked,
id=1836, stack(0x00000000099e0000,0x0000000009ae0000)]
  0x0000000006730000 JavaThread "ajp-8009-Poller-2" daemon [_thread_blocked,
id=2520, stack(0x00000000098e0000,0x00000000099e0000)]
  0x000000000672f000 JavaThread "ajp-8009-Poller-1" daemon [_thread_blocked,
id=3356, stack(0x00000000097e0000,0x00000000098e0000)]
  0x000000000672e800 JavaThread "ajp-8009-Poller-0" daemon [_thread_blocked,
id=3920, stack(0x00000000096e0000,0x00000000097e0000)]
  0x000000000672e000 JavaThread "http-8080-1" daemon [_thread_blocked, id=4008,
stack(0x00000000095e0000,0x00000000096e0000)]
  0x000000000672d000 JavaThread "http-443-Acceptor-0" daemon
[_thread_in_native, id=2656, stack(0x00000000094e0000,0x00000000095e0000)]
  0x000000000672c800 JavaThread "http-443-CometPoller-7" daemon
[_thread_blocked, id=3208, stack(0x00000000093e0000,0x00000000094e0000)]
  0x000000000672b800 JavaThread "http-443-CometPoller-6" daemon
[_thread_in_native, id=464, stack(0x00000000092e0000,0x00000000093e0000)]
  0x000000000672b000 JavaThread "http-443-CometPoller-5" daemon
[_thread_in_native, id=1552, stack(0x00000000091e0000,0x00000000092e0000)]
  0x00000000063f0000 JavaThread "http-443-CometPoller-4" daemon
[_thread_in_native, id=200, stack(0x00000000090e0000,0x00000000091e0000)]
  0x00000000063ef000 JavaThread "http-443-CometPoller-3" daemon
[_thread_in_native, id=4032, stack(0x0000000008fe0000,0x00000000090e0000)]
  0x00000000063ee800 JavaThread "http-443-CometPoller-2" daemon
[_thread_in_native, id=2548, stack(0x0000000008ee0000,0x0000000008fe0000)]
  0x00000000063ed800 JavaThread "http-443-CometPoller-1" daemon
[_thread_in_native, id=588, stack(0x0000000008de0000,0x0000000008ee0000)]
  0x00000000063ed000 JavaThread "http-443-CometPoller-0" daemon
[_thread_blocked, id=264, stack(0x0000000008ce0000,0x0000000008de0000)]
  0x00000000063ec000 JavaThread "http-443-Poller-7" daemon [_thread_blocked,
id=1936, stack(0x0000000008be0000,0x0000000008ce0000)]
  0x00000000063eb800 JavaThread "http-443-Poller-6" daemon [_thread_blocked,
id=2640, stack(0x0000000008ae0000,0x0000000008be0000)]
  0x00000000063eb000 JavaThread "http-443-Poller-5" daemon [_thread_blocked,
id=3112, stack(0x00000000089e0000,0x0000000008ae0000)]
  0x00000000063ea000 JavaThread "http-443-Poller-4" daemon [_thread_blocked,
id=3724, stack(0x00000000088e0000,0x00000000089e0000)]
  0x00000000063e9800 JavaThread "http-443-Poller-3" daemon [_thread_blocked,
id=2840, stack(0x00000000087e0000,0x00000000088e0000)]
  0x00000000063e8800 JavaThread "http-443-Poller-2" daemon [_thread_blocked,
id=1516, stack(0x00000000086e0000,0x00000000087e0000)]
  0x00000000063e8000 JavaThread "http-443-Poller-1" daemon [_thread_blocked,
id=2576, stack(0x00000000085e0000,0x00000000086e0000)]
  0x00000000063e7000 JavaThread "http-443-Poller-0" daemon [_thread_blocked,
id=3144, stack(0x00000000084e0000,0x00000000085e0000)]
  0x00000000063e6800 JavaThread "http-8080-Acceptor-0" daemon
[_thread_in_native, id=1896, stack(0x00000000083e0000,0x00000000084e0000)]
  0x00000000063e5800 JavaThread "http-8080-Sendfile-0" daemon [_thread_blocked,
id=3188, stack(0x00000000082e0000,0x00000000083e0000)]
  0x00000000063e5000 JavaThread "http-8080-CometPoller-7" daemon
[_thread_blocked, id=2024, stack(0x00000000081e0000,0x00000000082e0000)]
  0x00000000063e4800 JavaThread "http-8080-CometPoller-6" daemon
[_thread_blocked, id=3980, stack(0x00000000080e0000,0x00000000081e0000)]
  0x00000000063e3800 JavaThread "http-8080-CometPoller-5" daemon
[_thread_blocked, id=2808, stack(0x0000000007fe0000,0x00000000080e0000)]
  0x00000000063e3000 JavaThread "http-8080-CometPoller-4" daemon
[_thread_blocked, id=1088, stack(0x0000000007ee0000,0x0000000007fe0000)]
  0x00000000063e2000 JavaThread "http-8080-CometPoller-3" daemon
[_thread_in_native, id=2972, stack(0x0000000007de0000,0x0000000007ee0000)]
  0x00000000063e1800 JavaThread "http-8080-CometPoller-2" daemon
[_thread_blocked, id=1032, stack(0x0000000007ce0000,0x0000000007de0000)]
  0x00000000063e0800 JavaThread "http-8080-CometPoller-1" daemon
[_thread_blocked, id=2336, stack(0x0000000007be0000,0x0000000007ce0000)]
  0x000000000618b000 JavaThread "http-8080-CometPoller-0" daemon
[_thread_blocked, id=4060, stack(0x0000000007ae0000,0x0000000007be0000)]
  0x0000000005aab000 JavaThread "http-8080-Poller-7" daemon [_thread_blocked,
id=3520, stack(0x00000000079e0000,0x0000000007ae0000)]
  0x0000000005e90800 JavaThread "http-8080-Poller-6" daemon [_thread_blocked,
id=1808, stack(0x00000000078e0000,0x00000000079e0000)]
  0x00000000054de800 JavaThread "http-8080-Poller-5" daemon [_thread_blocked,
id=2812, stack(0x00000000077e0000,0x00000000078e0000)]
  0x00000000059cc000 JavaThread "http-8080-Poller-4" daemon [_thread_blocked,
id=4004, stack(0x00000000076e0000,0x00000000077e0000)]
  0x0000000005c71000 JavaThread "http-8080-Poller-3" daemon [_thread_blocked,
id=2616, stack(0x00000000075e0000,0x00000000076e0000)]
  0x00000000057c6000 JavaThread "http-8080-Poller-2" daemon [_thread_blocked,
id=3204, stack(0x00000000074e0000,0x00000000075e0000)]
  0x000000000582c800 JavaThread "http-8080-Poller-1" daemon [_thread_blocked,
id=500, stack(0x00000000073e0000,0x00000000074e0000)]
  0x0000000005d78800 JavaThread "http-8080-Poller-0" daemon [_thread_blocked,
id=2464, stack(0x00000000072e0000,0x00000000073e0000)]
  0x0000000005d7a800 JavaThread
"ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
[_thread_blocked, id=1468, stack(0x00000000071e0000,0x00000000072e0000)]
  0x0000000005ee1800 JavaThread "GC Daemon" daemon [_thread_blocked, id=760,
stack(0x0000000007020000,0x0000000007120000)]
  0x00000000003b1800 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=1104, stack(0x0000000005150000,0x0000000005250000)]
  0x00000000003b0000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked,
id=2612, stack(0x0000000005050000,0x0000000005150000)]
  0x0000000000398800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked,
id=3644, stack(0x0000000004f50000,0x0000000005050000)]
  0x0000000000397000 JavaThread "Attach Listener" daemon [_thread_blocked,
id=1992, stack(0x0000000004e50000,0x0000000004f50000)]
  0x0000000000394000 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=1472, stack(0x0000000004d50000,0x0000000004e50000)]
  0x0000000000383000 JavaThread "Finalizer" daemon [_thread_blocked, id=2028,
stack(0x0000000004a50000,0x0000000004b50000)]
  0x0000000000381000 JavaThread "Reference Handler" daemon [_thread_blocked,
id=2672, stack(0x0000000004950000,0x0000000004a50000)]
  0x000000000046c000 JavaThread "main" [_thread_in_native, id=3620,
stack(0x0000000000fb0000,0x00000000010b0000)]

Other Threads:
  0x000000000037a800 VMThread [stack: 0x0000000004850000,0x0000000004950000]
[id=1860]
  0x00000000003b8800 WatcherThread [stack:
0x0000000005250000,0x0000000005350000] [id=3504]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 629120K, used 529350K [0x000000077ae00000,
0x00000007a58a0000, 0x00000007a58a0000)
  eden space 559232K,  94% used [0x000000077ae00000, 0x000000079b2f18e8,
0x000000079d020000)
  from space 69888K,   0% used [0x000000079d020000, 0x000000079d020000,
0x00000007a1460000)
  to   space 69888K,   0% used [0x00000007a1460000, 0x00000007a1460000,
0x00000007a58a0000)
 tenured generation   total 1398144K, used 2512K [0x00000007a58a0000,
0x00000007fae00000, 0x00000007fae00000)
   the space 1398144K,   0% used [0x00000007a58a0000, 0x00000007a5b14150,
0x00000007a5b14200, 0x00000007fae00000)
 compacting perm gen  total 22208K, used 22125K [0x00000007fae00000,
0x00000007fc3b0000, 0x0000000800000000)
   the space 22208K,  99% used [0x00000007fae00000, 0x00000007fc39b6c8,
0x00000007fc39b800, 0x00000007fc3b0000)
No shared spaces configured.

Code Cache  [0x00000000010b0000, 0x0000000001320000, 0x00000000040b0000)
 total_blobs=608 nmethods=302 adapters=259 free_code_cache=48393408
largest_free_block=489088

Dynamic libraries:
0x0000000140000000 - 0x000000014001c000     D:\Program Files\Apache Software
Foundation\Tomcat 6.0\bin\Tomcat6.exe
0x0000000077160000 - 0x0000000077309000     C:\Windows\SYSTEM32\ntdll.dll
0x0000000076c90000 - 0x0000000076daf000     C:\Windows\system32\kernel32.dll
0x000007fefd820000 - 0x000007fefd88c000     C:\Windows\system32\KERNELBASE.dll
0x000007feff140000 - 0x000007feff21b000     C:\Windows\system32\ADVAPI32.dll
0x000007feff220000 - 0x000007feff2bf000     C:\Windows\system32\msvcrt.dll
0x000007fefdf90000 - 0x000007fefdfaf000     C:\Windows\SYSTEM32\sechost.dll
0x000007fefdfb0000 - 0x000007fefe0dd000     C:\Windows\system32\RPCRT4.dll
0x000007fefe240000 - 0x000007fefefc8000     C:\Windows\system32\SHELL32.dll
0x000007fefe0e0000 - 0x000007fefe151000     C:\Windows\system32\SHLWAPI.dll
0x000007fefeff0000 - 0x000007feff057000     C:\Windows\system32\GDI32.dll
0x0000000077060000 - 0x000000007715a000     C:\Windows\system32\USER32.dll
0x000007fefe160000 - 0x000007fefe16e000     C:\Windows\system32\LPK.dll
0x000007fefe170000 - 0x000007fefe239000     C:\Windows\system32\USP10.dll
0x000007feff060000 - 0x000007feff08e000     C:\Windows\system32\IMM32.DLL
0x000007feff2c0000 - 0x000007feff3c9000     C:\Windows\system32\MSCTF.dll
0x000000006d7f0000 - 0x000000006dfa8000     D:\Program
Files\Java\jre6\bin\server\jvm.dll
0x000007fef9140000 - 0x000007fef917b000     C:\Windows\system32\WINMM.dll
0x000000006d760000 - 0x000000006d76e000     D:\Program
Files\Java\jre6\bin\verify.dll
0x000000006d3b0000 - 0x000000006d3d7000     D:\Program
Files\Java\jre6\bin\java.dll
0x000000006d7b0000 - 0x000000006d7c2000     D:\Program
Files\Java\jre6\bin\zip.dll
0x000000006d540000 - 0x000000006d54a000     D:\Program
Files\Java\jre6\bin\management.dll
0x0000000010000000 - 0x0000000010125000     D:\Program Files\Apache Software
Foundation\Tomcat 6.0\bin\tcnative-1.dll
0x0000000077320000 - 0x0000000077327000     C:\Windows\system32\PSAPI.DLL
0x000007fefdd80000 - 0x000007fefddcd000     C:\Windows\system32\WS2_32.dll
0x000007feff130000 - 0x000007feff138000     C:\Windows\system32\NSI.dll
0x000007fefce10000 - 0x000007fefce65000     C:\Windows\system32\MSWSOCK.dll
0x000007fefcdf0000 - 0x000007fefce07000     C:\Windows\system32\CRYPTSP.dll
0x000007fefcca0000 - 0x000007fefcce7000     C:\Windows\system32\rsaenh.dll
0x000007fefd4b0000 - 0x000007fefd4bf000     C:\Windows\system32\CRYPTBASE.dll
0x000007fefc7d0000 - 0x000007fefc7d7000     C:\Windows\System32\wshtcpip.dll
0x000000006d600000 - 0x000000006d617000     D:\Program
Files\Java\jre6\bin\net.dll
0x000007fefcdb0000 - 0x000007fefcdb7000     C:\Windows\System32\wship6.dll
0x000007fefcaa0000 - 0x000007fefcafb000     C:\Windows\system32\DNSAPI.dll
0x000007fefbb40000 - 0x000007fefbb67000     C:\Windows\system32\IPHLPAPI.DLL
0x000007fefbb30000 - 0x000007fefbb3b000     C:\Windows\system32\WINNSI.DLL
0x000007fefd990000 - 0x000007fefdb93000     C:\Windows\system32\ole32.dll
0x000007fefd580000 - 0x000007fefd58f000     C:\Windows\system32\profapi.dll
0x000007fefc260000 - 0x000007fefc275000     C:\Windows\system32\NLAapi.dll
0x000007fefaee0000 - 0x000007fefaef5000     C:\Windows\system32\napinsp.dll
0x000007fefaf10000 - 0x000007fefaf1b000     C:\Windows\System32\winrnr.dll
0x000007fefaf40000 - 0x000007fefaf48000     C:\Windows\system32\rasadhlp.dll
0x000007fefb930000 - 0x000007fefb983000     C:\Windows\System32\fwpuclnt.dll
0x000007feed220000 - 0x000007feed345000     C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dcatalina.home=D:\Program Files\Apache Software Foundation\Tomcat
6.0 -Dcatalina.base=D:\Program Files\Apache Software Foundation\Tomcat 6.0
-Djava.endorsed.dirs=D:\Program Files\Apache Software Foundation\Tomcat
6.0\endorsed -Djava.io.tmpdir=D:\Program Files\Apache Software
Foundation\Tomcat 6.0\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=D:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf\logging.properties -Xms2048m -Xmx2048m 
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
USERNAME=WLECMSYNC01$
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 5,
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

Memory: 4k page, physical 4193848k(2491232k free), swap 8385848k(5182188k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (20.2-b06) for windows-amd64 JRE
(1.6.0_27-b07), built on Jul 19 2011 01:08:22 by "java_re" with MS VC++ 8.0
(VS2005)

time: Sat Nov 05 05:43:09 2011
elapsed time: 207 seconds

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #4 from Konstantin Kolinko <kn...@gmail.com> 2011-11-22 10:30:16 UTC ---
Can you add the following line to conf/catalina.properties:
org.apache.catalina.connector.RECYCLE_FACADES=true

That setting will prevent applications from writing to recycled
request/response objects.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

Jens Teglhus Møller <jt...@mostlyharmless.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jtm@mostlyharmless.dk

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

John Wilkinson <jw...@opentext.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwilkins@opentext.com
         OS/Version|                            |All

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #6 from John Wilkinson <jw...@opentext.com> 2011-11-22 14:45:21 UTC ---
Test failed--the crash still happens with this setting enabled.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #5 from John Wilkinson <jw...@opentext.com> 2011-11-22 13:58:07 UTC ---
Thanks, testing RECYCLE_FACADES=true now. Initial tests are promising, but it
will take production deployment to be sure. Will let you know.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #3 from John Wilkinson <jw...@opentext.com> 2011-11-21 16:40:10 UTC ---
Negative on the apr upgrade fix--crashes still happening.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #7 from Jens Teglhus Møller <jt...@mostlyharmless.dk> 2011-12-13 13:40:37 UTC ---
Just to confirm that this also happens on:

---8<---
OS: Windows 2000 Build 2195 Service Pack 4

CPU:total 4 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 5,
cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 3964436k(1379056k free), swap 7194332k(2302652k free)

vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE
(1.6.0_26-b03), built on May  4 2011 00:50:59 by "java_re" with MS VC++ 7.1
(VS2003)
---8<---

I can attach a JVM dump if you want.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #1 from John Wilkinson <jw...@opentext.com> 2011-11-15 18:56:58 UTC ---
We've confirmed the following:
-only happens with ssl and apr
-occurs (but not always) when a client's request times out after the response
data is written, but before flush() or close() is called (we can reproduce
relatively easily by forcing the writing thread to wait before closing the
stream).

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

--- Comment #2 from John Wilkinson <jw...@opentext.com> 2011-11-17 21:00:12 UTC ---
This problem appears to be resolved by building tcnative-1.dll with the latest
APR lib (1.4.5), instead of the 1.3.12 used in the distributed build.

We will be testing this fix further in the coming days.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #9 from Christopher Schultz <ch...@christopherschultz.net> ---
Due to the age of this bug, and the fact that it looks like it is the same
issue as bug #51813 (which has been fixed). I'm marking this as WORKSFORME.
Please REOPEN this bug if it can be reproduced using the latest version of
tcnative (currently 1.1.29).

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 52153] periodic JVM crash (access violation) on buffer flush

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52153

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #8 from Christopher Schultz <ch...@christopherschultz.net> ---
Possible dupe of bug #51813?

It looks like an OutputStream is being retained by some component and used
after it should no longer be used (i.e. MessageFeedServiceThread).

Please re-try with latest Tomcat and tcnative.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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