You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by André Brunnsberg <an...@planmill.com> on 2011/06/17 09:39:51 UTC

Java VM 1.6.0_26 crashes Tomcat 6.0.32 when HTTP compression set to on

We are running the 64-bit version of Java VM 1.6_06 together with Apache
Tomcat 6.0.32 on a 64-bit Windows Server 2003.
After we installed the latest security updates this Wednesday to Windows
the Java VM running Tomcat started to crash (it has now happened three
times.
After some investigation it seems to be the zip.dll in Java causing the
problem (check the log below), so I now turned of HTTP compression in
Tomcat.

These are the parameters we used for compression for the Connector (it's
running under port 443 on SSL).
compression="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascri
pt,text/xhtml"

Any advice or anyone familiar with this problem, I haven’t found anything
useful in the Java bug database (I submitted a bug report for this
problem) or in any discussion forum.

Thanks in advance,
André


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d8534a2,
pid=1532, tid=5188 # # JRE version: 6.0_26-b03 # Java VM: Java HotSpot(TM)
64-Bit Server VM (20.1-b02 mixed mode windows-amd64 compressed oops) #
Problematic frame:
# C  [zip.dll+0x34a2]
#
# 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 (0x0000000084b73800):  JavaThread "http-443-109" daemon
[_thread_in_native, id=5188, stack(0x000000008ea50000,0x000000008eb50000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000009f93c000

Registers:
RAX=0x000000009f929e60, RBX=0x000000009c697000, RCX=0x00000000000121a0,
RDX=0x0000000000000000 RSP=0x000000008eb4e6a0, RBP=0x0000000000000001,
RSI=0x0000000000000001, RDI=0x0000000000000000
R8 =0x000000000001219e, R9 =0x000000000000fb44, R10=0x000000009c697000,
R11=0x000000000000a275 R12=0x000000000000219c, R13=0x0000000000000002,
R14=0x0000000000000003, R15=0x0000000081f75900 RIP=0x000000006d8534a2,
EFLAGS=0x0000000000010282

Top of Stack: (sp=0x000000008eb4e6a0)
0x000000008eb4e6a0:   0000000084e4d000 0000000065621c8d
0x000000008eb4e6b0:   0000000000000003 000000000000029a
0x000000008eb4e6c0:   0000000000000003 000000000000029a
0x000000008eb4e6d0:   0000000000000001 000000009e677a90
0x000000008eb4e6e0:   0000000000000000 0000000000000001
0x000000008eb4e6f0:   000000009c697000 000000006d852983
0x000000008eb4e700:   000000009b57c7b0 0000000000000200
0x000000008eb4e710:   00000000705fef90 000007ff7fc2daab
0x000000008eb4e720:   000000009b57c7b0 0000000000000200
0x000000008eb4e730:   000000006d85a850 000000009c697000
0x000000008eb4e740:   0000000000000000 0000000000000000
0x000000008eb4e750:   0000000000000000 000000006d8539b6
0x000000008eb4e760:   00000000705fef90 0000000000000200
0x000000008eb4e770:   0000000000000200 000007ff7fc2db50
0x000000008eb4e780:   00000000705fef90 000000009e677a90
0x000000008eb4e790:   0000000000000000 000000008eb4e870

Instructions: (pc=0x000000006d8534a2)
0x000000006d853482:   4d 03 00 00 3b c7 0f 84 6e 03 00 00 41 3b c6 72
0x000000006d853492:   4f 48 8b 43 48 44 8b 83 8c 00 00 00 41 8d 48 02
0x000000006d8534a2:   0f b6 14 01 8b 43 68 8b 4b 78 d3 e0 33 d0 48 8b
0x000000006d8534b2:   43 60 23 53 74 8b ca 89 4b 68 44 0f b7 24 50 8b


Register to memory mapping:

RAX=0x000000009f929e60 is an unknown value
RBX=0x000000009c697000 is an unknown value
RCX=0x00000000000121a0 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x000000008eb4e6a0 is pointing into the stack for thread:
0x0000000084b73800
RBP=0x0000000000000001 is an unknown value
RSI=0x0000000000000001 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x000000000001219e is an unknown value
R9 =0x000000000000fb44 is an unknown value
R10=0x000000009c697000 is an unknown value
R11=0x000000000000a275 is an unknown value R12=0x000000000000219c is an
unknown value
R13=0x0000000000000002 is an unknown value
R14=0x0000000000000003 is an unknown value
R15=0x0000000081f75900 is an unknown value


Stack: [0x000000008ea50000,0x000000008eb50000],  sp=0x000000008eb4e6a0,
free space=1017k Native frames: (J=compiled Java code, j=interpreted,
Vv=VM code, C=native code) C  [zip.dll+0x34a2]
Java_java_util_zip_ZipEntry_initFields+0x1282

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J
java.util.zip.Deflater.deflateBytes(J[BII)I
J  org.apache.coyote.http11.filters.GzipOutputFilter.flush()V
J
org.apache.coyote.http11.Http11AprProcessor.action(Lorg/apache/coyote/Acti
onCode;Ljava/lang/Object;)V
J  org.apache.catalina.connector.OutputBuffer.doFlush(Z)V
J  org.apache.catalina.connector.CoyoteWriter.flush()V
J  java.io.BufferedWriter.flush()V
J  org.apache.xml.serializer.ToXMLStream.endDocument()V
j
com.planmill.translets.resourceplanner.transform(Lorg/apache/xalan/xsltc/D
OM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/Serializ
ationHandler;)V+54
J
org.apache.xalan.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform
/Source;Ljavax/xml/transform/Result;)V
j
com.planmill.foundation.XSLParser.transform(Ljavax/xml/transform/stream/St
reamSource;Ljavax/xml/transform/stream/StreamSource;Ljavax/xml/transform/s
tream/StreamResult;Ljava/lang/String;Lcom/planmill/service/SessionContaine
r;)V+103
j
com.planmill.foundation.XSLParser.transform(Ljava/io/InputStream;Ljava/io/
InputStream;Ljava/io/Writer;Ljava/lang/String;Lcom/planmill/service/Sessio
nContainer;)V+55
j
org.apache.jsp.resourceplanner.resourceplannerweek_jsp._jspService(Ljavax/
servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
+748
J
org.apache.jasper.runtime.HttpJspBase.service(Ljavax/servlet/http/HttpServ
letRequest;Ljavax/servlet/http/HttpServletResponse;)V
J
javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljava
x/servlet/ServletResponse;)V
J
org.apache.jasper.servlet.JspServletWrapper.service(Ljavax/servlet/http/Ht
tpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V
J
org.apache.jasper.servlet.JspServlet.service(Ljavax/servlet/http/HttpServl
etRequest;Ljavax/servlet/http/HttpServletResponse;)V
J
javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljava
x/servlet/ServletResponse;)V
J
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J
org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/Se
rvletRequest;Ljavax/servlet/ServletResponse;)V
j
com.planmill.service.AccessFilter.doFilter(Ljavax/servlet/ServletRequest;L
javax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+117
J
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
J
org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/
connector/Request;Lorg/apache/catalina/connector/Response;)V
J
org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/
connector/Request;Lorg/apache/catalina/connector/Response;)V
J
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/cat
alina/connector/Request;Lorg/apache/catalina/connector/Response;)V
J
org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/con
nector/Request;Lorg/apache/catalina/connector/Response;)V
J
org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/co
nnector/Request;Lorg/apache/catalina/connector/Response;)V
J
org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Req
uest;Lorg/apache/coyote/Response;)V
J
org.apache.coyote.http11.Http11AprProcessor.process(J)Lorg/apache/tomcat/u
til/net/AprEndpoint$Handler$SocketState;
J
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process
(J)Lorg/apache/tomcat/util/net/AprEndpoint$Handler$SocketState;
J  org.apache.tomcat.util.net.AprEndpoint$Worker.run()V
J  java.lang.Thread.run()V
v  ~StubRoutines::call_stub

