JDK-4772649 : Hotspot error/ZIP_Close function
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.3.0,1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.6,solaris_7
  • CPU: sparc
  • Submitted: 2002-11-01
  • Updated: 2012-10-08
  • Resolved: 2003-01-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.3.1_08 08Fixed
Related Reports
Duplicate :  
Description

Name: pa48320			Date: 11/01/2002


we are experiencing jdk crash with hotspot errors in
solaris 2.6, 2.8 and and 2.9 with jdk 1.3.1_04, jdk1.3.1_05, jdk1.3.1_06 . We could not come up with exact reproduciable behaviour. Following is the error stack
.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0xfebdddc0
Function name=ZIP_Close
Library=/nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libzip.so

Current Java thread:
        at java.util.zip.ZipFile.getEntry(Native Method)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:138)
        at java.util.jar.JarFile.getEntry(JarFile.java:176)
        at java.util.jar.JarFile.getJarEntry(JarFile.java:163)
        at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:546)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:133)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:187)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:115)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getController(OAWebBeanHelper.java:990)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:173)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:299)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:327)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OACellFormatBean.processRequest(OACellFormatBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OARowLayoutBean.processRequest(OARowLayoutBean.java:296)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean.processRequest(OATableLayoutBean.java:297)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:297)
        at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1249)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:298)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:367)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:356)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:207)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:173)
        at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:302)
        at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:1122)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:795)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:228)
        at _oa__html._OA._jspService(_OA.java:68)
        at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
        at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
        at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
        at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
        at oracle.jsp.JspServlet.service(JspServlet.java:148)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
        at org.apache.jserv.JServConnection.run(JServConnection.java:294)
        at java.lang.Thread.run(Thread.java:479)

Dynamic libraries:
0x10000         /local/java/jdk1.3.1/jre/bin/../bin/sparc/native_threads/java
0xff370000      /usr/lib/libthread.so.1
0xff3a0000      /usr/lib/libdl.so.1
0xff280000      /usr/lib/libc.so.1
0xff350000      /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
0xfee80000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/client/libjvm.so
0xff230000      /usr/lib/libCrun.so.1
0xfee60000      /usr/lib/libsocket.so.1
0xfed80000      /usr/lib/libnsl.so.1
0xfed50000      /usr/lib/libm.so.1
0xff260000      /usr/lib/libw.so.1
0xfee40000      /usr/lib/libmp.so.2
0xfed30000      /usr/lib/librt.so.1
0xfed10000      /usr/lib/libaio.so.1
0xfecf0000      /usr/lib/libmd5.so.1
0xfecc0000      /usr/platform/SUNW,Ultra-Enterprise/lib/libmd5_psr.so.1
0xfec90000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/native_threads/libhpi.so
0xfec40000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libverify.so
0xfec00000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libjava.so
0xfebd0000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libzip.so
0xe8e60000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libnet.so
0xe8b50000      /usr/lib/nss_nis.so.1
0xe8620000      /usr/lib/nss_files.so.1
0xe84e0000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libawt.so
0xd4400000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/motif21/libmawt.so
0xd64b0000      /local/java/jdk1.3.1/jre/bin/../lib/sparc/libmlib_image.so
0xd4180000      /usr/dt/lib/libXm.so.4
0xd5710000      /usr/openwin/lib/libXt.so.4
0xd5fd0000      /usr/openwin/lib/libXext.so.0
0xd67e0000      /usr/openwin/lib/libXtst.so.1
0xd4080000      /usr/openwin/lib/libX11.so.4
0xd6490000      /usr/openwin/lib/libSM.so.6
0xd5fa0000      /usr/openwin/lib/libICE.so.6
0xd3f80000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libfontmanager.so
0xd5aa0000      /usr/openwin/lib/libdps.so.5
0xd4d40000      /nfs/floor/local/java/j2sdk1_3_1_04/jre/lib/sparc/libdcpr.so

Local Time = Tue Oct 29 15:27:56 2002
Elapsed Time = 11860
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_04-b02 mixed mode)
#
(Review ID: 166502) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.3.1_08 mantis-beta FIXED IN: 1.3.1_08 mantis-beta INTEGRATED IN: 1.3.1_08 mantis-b14 mantis-beta
2004-06-14

EVALUATION ###@###.### 2002-11-11 The crash is caused in function readLOC. It may be caused by corrupted jar or other thread is modifying this jar. Then the memcpy may go out of the range of mmap and cause the crash. Anyway we should not crash the VM even if it is corrupted jar.
2004-06-11

WORK AROUND Name: pa48320 Date: 11/01/2002 We have to bounce the listener and jvm every time it happens. ======================================================================
2004-06-11