0 Replies Latest reply: Mar 12, 2010 7:12 AM by 843829 RSS

    JVM Crash: with jre 1.6.0_18 but not with 1.5.0_14

    843829
      Hello everyone,

      I got the problem that my JVM crashes when I am using the jre 1.6.0_18 but the same code runs with an jre 1.5.0_14. The code contains some JNI parts and
      is compiled with a JDK 1.5.0_14. The crash can not be reporduced within a debugger. The crash either occurs in the jvm.dll - as in the error log below - or when acessing the ntdll.dll.

      Any help is appreciated!
      Thanks in Advance!

      Here is the JVM crash report:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d979ba7, pid=10932, tid=12276
      #
      # JRE version: 6.0_18-b07
      # Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # V [jvm.dll+0x179ba7]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x02afa800): VMThread [stack: 0x02be0000,0x02c30000] [id=12276]

      siginfo: ExceptionCode=0xc0000005, reading address 0x706d7953

      Registers:
      EAX=0x706d7953, EBX=0x00000000, ECX=0x37387a88, EDX=0x00000000
      ESP=0x02c2f79c, EBP=0x02c2f7ac, ESI=0x00000080, EDI=0x02bc7460
      EIP=0x6d979ba7, EFLAGS=0x00010246

      Top of Stack: (sp=0x02c2f79c)
      0x02c2f79c: 02c2f890 373851d0 02c2fa8c 02bc7464
      0x02c2f7ac: 02c2f7c4 6d8d8c66 02afaab4 00000000
      0x02c2f7bc: 02c2f7f8 37387a88 02c2f7dc 6d96b704
      0x02c2f7cc: 02afaab4 00000000 02c2f7f8 02afaab0
      0x02c2f7dc: 02c2f840 6d8b3449 00000000 02c2f7f8
      0x02c2f7ec: 05b30400 02c2f890 00000001 00000000
      0x02c2f7fc: 02c20000 0000ffff 00000000 00000000
      0x02c2f80c: 00000000 6da187a4 02c2f890 02c2fa8c

      Instructions: (pc=0x6d979ba7)
      0x6d979b97: 80 79 05 48 83 c8 e0 40 8d 1c 40 8b 07 8d 04 d8
      0x6d979ba7: 39 08 75 09 0f b7 58 04 3b 5d 0c 74 34 42 83 fa


      Stack: [0x02be0000,0x02c30000], sp=0x02c2f79c, free space=13d02c2f310k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x179ba7]
      V [jvm.dll+0xd8c66]
      V [jvm.dll+0x16b704]
      V [jvm.dll+0xb3449]
      V [jvm.dll+0xb3562]
      V [jvm.dll+0x1db5f5]
      V [jvm.dll+0x1db9ca]
      V [jvm.dll+0x1a1af4]
      V [jvm.dll+0xc834f]
      V [jvm.dll+0xa443c]
      V [jvm.dll+0xc9398]
      V [jvm.dll+0x7e7cb]
      V [jvm.dll+0x1f442b]
      V [jvm.dll+0x1f6ed3]
      V [jvm.dll+0x1f615e]
      V [jvm.dll+0x1f64ac]
      V [jvm.dll+0x1f68d2]
      V [jvm.dll+0x17f9cc]
      C [msvcr71.dll+0x9565]
      C [kernel32.dll+0xb50b]

      VM_Operation (0x0a09e2dc): GenCollectForAllocation, mode: safepoint, requested by thread 0x05c54800

      --------------- P R O C E S S ---------------
      Java Threads: ( => current thread )
      0x05b30400 JavaThread "persistance manager service activator" daemon [_thread_blocked, id=6588, stack(0x0a230000,0x0a280000)]
      0x05b38400 JavaThread "task queue worker" daemon [_thread_blocked, id=9788, stack(0x0a1e0000,0x0a230000)]
      0x05c5b800 JavaThread "PSJ-Subsystem" [_thread_blocked, id=11024, stack(0x0a140000,0x0a190000)]
      0x05c5a400 JavaThread "HDM-Subsystem" [_thread_blocked, id=8296, stack(0x0a0f0000,0x0a140000)]
      0x05c61000 JavaThread "CSM-Subsystem" [_thread_blocked, id=5272, stack(0x0a0a0000,0x0a0f0000)]
      0x05c54800 JavaThread "XPS-Subsystem" [_thread_blocked, id=10064, stack(0x0a050000,0x0a0a0000)]
      0x05c59400 JavaThread "GUI-Subsystem" [_thread_blocked, id=7596, stack(0x0a000000,0x0a050000)]
      0x05c5f800 JavaThread "TimerServices" [_thread_blocked, id=5760, stack(0x09fb0000,0x0a000000)]
      0x05af9800 JavaThread "Thread-2" [_thread_in_native, id=11624, stack(0x03d30000,0x03d80000)]
      0x02b0b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8092, stack(0x02dc0000,0x02e10000)]
      0x02b07c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2696, stack(0x02d70000,0x02dc0000)]
      0x02b06400 JavaThread "Attach Listener" daemon [_thread_blocked, id=1444, stack(0x02d20000,0x02d70000)]
      0x02b05000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10896, stack(0x02cd0000,0x02d20000)]
      0x02afd000 JavaThread "Finalizer" daemon [_thread_blocked, id=8084, stack(0x02c80000,0x02cd0000)]
      0x02afbc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=10636, stack(0x02c30000,0x02c80000)]
      0x002a7000 JavaThread "MasterControl" [_thread_blocked, id=11412, stack(0x008c0000,0x00910000)]

      Other Threads:
      =>0x02afa800 VMThread [stack: 0x02be0000,0x02c30000] [id=12276]
      0x02b0d000 WatcherThread [stack: 0x02e10000,0x02e60000] [id=11048]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x002a61c0] Threads_lock - owner thread: 0x02afa800
      [0x002a65d0] Heap_lock - owner thread: 0x05c54800

      Heap
      def new generation total 4928K, used 4783K [0x22970000, 0x22ec0000, 0x27ec0000)
      eden space 4416K, 100% used [0x22970000, 0x22dc0000, 0x22dc0000)
      from space 512K, 71% used [0x22dc0000, 0x22e1bf30, 0x22e40000)
      to space 512K, 0% used [0x22e40000, 0x22e40000, 0x22ec0000)
      tenured generation total 10944K, used 697K [0x27ec0000, 0x28970000, 0x32970000)
      the space 10944K, 6% used [0x27ec0000, 0x27f6e4e0, 0x27f6e600, 0x28970000)
      compacting perm gen total 12288K, used 5037K [0x32970000, 0x33570000, 0x36970000)
      the space 12288K, 40% used [0x32970000, 0x32e5b4c8, 0x32e5b600, 0x33570000)
      ro space 10240K, 51% used [0x36970000, 0x36e97b58, 0x36e97c00, 0x37370000)
      rw space 12288K, 54% used [0x37370000, 0x37a04ce0, 0x37a04e00, 0x37f70000)

      Dynamic libraries:
      0x00400000 - 0x00424000      c:\windows\system32\java.exe
      0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
      0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
      0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
      0x6d800000 - 0x6da97000      C:\Program Files\Java\jre6\bin\client\jvm.dll
      0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6d000      c:\windows\system32\WINMM.dll
      0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
      0x6d330000 - 0x6d34f000      C:\Program Files\Java\jre6\bin\java.dll
      0x6d290000 - 0x6d298000      C:\Program Files\Java\jre6\bin\hpi.dll
      0x76bf0000 - 0x76bfb000      c:\windows\system32\PSAPI.DLL
      0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
      0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
      0x71ab0000 - 0x71ac7000      c:\windows\system32\WS2_32.dll
      0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
      0x71aa0000 - 0x71aa8000      c:\windows\system32\WS2HELP.dll
      0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
      0x02eb0000 - 0x02f59000      C:\mod_s14\bin\stlport.5.2.dll
      0x7c3a0000 - 0x7c41b000      c:\windows\system32\MSVCP71.dll
      [snip]


      --------------- S Y S T E M ---------------

      OS: Windows XP Build 2600 Service Pack 2
      CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
      Memory: 4k page, physical 2094652k(589592k free), swap 4032296k(2558960k free
      vm_info: Java HotSpot(TM) Client VM (16.0-b13) for windows-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:35:55 by "java_re" with MS VC++ 7.1 (VS2003)