Other Threads:
  0x0000000048817000 VMThread [stack:
0x0000000063960000,0x0000000063a60000] [id=1900]
  0x0000000048817800 WatcherThread [stack:
0x0000000064c80000,0x0000000064d80000] [id=1956]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 par new generation   total 5592384K, used 4092614K [0x0000000240000000,
0x00000003eaaa0000, 0x00000003eaaa0000)
  eden space 4194304K,  83% used [0x0000000240000000, 0x00000003169500a8,
0x0000000340000000)
  from space 1398080K,  41% used [0x0000000340000000, 0x0000000363361aa0,
0x0000000395550000)
  to   space 1398080K,   0% used [0x0000000395550000, 0x0000000395550000,
0x00000003eaaa0000)
 concurrent mark-sweep generation total 13981056K, used 5076727K
[0x00000003eaaa0000, 0x0000000740000000, 0x0000000740000000)
concurrent-mark-sweep perm gen total 3145728K, used 548701K
[0x0000000740000000, 0x0000000800000000, 0x0000000800000000)

Code Cache  [0x00000000012b0000, 0x0000000016ef0000, 0x00000000412b0000)
 total_blobs=41840 nmethods=41166 adapters=593 free_code_cache=709738368
largest_free_block=30208

Dynamic libraries:
0x0000000140000000 - 0x000000014001c000 	C:\Program Files\Apache
Software Foundation\Tomcat 6.0\bin\tomcat6.exe
0x0000000077ec0000 - 0x0000000077ffc000
C:\WINDOWS\system32\ntdll.dll
0x0000000077d40000 - 0x0000000077eb3000
C:\WINDOWS\system32\kernel32.dll
0x000007ff7fee0000 - 0x000007ff7ffe6000
C:\WINDOWS\system32\ADVAPI32.dll
0x000007ff7fd30000 - 0x000007ff7fed0000
C:\WINDOWS\system32\RPCRT4.dll
0x000007ff7e9c0000 - 0x000007ff7e9e2000
C:\WINDOWS\system32\Secur32.dll
0x000007ff7f190000 - 0x000007ff7fb9c000
C:\WINDOWS\system32\SHELL32.dll
0x000007ff7fc00000 - 0x000007ff7fc86000
C:\WINDOWS\system32\msvcrt.dll
0x000007ff7fc90000 - 0x000007ff7fd2c000
C:\WINDOWS\system32\GDI32.dll
0x0000000077c20000 - 0x0000000077d2c000
C:\WINDOWS\system32\USER32.dll
0x000007ff7ef60000 - 0x000007ff7effb000
C:\WINDOWS\system32\SHLWAPI.dll
0x000007ff7d500000 - 0x000007ff7d539000
C:\WINDOWS\system32\IMM32.DLL
0x000007ff7f000000 - 0x000007ff7f187000
C:\WINDOWS\WinSxS\amd64_Microsoft.Windows.Common-Controls_6595b64144ccf1df
_6.0.3790.4770_x-ww_3807D667\comctl32.dll
0x000000006d890000 - 0x000000006e048000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll
0x000007ff7e240000 - 0x000007ff7e290000
C:\WINDOWS\system32\WINMM.dll
0x000000006d800000 - 0x000000006d80e000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\java.dll
0x000007ff7e380000 - 0x000007ff7e390000
C:\WINDOWS\system32\PSAPI.DLL
0x000000006d850000 - 0x000000006d862000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\zip.dll
0x000000006d5e0000 - 0x000000006d5ea000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\management.dll
0x000000006d6a0000 - 0x000000006d6b7000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\net.dll
0x000007ff77310000 - 0x000007ff77340000
C:\WINDOWS\system32\WS2_32.dll
0x000007ff77140000 - 0x000007ff7714c000
C:\WINDOWS\system32\WS2HELP.dll
0x000007ff771b0000 - 0x000007ff7722d000
C:\WINDOWS\System32\mswsock.dll
0x000007ff7e8f0000 - 0x000007ff7e93f000
C:\WINDOWS\system32\DNSAPI.dll
0x000007ff7e9f0000 - 0x000007ff7e9fb000
C:\WINDOWS\System32\winrnr.dll
0x000007ff7e950000 - 0x000007ff7e9b6000
C:\WINDOWS\system32\WLDAP32.dll
0x000007ff7ea00000 - 0x000007ff7ea07000
C:\WINDOWS\system32\rasadhlp.dll
0x0000000068000000 - 0x000000006804c000
C:\WINDOWS\system32\rsaenh.dll
0x000007ff6d200000 - 0x000007ff6d293000
C:\WINDOWS\system32\hnetcfg.dll
0x000007ff77170000 - 0x000007ff7717b000
C:\WINDOWS\System32\wshtcpip.dll
0x0000000065580000 - 0x00000000656a4000 	C:\Program Files\Apache
Software Foundation\Tomcat 6.0\bin\tcnative-1.dll
0x0000000067fb0000 - 0x0000000067fb6000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\rmi.dll
0x0000000092760000 - 0x0000000092923000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\awt.dll
0x000007ff78f10000 - 0x000007ff78f51000
C:\WINDOWS\system32\WINSPOOL.DRV
0x000007ff57140000 - 0x000007ff573c5000
C:\WINDOWS\system32\ole32.dll
0x000007ff76200000 - 0x000007ff762ef000
C:\WINDOWS\WinSxS\amd64_Microsoft.Windows.Common-Controls_6595b64144ccf1df
_5.82.3790.4770_x-ww_D89390E2\COMCTL32.dll
0x000000006a750000 - 0x000000006a785000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\jpeg.dll
0x000000006a790000 - 0x000000006a7f6000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\fontmanager.dll
0x0000000067fe0000 - 0x0000000067feb000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\nio.dll
0x000000006ad00000 - 0x000000006ad3d000 	C:\Program
Files\Java\jdk1.6.0_26\jre\bin\cmm.dll

VM Arguments:
jvm_args: -Dcatalina.base=C:\Program Files\Apache Software
Foundation\Tomcat 6.0 -Dcatalina.home=C:\Program Files\Apache Software
Foundation\Tomcat 6.0 -Djava.endorsed.dirs=C:\Program Files\Apache
Software Foundation\Tomcat 6.0\endorsed -Djava.io.tmpdir=C:\Program
Files\Apache Software Foundation\Tomcat 6.0\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\Program Files\Apache Software
Foundation\Tomcat 6.0\conf\logging.properties
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8056
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false -XX:PermSize=3072m
-XX:MaxPermSize=3072M -XX:ReservedCodeCacheSize=1024m -verbose:gc
-Xloggc:D:\gc.txt -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:ParallelGCThreads=16 -XX:NewRatio=2
-XX:SurvivorRatio=3 -XX:+TieredCompilation -Xms20480m -Xmx20480m
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26 PATH=C:\Program
Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Pr
ogram
Files\Java\jdk1.6.0_05\jre\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0
OS=Windows_NT
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 11, GenuineIntel



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

OS: Windows Server 2003 family Build 3790 Service Pack 2

CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 15
stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 29357732k(11929268k free), swap
30576176k(4788436k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (20.1-b02) for windows-amd64
JRE (1.6.0_26-b03), built on May  4 2011 07:15:24 by "java_re" with MS
VC++ 8.0 (VS2005)

time: Fri Jun 17 09:36:28 2011
elapsed time: 54142 seconds

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