Skip to content

Instantly share code, notes, and snippets.

@ari
Created May 30, 2016 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ari/fc827478f7d48a0e5282c83a7b4ad3a4 to your computer and use it in GitHub Desktop.
Save ari/fc827478f7d48a0e5282c83a7b4ad3a4 to your computer and use it in GitHub Desktop.
JVM crash in ZIP_GetEntry
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000803c3e17a, pid=25276, tid=0x00000000000195b3
#
# JRE version: OpenJDK Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.92-b14 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libzip.so+0x517a] ZIP_GetEntry+0x11a
#
# Core dump written. Default location: /usr/local/onCourse/java.core
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting (printing register info), id 0xb]
Stack: [0x00007fffdd9d9000,0x00007fffddad9000], sp=0x00007fffddad69c0, free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libzip.so+0x517a] ZIP_GetEntry+0x11a
C [libzip.so+0x367c] Java_java_util_zip_ZipFile_getEntry+0x9c
J 272 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0x000000080417b426 [0x000000080417b340+0xe6]
J 684 C2 java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry; (22 bytes) @ 0x00000008042ab09c [0x00000008042aad20+0x37c]
J 687 C2 sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (85 bytes) @ 0x00000008042a8138 [0x00000008042a7fa0+0x198]
J 17050 C2 sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (83 bytes) @ 0x000000080751be00 [0x000000080751bd00+0x100]
J 3608 C2 java.net.URLClassLoader$1.run()Ljava/lang/Object; (5 bytes) @ 0x0000000804f654bc [0x0000000804f64fa0+0x51c]
v ~StubRoutines::call_stub
V [libjvm.so+0x5a08cb] AsyncGetCallTrace+0xcb4eb
V [libjvm.so+0x5feac9] JVM_DoPrivileged+0x999
J 503 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x0000000804213e6d [0x0000000804213d80+0xed]
J 3389 C2 java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; (47 bytes) @ 0x0000000804ca19b4 [0x0000000804ca18e0+0xd4]
J 7691 C2 java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; (122 bytes) @ 0x00000008059ed3d4 [0x00000008059ebfa0+0x1434]
J 8209 C1 groovy.lang.GroovyClassLoader.loadClass(Ljava/lang/String;ZZZ)Ljava/lang/Class; (360 bytes) @ 0x0000000805af67dc [0x0000000805af61a0+0x63c]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e6184 [0x00000008060e3f20+0x2264]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
j org.codehaus.groovy.control.ResolveVisitor.visitClass(Lorg/codehaus/groovy/ast/ClassNode;)V+124
j org.codehaus.groovy.control.ResolveVisitor.startResolving(Lorg/codehaus/groovy/ast/ClassNode;Lorg/codehaus/groovy/control/SourceUnit;)V+7
j org.codehaus.groovy.control.CompilationUnit$11.call(Lorg/codehaus/groovy/control/SourceUnit;)V+79
J 9459 C1 org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(Lorg/codehaus/groovy/control/CompilationUnit$SourceUnitOperation;)V (138 bytes) @ 0x0000000805f65e14 [0x0000000805f656a0+0x774]
J 8894 C1 org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(Ljava/lang/Object;)V (45 bytes) @ 0x00000008057911ec [0x0000000805790da0+0x44c]
j org.codehaus.groovy.control.CompilationUnit.compile(I)V+42
j net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits([Lnet/sf/jasperreports/engine/design/JRCompilationUnit;Ljava/lang/String;Ljava/io/File;)Ljava/lang/String;+133
j net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(Lnet/sf/jasperreports/engine/design/JasperDesign;)Lnet/sf/jasperreports/engine/JasperReport;+297
j net.sf.jasperreports.engine.JasperCompileManager.compile(Lnet/sf/jasperreports/engine/design/JasperDesign;)Lnet/sf/jasperreports/engine/JasperReport;+6
j net.sf.jasperreports.engine.JasperCompileManager.compile(Ljava/io/InputStream;)Lnet/sf/jasperreports/engine/JasperReport;+7
j net.sf.jasperreports.engine.JasperCompileManager.compileReport(Ljava/io/InputStream;)Lnet/sf/jasperreports/engine/JasperReport;+4
j ish.oncourse.server.print.PrintWorker.compileReport(Lish/oncourse/server/cayenne/Report;)Lnet/sf/jasperreports/engine/JasperReport;+19
j ish.oncourse.server.print.PrintWorker.getCompiledReport(Lish/oncourse/server/cayenne/Report;)Lnet/sf/jasperreports/engine/JasperReport;+23
j ish.oncourse.server.print.PrintWorker.run()V+195
j ish.oncourse.server.print.PrintService.lambda$print$34(Lish/oncourse/server/print/PrintWorker;)Lish/print/PrintResult;+1
j ish.oncourse.server.print.PrintService$$Lambda$24.call()Ljava/lang/Object;+4
j java.util.concurrent.FutureTask.run()V+42
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x5a08cb] AsyncGetCallTrace+0xcb4eb
V [libjvm.so+0x59f313] AsyncGetCallTrace+0xc9f33
V [libjvm.so+0x59f54c] AsyncGetCallTrace+0xca16c
V [libjvm.so+0x60bdbe] JVM_StartThread+0x36e
V [libjvm.so+0x8b55a0] JVM_handle_bsd_signal+0xff2f0
V [libjvm.so+0x7b059f] JVM_FindSignal+0x19a56f
C [libthr.so.3+0x87c5] operator->+0x725
C 0x00007fffdd9d9000
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 272 java.util.zip.ZipFile.getEntry(J[BZ)J (0 bytes) @ 0x000000080417b3b0 [0x000000080417b340+0x70]
J 684 C2 java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry; (22 bytes) @ 0x00000008042ab09c [0x00000008042aad20+0x37c]
J 687 C2 sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (85 bytes) @ 0x00000008042a8138 [0x00000008042a7fa0+0x198]
J 17050 C2 sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource; (83 bytes) @ 0x000000080751be00 [0x000000080751bd00+0x100]
J 3608 C2 java.net.URLClassLoader$1.run()Ljava/lang/Object; (5 bytes) @ 0x0000000804f654bc [0x0000000804f64fa0+0x51c]
v ~StubRoutines::call_stub
J 503 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x0000000804213dfb [0x0000000804213d80+0x7b]
J 3389 C2 java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; (47 bytes) @ 0x0000000804ca19b4 [0x0000000804ca18e0+0xd4]
J 7691 C2 java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; (122 bytes) @ 0x00000008059ed3d4 [0x00000008059ebfa0+0x1434]
J 8209 C1 groovy.lang.GroovyClassLoader.loadClass(Ljava/lang/String;ZZZ)Ljava/lang/Class; (360 bytes) @ 0x0000000805af67dc [0x0000000805af61a0+0x63c]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e6184 [0x00000008060e3f20+0x2264]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
J 9326 C2 org.codehaus.groovy.control.ResolveVisitor.resolve(Lorg/codehaus/groovy/ast/ClassNode;ZZZ)Z (229 bytes) @ 0x00000008060e82c0 [0x00000008060e3f20+0x43a0]
j org.codehaus.groovy.control.ResolveVisitor.visitClass(Lorg/codehaus/groovy/ast/ClassNode;)V+124
j org.codehaus.groovy.control.ResolveVisitor.startResolving(Lorg/codehaus/groovy/ast/ClassNode;Lorg/codehaus/groovy/control/SourceUnit;)V+7
j org.codehaus.groovy.control.CompilationUnit$11.call(Lorg/codehaus/groovy/control/SourceUnit;)V+79
J 9459 C1 org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(Lorg/codehaus/groovy/control/CompilationUnit$SourceUnitOperation;)V (138 bytes) @ 0x0000000805f65e14 [0x0000000805f656a0+0x774]
J 8894 C1 org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(Ljava/lang/Object;)V (45 bytes) @ 0x00000008057911ec [0x0000000805790da0+0x44c]
j org.codehaus.groovy.control.CompilationUnit.compile(I)V+42
j net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits([Lnet/sf/jasperreports/engine/design/JRCompilationUnit;Ljava/lang/String;Ljava/io/File;)Ljava/lang/String;+133
j net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(Lnet/sf/jasperreports/engine/design/JasperDesign;)Lnet/sf/jasperreports/engine/JasperReport;+297
j net.sf.jasperreports.engine.JasperCompileManager.compile(Lnet/sf/jasperreports/engine/design/JasperDesign;)Lnet/sf/jasperreports/engine/JasperReport;+6
j net.sf.jasperreports.engine.JasperCompileManager.compile(Ljava/io/InputStream;)Lnet/sf/jasperreports/engine/JasperReport;+7
j net.sf.jasperreports.engine.JasperCompileManager.compileReport(Ljava/io/InputStream;)Lnet/sf/jasperreports/engine/JasperReport;+4
j ish.oncourse.server.print.PrintWorker.compileReport(Lish/oncourse/server/cayenne/Report;)Lnet/sf/jasperreports/engine/JasperReport;+19
j ish.oncourse.server.print.PrintWorker.getCompiledReport(Lish/oncourse/server/cayenne/Report;)Lnet/sf/jasperreports/engine/JasperReport;+23
j ish.oncourse.server.print.PrintWorker.run()V+195
j ish.oncourse.server.print.PrintService.lambda$print$34(Lish/oncourse/server/print/PrintWorker;)Lish/print/PrintResult;+1
j ish.oncourse.server.print.PrintService$$Lambda$24.call()Ljava/lang/Object;+4
j java.util.concurrent.FutureTask.run()V+42
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment