JVM crash in java.util.zip.Deflater.deflateBytes
Issue
The JVM crashes with the following in the fatal error log:
# SIGSEGV (0xb) at pc=0x0000003103e07cb4, pid=28368, tid=140632258549504
#
# JRE version: OpenJDK Runtime Environment (7.0_75-b13) (build 1.7.0_75-mockbuild_2015_01_08_20_32-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.4
# Distribution: Built on Red Hat Enterprise Linux Server release 6.6 (Santiago) (Thu Jan 8 20:32:29 EST 2015)
# Problematic frame:
# C [libz.so.1+0x7cb4] _tr_stored_block+0x144
...
Current thread (0x00007fe748002000): JavaThread "http-bio-127.4.253.1-8080-exec-1" daemon [_thread_in_native, id=32307, stack(0x00007fe77fc89000,0x00007fe77fd0a000)]
...
Stack: [0x00007fe77fc89000,0x00007fe77fd0a000], sp=0x00007fe77fd012b0, free space=480k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libz.so.1+0x7cb4] _tr_stored_block+0x144
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.util.zip.Deflater.deflateBytes(J[BIII)I+0
j java.util.zip.Deflater.deflate([BIII)I+84
j java.util.zip.Deflater.deflate([BII)I+5
J 6744 C2 java.util.zip.DeflaterOutputStream.write([BII)V (88 bytes) @ 0x00007fe788c8bf98 [0x00007fe788c8bca0+0x2f8]
j java.util.zip.GZIPOutputStream.write([BII)V+4
j org.apache.coyote.http11.filters.FlushableGZIPOutputStream.flushLastByte()V+23
j org.apache.coyote.http11.filters.FlushableGZIPOutputStream.flush()V+26
j org.apache.coyote.http11.filters.GzipOutputFilter.flush()V+32
j org.apache.coyote.http11.AbstractOutputBuffer.flush()V+92
j org.apache.coyote.http11.InternalOutputBuffer.flush()V+1
j org.apache.coyote.http11.AbstractHttp11Processor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+130
j org.apache.coyote.Response.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V+31
j org.apache.catalina.connector.OutputBuffer.doFlush(Z)V+97
j org.apache.catalina.connector.OutputBuffer.flush()V+2
j org.apache.catalina.connector.CoyoteWriter.flush()V+12
...
Environment
- Red Hat Enterprise Linux (RHEL) 6.6
- OpenJDK 1.7.0_75
- Tomcat 7
org.apache.coyote.http11.Http11Protocol.COMPRESSIONenabled
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
