Unknown crash in java.util.zip.ZipFile.

Y

Yamin

Hey all,

I got this strange error when I try and save some files. Everything
works fine for the smaller files...even up to 20 MB files. But when I
try and save what I think would be a much large file, the JVM crashes.
Note, this NEVER happens at any other time other than when I am saving
these big files.

If it is of note, I am using XML encoder to save the files. The files
that screw up would end up being pretty large ( >30 MB). It takes
about 5-10 minutes to complete the saving and that is being done in the
main GUI thread.

We are running on Solaris x86 and JVM 1.4.2_03.

Here's the top of the stacktrace...full crash log below.
------------------------------------------
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 10 occurred at PC=0xDF822A30
Function=[Unknown. Nearest: ZIP_Lock+0x50]
Library=/usr/java1.4.2/jre/lib/i386/libzip.so

Current Java thread:
at java.util.zip.ZipFile.getEntry(Native Method)
at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
- locked <0xd078aa20> (a java.util.jar.JarFile)
at java.util.jar.JarFile.getEntry(JarFile.java:194)
at java.util.jar.JarFile.getJarEntry(JarFile.java:181)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:657)
at sun.misc.URLClassPath.findResource(URLClassPath.java:138)
at java.net.URLClassLoader$2.run(URLClassLoader.java:352)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:349)
at java.lang.ClassLoader.getResource(ClassLoader.java:787)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:969)
at java.util.ResourceBundle$1.run(ResourceBundle.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1031)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:884)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:730)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
------------------------------------------

I did some research and some other people seem to have faced this
problem. It is something about NFS timing out. This seems like a
reasonable possibility as it is choking on a resource bundle while
trying to save this huge file.

http://www.jguru.com/forums/view.jsp?EID=1229207
http://www.webservertalk.com/archive152-2004-11-432956.html


Anyone got any ideas on this? I do have several save options which
allow the user to save less information...but I'd like to solve this.

Thanks,

Yamin






An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 10 occurred at PC=0xDF822A30
Function=[Unknown. Nearest: ZIP_Lock+0x50]
Library=/usr/java1.4.2/jre/lib/i386/libzip.so

