[
https://issues.apache.org/jira/browse/FELIX-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939893#comment-13939893
]
Uwe Barthel commented on FELIX-3954:
------------------------------------
What can we do at this point, if the implementation on the JVM and the
libzip.so is defective?
Please test the latest Java 7u51 release.
> Java_java_util_zip_ZipFile_getZipMessage crash on OpenJDK 64-Bit 7.0_15-b20
> ---------------------------------------------------------------------------
>
> Key: FELIX-3954
> URL: https://issues.apache.org/jira/browse/FELIX-3954
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.2.6
> Environment: # JRE version: 7.0_15-b20
> # Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64
> compressed oops)
> # Problematic frame:
> # C [libzip.so+0x4875] Java_java_util_zip_ZipFile_getZipMessage+0x895
> Reporter: Hendy Irawan
> Attachments: hs_err_pid10048.log, hs_err_pid14871.log,
> hs_err_pid4003.log, hs_err_pid7463.log, hs_err_pid8182.log
>
>
> On a certain configuration, Karaf crashes JRE.
> Trace:
> {code}
> Stack: [0x00007fc55b9fa000,0x00007fc55bafb000], sp=0x00007fc55baf90f0, free
> space=1020k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> C [libzip.so+0x512d] Java_java_util_zip_ZipFile_getZipMessage+0x114d
> C [libzip.so+0x5e20] ZIP_GetEntry+0xd0
> C [libzip.so+0x3ab3] Java_java_util_zip_ZipFile_getEntry+0xb3
> J java.util.zip.ZipFile.getEntry(J[BZ)J
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> J java.util.zip.ZipFile.getEntry(J[BZ)J
> J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
> j
> java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+2
> j
> java.util.jar.JarFile.getJarEntry(Ljava/lang/String;)Ljava/util/jar/JarEntry;+2
> j java.util.jar.JarFile.getManEntry()Ljava/util/jar/JarEntry;+11
> j java.util.jar.JarFile.getManifestFromReference()Ljava/util/jar/Manifest;+27
> j java.util.jar.JarFile.getManifest()Ljava/util/jar/Manifest;+1
> j
> org.apache.karaf.deployer.wrap.WrapDeploymentListener.canHandle(Ljava/io/File;)Z+24
> j
> org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(Ljava/io/File;Ljava/util/List;)Lorg/apache/felix/fileinstall/ArtifactListener;+30
> j
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Ljava/util/Set;)V+322
> j org.apache.felix.fileinstall.internal.DirectoryWatcher.run()V+367
> v ~StubRoutines::call_stub
> {code}
> Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1126349
--
This message was sent by Atlassian JIRA
(v6.2#6252)