JVM crash during (de)serialization

Discussion in 'Java' started by Richard Chrenko, Oct 24, 2003.

  1. While saving (or reading) a complex object from the filesystem using
    Serialization I am getting intermittent JVM crashes with the following
    error message. The "locked" LinkedList looks suspicious, but I don't know
    what this is trying to tell me. Does anyone know what it means or a clever
    way to go about isolating the error?

    ------------------------------------------------------------

    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6A17EF6
    Function=[Unknown.]
    Library=(N/A)

    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.


    Current Java thread:
    at
    java.io_ObjectStreamClass$FieldReflector.getObjFieldValues(ObjectStreamClass.java:1781)
    at
    java.io_ObjectStreamClass.getObjFieldValues(ObjectStreamClass.java:1038)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1328)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:681)
    -locked <02C13950> (a java.util.LinkedList)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:681)
    -locked <02C0A9A8> (a java.util.LinkedList)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at ch.spf.PS4Project.FluidLoop.writeObject(FluidLoop.java:1758)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:681)
    -locked <05100A08> (a java.util.LinkedList)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:681)
    -locked <050FF8E8> (a java.util.LinkedList)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at ch.spf.PS4Project.Variant.writeObject(Variant.java:1599)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:681)
    -locked <050FF450> (a java.util.LinkedList)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io_ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io_ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    at
    java.io_ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    at
    java.io_ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    at java.io_ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io_ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at ch.spf.PS4Project.Project.save(Project.java:314)
    at ch.spf.PS4Gui.Mainmenu$3.actionPerformed(Mainmenu.java:244)
    at
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
    at
    javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    Dynamic libraries:
    0x00400000 - 0x00406000 D:\j2sdk1.4.0\bin\javaw.exe
    0x77F80000 - 0x77FFB000 C:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
    0x7C4E0000 - 0x7C599000 C:\WINNT\system32\KERNEL32.DLL
    0x77D30000 - 0x77D9E000 C:\WINNT\system32\RPCRT4.DLL
    0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
    0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
    0x10000000 - 0x10019000 C:\WINNT\system32\NVDESK32.DLL
    0x6D330000 - 0x6D442000 D:\j2sdk1.4.0\jre\bin\client\jvm.dll
    0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
    0x6D1D0000 - 0x6D1D7000 D:\j2sdk1.4.0\jre\bin\hpi.dll
    0x6D300000 - 0x6D30D000 D:\j2sdk1.4.0\jre\bin\verify.dll
    0x6D210000 - 0x6D228000 D:\j2sdk1.4.0\jre\bin\java.dll
    0x6D320000 - 0x6D32D000 D:\j2sdk1.4.0\jre\bin\zip.dll
    0x6D000000 - 0x6D0F6000 D:\j2sdk1.4.0\jre\bin\awt.dll
    0x77800000 - 0x7781E000 C:\WINNT\system32\WINSPOOL.DRV
    0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
    0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.dll
    0x77A50000 - 0x77B3C000 C:\WINNT\system32\ole32.dll
    0x6E420000 - 0x6E426000 C:\WINNT\system32\INDICDLL.dll
    0x6D180000 - 0x6D1D0000 D:\j2sdk1.4.0\jre\bin\fontmanager.dll
    0x728A0000 - 0x728A6000 C:\WINNT\system32\DCIMAN32.dll
    0x0D320000 - 0x0D674000 C:\WINNT\system32\nvoglnt.dll
    0x72800000 - 0x72846000 C:\WINNT\system32\ddraw.dll
    0x6D280000 - 0x6D29E000 D:\j2sdk1.4.0\jre\bin\jpeg.dll
    0x6D130000 - 0x6D152000 D:\j2sdk1.4.0\jre\bin\dcpr.dll
    0x782F0000 - 0x78538000 C:\WINNT\system32\shell32.dll
    0x77C70000 - 0x77CBA000 C:\WINNT\system32\SHLWAPI.DLL
    0x77B50000 - 0x77BD9000 C:\WINNT\system32\COMCTL32.DLL
    0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
    0x775A0000 - 0x77626000 C:\WINNT\system32\CLBCATQ.DLL
    0x77840000 - 0x7787E000 C:\WINNT\system32\cscui.dll
    0x770C0000 - 0x770E3000 C:\WINNT\system32\CSCDLL.DLL
    0x75160000 - 0x7516C000 C:\WINNT\System32\ntlanman.dll
    0x75210000 - 0x75225000 C:\WINNT\System32\NETUI0.DLL
    0x751D0000 - 0x75208000 C:\WINNT\System32\NETUI1.DLL
    0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
    0x7C340000 - 0x7C34F000 C:\WINNT\System32\SECUR32.DLL
    0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
    0x75150000 - 0x7515F000 C:\WINNT\System32\SAMLIB.DLL
    0x75030000 - 0x75044000 C:\WINNT\System32\WS2_32.DLL
    0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
    0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
    0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
    0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.DLL
    0x76FA0000 - 0x76FAF000 C:\WINNT\system32\ntshrui.dll
    0x773E0000 - 0x773F5000 C:\WINNT\system32\ATL.DLL
    0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL

    Local Time = Fri Oct 24 08:47:00 2003
    Elapsed Time = 614
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
    #
    Richard Chrenko, Oct 24, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fuma
    Replies:
    0
    Views:
    2,783
  2. Replies:
    8
    Views:
    2,227
    deadsea
    Jan 2, 2005
  3. Replies:
    3
    Views:
    1,011
  4. Dimitri Ognibene
    Replies:
    4
    Views:
    767
    Dimitri Ognibene
    Sep 2, 2006
  5. Ramunas Urbonas
    Replies:
    1
    Views:
    383
    Dino Chiesa [Microsoft]
    Jul 27, 2004
Loading...

Share This Page