Current Java thread:
at java.util.zip.ZipFile.getEntry(Native Method)
at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
- locked <0xd078aa20> (a java.util.jar.JarFile)
at java.util.jar.JarFile.getEntry(JarFile.java:194)
at java.util.jar.JarFile.getJarEntry(JarFile.java:181)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:668)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:657)
at sun.misc.URLClassPath.findResource(URLClassPath.java:138)
at java.net.URLClassLoader$2.run(URLClassLoader.java:352)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:349)
at java.lang.ClassLoader.getResource(ClassLoader.java:787)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:969)
at java.util.ResourceBundle$1.run(ResourceBundle.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1031)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:884)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:730)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
at
com.supercompany.jhiddenapps.changed.TestCaseConfigSummary.createSummaryInfo(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.TestCaseConfigSummary.htmlInit(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.DefaultHTMLPanel.nvInit(Unknown
Source)
at com.supercompany.jhiddenapps.changed.BasePanel.startUP(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.BasePanelFactory.createFromName(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.BasePanelFactory.createFromName(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.ThroughputSummaryResultPanel.containerInit(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.DefaultContainerResultPanel.nvInit(Unknown
Source)
at com.supercompany.jhiddenapps.changed.BasePanel.startUP(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.BasePanelFactory.createFromName(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.BasePanelFactory.createFromName(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.ParamTreeResDataObject.getPanel(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.GlobalResultsPanel.valueChanged(Unknown
Source)
at javax.swing.JTree.fireValueChanged(JTree.java:2392)
at
javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
at
javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at
javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1168)
at
com.supercompany.jhiddenapps.changed.GlobalResultsPanel.modelToView(Unknown
Source)
at
com.supercompany.jhiddenapps.changed.GlobalResultsPanel.reinitResults(Unknown
Source)
at com.supercompany.jhiddenapps.changed.GlobalParam.init(Unknown
Source)
at
com.supercompany.jhiddenrunner.JhiddenRunnerFrame.runSuite(JhiddenRunnerFrame.java:972)
at
com.supercompany.jhiddenrunner.state.HaltedState.run(HaltedState.java:65)
at
com.supercompany.jhiddenrunner.state.AppContext.run(AppContext.java:215)
- locked <0xd095b6b8> (a
com.supercompany.jhiddenrunner.state.AppContext)
at
com.supercompany.jhiddenrunner.JhiddenRunnerFrame.actionPerformed(JhiddenRunnerFrame.java:906)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Dynamic libraries:
0x8050000 /usr/java1.4.2/bin/java
0xdfb60000 /usr/lib/libthread.so.1
0xdfba0000 /usr/lib/libdl.so.1
0xdfab0000 /usr/lib/libc.so.1
0xdecc0000 /usr/java1.4.2/jre/lib/i386/client/libjvm.so
0xdfa50000 /usr/lib/libCrun.so.1
0xdfa30000 /usr/lib/libsocket.so.1
0xdf990000 /usr/lib/libnsl.so.1
0xdf970000 /usr/lib/libm.so.1
0xdf940000 /usr/lib/libsched.so.1
0xdfa80000 /usr/lib/libw.so.1
0xdf910000 /usr/lib/libmp.so.2
0xdf8d0000 /usr/java1.4.2/jre/lib/i386/native_threads/libhpi.so
0xdf890000 /usr/java1.4.2/jre/lib/i386/libverify.so
0xdf840000 /usr/java1.4.2/jre/lib/i386/libjava.so
0xdf820000 /usr/java1.4.2/jre/lib/i386/libzip.so
0xcff70000 /usr/java1.4.2/jre/lib/i386/libawt.so
0xda010000 /usr/java1.4.2/jre/lib/i386/libmlib_image.so
0xcff10000 /usr/java1.4.2/jre/lib/i386/motif21/libmawt.so
0xcfd50000 /usr/lib/libXm.so.4
0xcf1a0000 /usr/lib/libXt.so.4
0xdc430000 /usr/lib/libXext.so.0
0xcfd30000 /usr/openwin/lib/libXtst.so.1
0xcf120000 /usr/lib/libX11.so.4
0xcf0d0000 /usr/openwin/lib/libdps.so.5
0xcf0b0000 /usr/lib/libSM.so.6
0xcf090000 /usr/lib/libICE.so.6
0xcf060000 /usr/openwin/lib/libdga.so.1
0xce760000 /usr/java1.4.2/jre/lib/i386/libfontmanager.so
0xce6a0000 /usr/java1.4.2/jre/lib/i386/libnet.so

Heap at VM Abort:
Heap
def new generation total 3072K, used 1474K [0xd0000000, 0xd0310000,
0xd0760000)
eden space 3008K, 46% used [0xd0000000, 0xd0160af0, 0xd02f0000)
from space 64K, 99% used [0xd02f0000, 0xd02ffff8, 0xd0300000)
to space 64K, 0% used [0xd0300000, 0xd0300000, 0xd0310000)
tenured generation total 37196K, used 36842K [0xd0760000,
0xd2bb3000, 0xd6000000)
the space 37196K, 99% used [0xd0760000, 0xd2b5a8f0, 0xd2b5aa00,
0xd2bb3000)
compacting perm gen total 12800K, used 12571K [0xd6000000,
0xd6c80000, 0xda000000)
the space 12800K, 98% used [0xd6000000, 0xd6c46e00, 0xd6c46e00,
0xd6c80000)

Local Time = Thu Mar 31 17:10:15 2005
Elapsed Time = 10857
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
 
Y

Yamin

Sorry, this has nothing to do with the jar file. I think this crash
log was created because the file was being compiled while it was still
running.

Anyways, the problem with the file not saving still exists. I just
don't think these logs are valid.
 
Y

Yamin

aaah, I found it. turns out the JVM was throwing an out of memory
exception.


Yamin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top