4 Replies Latest reply on Jul 16, 2010 11:38 AM by Ben Spiller

    EXCEPTION_ACCESS_VIOLATION JVM crashes in HornetQ on Windows

    Ben Spiller Newbie

      I've been evaluating HornetQ for a couple of days, and have now seen the HornetQ server process fail with a JVM crash on 4 occasions in that time (while adding/removing messages from a single queue as fast as possible).

       

      This is on a 64-bit Windows 7 machine running Sun's 64-bit Java VM 1.6.0_18-b07. The crashes are occurring when the current thread is GCTaskThread which makes me think it's related to the garbage collection (fyi the eden space was 100% used at the time of the crash, but there was plenty of spare memory in the older generations).

       

      Obviously JVM crashes are not HornetQ's fault (and I filed a bug for this on the Sun site). But I thought it might be useful to mention this on the forum in case others see the same problem when using HornetQ.

       

      I notice that as well as turning on the Parallel GC, HornetQ uses the experimental/non-stable -XX:+AggressiveOpts by default in standalone mode, and I suspect this may be the cause of the problem. Perhaps it would be safer to turn this off unless people specifically enable it?

        • 1. Re: EXCEPTION_ACCESS_VIOLATION JVM crashes in HornetQ on Windows
          Tim Fox Master

          Yes, this would be a bug in the JVM. HornetQ on Windows doesn't use any native code so that can't be the issue.

           

          I would be interested to know if changing the command line params makes any difference.

          • 2. Re: EXCEPTION_ACCESS_VIOLATION JVM crashes in HornetQ on Windows
            Ben Spiller Newbie

            Totally agree - like I said, I'm not certainly not going to blame HornetQ for a JVM crash! ;o)

             

            I ran a 24-hour test with -XX:+AggressiveOpts removed from run.bat and had no problems, so it looks like that option is the cause of the crash. The -XX options are always a bit experimental so it's not a huge surprise. Perhaps it would be better not to set this by default given Sun don't guarantee it'll be stable? Just a thought.

            • 3. Re: EXCEPTION_ACCESS_VIOLATION JVM crashes in HornetQ on Windows
              Ben Spiller Newbie

              Oh dear, just seen the crash again with the AggressiveOpts flag disabled! Unless it's a problem with UseFastAccessorMethods (which seems less likely) I suspect it's a ParallelGC bug. I noticed in this latest crash the PSPermGen memory usage is pretty high so it's possible increasing the memory allocation would help.

               

              I guess it'll take a while for Sun to process my bug report, so we'll have to wait to see what they say...

               

              For interest, here's the crash report (with AggressiveOpts disabled):

               

              #
              # A fatal error has been detected by the Java Runtime Environment:
              #
              #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dbe7a7f, pid=7992, tid=3648
              #
              # JRE version: 6.0_18-b07
              # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode windows-amd64 )
              # Problematic frame:
              # V  [jvm.dll+0x3f7a7f]
              #
              # 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 (0x00000000004ac000):  GCTaskThread [stack: 0x000000004ac10000,0x000000004ad10000] [id=3648]
               
              siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
               
              Registers:
              EAX=0x0043007400730065, EBX=0x0000000011120d40, ECX=0x000000004b3ca580, EDX=0x0000000000000000
              ESP=0x000000004ad0f9f0, EBP=0x000000004a6df507, ESI=0x000000004b3ca580, EDI=0x0000000046e19418
              EIP=0x000000006dbe7a7f, EFLAGS=0x0000000000010246
               
              Top of Stack: (sp=0x000000004ad0f9f0)
              0x000000004ad0f9f0:   000000001136fbc0 0000000000000002
              0x000000004ad0fa00:   000000004b3ca580 0000000048e0a208
              0x000000004ad0fa10:   00000000475c0000 0000000000001000
              0x000000004ad0fa20:   000000001136ed48 0000000000000400
              0x000000004ad0fa30:   0000000000000000 00000000004a4300
              0x000000004ad0fa40:   000000000000000c 000000004b3ca580
              0x000000004ad0fa50:   000000004a6df507 0000000011120e00
              0x000000004ad0fa60:   000000004a6df507 000000006dbe9366
              0x000000004ad0fa70:   0000000049b62e78 0000000000000009
              0x000000004ad0fa80:   0000000000000001 0000000011120d40
              0x000000004ad0fa90:   0000000011120d40 0000000000000001
              0x000000004ad0faa0:   0000000000000000 0000000000000000
              0x000000004ad0fab0:   0000000000000000 0000000000000000
              0x000000004ad0fac0:   0000000000000000 0000000011120d80
              0x000000004ad0fad0:   0000000000000000 000000006d9dbbb5
              0x000000004ad0fae0:   0000000011120d80 0000000000000000 
               
              Instructions: (pc=0x000000006dbe7a7f)
              0x000000006dbe7a6f:   48 d3 e0 48 03 05 5f c0 21 00 eb 04 48 8b 47 08
              0x000000006dbe7a7f:   48 63 48 18 4c 8d 40 10 8b c1 c1 f8 03 85 c9 7f 
               
               
              Stack: [0x000000004ac10000,0x000000004ad10000],  sp=0x000000004ad0f9f0,  free space=3fe0000000000000000k
              Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
              V  [jvm.dll+0x3f7a7f]
               
               
              ---------------  P R O C E S S  ---------------
               
              Java Threads: ( => current thread )
                0x000000004cc08800 JavaThread "Old I/O server worker (parentId: 730637923, channelId: 1317864261, null => localhost/127.0.0.1:5445)" [_thread_blocked, id=5896, stack(0x000000004eb10000,0x000000004ec10000)]
                0x000000004cc07000 JavaThread "Old I/O server worker (parentId: 730637923, channelId: 504096260, null => localhost/127.0.0.1:5445)" [_thread_blocked, id=7740, stack(0x000000004ea10000,0x000000004eb10000)]
                0x000000004cc01800 JavaThread "Old I/O server worker (parentId: 730637923, channelId: 427113089, null => localhost/127.0.0.1:5445)" [_thread_in_native, id=6840, stack(0x000000004e910000,0x000000004ea10000)]
                0x000000004cc08000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=5432, stack(0x000000004e810000,0x000000004e910000)]
                0x000000004cc06800 JavaThread "Old I/O server worker (parentId: 730637923, channelId: 166318168, null => localhost/127.0.0.1:5445)" [_thread_in_native, id=6816, stack(0x000000004e610000,0x000000004e710000)]
                0x000000004cc03800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=7192, stack(0x000000004e710000,0x000000004e810000)]
                0x000000004cc05000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=740, stack(0x000000004e510000,0x000000004e610000)]
                0x000000004cc05800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=5940, stack(0x000000004e410000,0x000000004e510000)]
                0x000000004cc03000 JavaThread "Old I/O server worker (parentId: 730637923, channelId: 961799427, null => localhost/127.0.0.1:5445)" [_thread_blocked, id=5156, stack(0x000000004e310000,0x000000004e410000)]
                0x000000004cc02000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=9172, stack(0x000000004e100000,0x000000004e200000)]
                0x000000004cc09800 JavaThread "pool-3-thread-1" [_thread_blocked, id=2004, stack(0x0000000051b40000,0x0000000051c40000)]
                0x000000004cc00800 JavaThread "Thread-29 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=9120, stack(0x0000000052c40000,0x0000000052d40000)]
                0x000000004cc00000 JavaThread "Thread-28 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5428, stack(0x0000000052b40000,0x0000000052c40000)]
                0x000000004cbff000 JavaThread "Thread-27 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5988, stack(0x0000000052a40000,0x0000000052b40000)]
                0x000000004d4df000 JavaThread "Thread-26 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=7088, stack(0x0000000052940000,0x0000000052a40000)]
                0x000000004d4de000 JavaThread "Thread-25 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=6680, stack(0x0000000052840000,0x0000000052940000)]
                0x000000004d4dd800 JavaThread "Thread-24 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4596, stack(0x0000000052740000,0x0000000052840000)]
                0x000000004d4dc800 JavaThread "Thread-23 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5536, stack(0x0000000052640000,0x0000000052740000)]
                0x000000004d4dc000 JavaThread "Thread-22 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8144, stack(0x0000000052540000,0x0000000052640000)]
                0x000000004d4db000 JavaThread "Thread-21 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4264, stack(0x0000000052440000,0x0000000052540000)]
                0x000000004d4da800 JavaThread "Thread-20 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=7892, stack(0x0000000052340000,0x0000000052440000)]
                0x000000004d4d9800 JavaThread "Thread-19 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4036, stack(0x0000000052240000,0x0000000052340000)]
                0x000000004d4d9000 JavaThread "Thread-18 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=7904, stack(0x0000000052140000,0x0000000052240000)]
                0x000000004d3e5800 JavaThread "Thread-17 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=7372, stack(0x0000000050640000,0x0000000050740000)]
                0x000000004d4d7800 JavaThread "Thread-16 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8764, stack(0x0000000051f40000,0x0000000052040000)]
                0x000000004d4d7000 JavaThread "Thread-15 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4132, stack(0x0000000051e40000,0x0000000051f40000)]
                0x000000004d4d6000 JavaThread "Thread-14 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4948, stack(0x0000000051d40000,0x0000000051e40000)]
                0x000000004d4d5800 JavaThread "Thread-13 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4708, stack(0x0000000051c40000,0x0000000051d40000)]
                0x000000004d4d2000 JavaThread "Thread-12 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=6112, stack(0x0000000051640000,0x0000000051740000)]
                0x000000004d4d1000 JavaThread "Thread-11 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=336, stack(0x0000000051540000,0x0000000051640000)]
                0x000000004d4d0800 JavaThread "Thread-10 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5424, stack(0x0000000051440000,0x0000000051540000)]
                0x000000004d4cf800 JavaThread "Thread-9 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8392, stack(0x0000000051340000,0x0000000051440000)]
                0x000000004d3ec800 JavaThread "Thread-8 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=6036, stack(0x0000000051240000,0x0000000051340000)]
                0x000000004d3ec000 JavaThread "Thread-7 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=6300, stack(0x0000000051140000,0x0000000051240000)]
                0x000000004d3eb000 JavaThread "Thread-6 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8692, stack(0x0000000051040000,0x0000000051140000)]
                0x000000004d3ea800 JavaThread "Thread-5 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8780, stack(0x0000000050f40000,0x0000000051040000)]
                0x000000004d3e9800 JavaThread "Thread-4 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=4344, stack(0x0000000050e40000,0x0000000050f40000)]
                0x000000004d3e9000 JavaThread "Thread-3 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5216, stack(0x0000000050940000,0x0000000050a40000)]
                0x000000004d3e8000 JavaThread "Thread-2 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=8464, stack(0x0000000050d40000,0x0000000050e40000)]
                0x000000004d3e7800 JavaThread "Thread-1 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=6032, stack(0x0000000050c40000,0x0000000050d40000)]
                0x000000004d3e6000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=3292, stack(0x0000000050740000,0x0000000050840000)]
                0x000000004d3e4800 JavaThread "Naming Bootstrap#2" [_thread_blocked, id=2184, stack(0x0000000050540000,0x0000000050640000)]
                0x000000004d3e4000 JavaThread "DestroyJavaVM" [_thread_blocked, id=7104, stack(0x00000000020c0000,0x00000000021c0000)]
                0x000000004d3e3000 JavaThread "HornetQ Server Shutdown Timer" daemon [_thread_blocked, id=3784, stack(0x0000000050440000,0x0000000050540000)]
                0x000000004d3e2800 JavaThread "hornetq-failure-check-thread" [_thread_blocked, id=7736, stack(0x0000000050340000,0x0000000050440000)]
                0x000000004d3e1800 JavaThread "Old I/O server boss (channelId: 730637923, localhost/127.0.0.1:5445)" [_thread_in_native, id=6272, stack(0x0000000050240000,0x0000000050340000)]
                0x000000004d3e1000 JavaThread "Thread-1 (group:HornetQ-scheduled-threads-2061551555)" [_thread_blocked, id=9128, stack(0x0000000050140000,0x0000000050240000)]
                0x000000004d3e0000 JavaThread "Old I/O server boss (channelId: 1027355575, localhost/127.0.0.1:5455)" [_thread_in_native, id=5356, stack(0x0000000050040000,0x0000000050140000)]
                0x000000004d3df800 JavaThread "pool-8-thread-1" [_thread_blocked, id=3828, stack(0x000000004ff40000,0x0000000050040000)]
                0x000000004d3df000 JavaThread "pool-7-thread-1" [_thread_blocked, id=8768, stack(0x000000004fcf0000,0x000000004fdf0000)]
                0x000000004d3de000 JavaThread "Thread-0 (group:HornetQ-server-threads1934329031-1543103262)" [_thread_blocked, id=5964, stack(0x000000004fe40000,0x000000004ff40000)]
                0x000000004d3dd800 JavaThread "Thread-0 (group:HornetQ-Asynchronous-Persistent-Writes1812907062-229248571)" daemon [_thread_blocked, id=7268, stack(0x000000004e210000,0x000000004e310000)]
                0x000000004d612800 JavaThread "Thread-0 (group:HornetQ-scheduled-threads-2061551555)" [_thread_blocked, id=7324, stack(0x000000004e000000,0x000000004e100000)]
                0x000000004cbd6800 JavaThread "hornetq-expiry-reaper-thread" [_thread_blocked, id=564, stack(0x000000004df00000,0x000000004e000000)]
                0x000000004cbbb800 JavaThread "hornetq-buffer-timeout" [_thread_blocked, id=5680, stack(0x000000004de00000,0x000000004df00000)]
                0x000000004d4b6000 JavaThread "Naming Bootstrap#1" [_thread_in_native, id=5844, stack(0x000000004dd00000,0x000000004de00000)]
                0x000000004ca88000 JavaThread "GC Daemon" daemon [_thread_blocked, id=4212, stack(0x000000004dc00000,0x000000004dd00000)]
                0x000000004ca8a000 JavaThread "RMI Reaper" [_thread_blocked, id=4412, stack(0x000000004db00000,0x000000004dc00000)]
                0x000000004cc14000 JavaThread "RMI TCP Accept-1098" daemon [_thread_in_native, id=7092, stack(0x000000004da00000,0x000000004db00000)]
                0x000000004ca3e000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=5580, stack(0x000000004d000000,0x000000004d100000)]
                0x000000004caad800 JavaThread "RMI TCP Accept-3000" daemon [_thread_in_native, id=6684, stack(0x000000004cf00000,0x000000004d000000)]
                0x000000004caac800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=7680, stack(0x000000004ce00000,0x000000004cf00000)]
                0x000000004b43a000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3952, stack(0x000000004c520000,0x000000004c620000)]
                0x000000004b435800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=6624, stack(0x000000004c420000,0x000000004c520000)]
                0x000000004b42e800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5480, stack(0x000000004c320000,0x000000004c420000)]
                0x000000004b42d800 JavaThread "Attach Listener" daemon [_thread_blocked, id=6132, stack(0x000000004c220000,0x000000004c320000)]
                0x000000004b42d000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2884, stack(0x000000004c120000,0x000000004c220000)]
                0x000000004b3d3000 JavaThread "Finalizer" daemon [_thread_blocked, id=4860, stack(0x000000004c020000,0x000000004c120000)]
                0x000000004b3d1800 JavaThread "Reference Handler" daemon [_thread_blocked, id=760, stack(0x000000004bf20000,0x000000004c020000)]
               
              Other Threads:
                0x000000004b3cb000 VMThread [stack: 0x000000004be20000,0x000000004bf20000] [id=628]
                0x000000004cb77000 WatcherThread [stack: 0x000000004d100000,0x000000004d200000] [id=8404]
               
              =>0x00000000004ac000 (exited) GCTaskThread [stack: 0x000000004ac10000,0x000000004ad10000] [id=3648]
               
               
              VM state:at safepoint (normal execution)
               
              VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
              [0x000000000025a600] Threads_lock - owner thread: 0x000000004b3cb000
              [0x000000000025ab00] Heap_lock - owner thread: 0x000000004d4db000
               
              Heap
               PSYoungGen      total 324032K, used 313931K [0x0000000035130000, 0x000000004a680000, 0x000000004a680000)
                eden space 299392K, 100% used [0x0000000035130000,0x0000000047590000,0x0000000047590000)
                from space 24640K, 59% used [0x0000000048d50000,0x0000000049b82e78,0x000000004a560000)
                to   space 24320K, 48% used [0x0000000047590000,0x0000000048116110,0x0000000048d50000)
               PSOldGen        total 349568K, used 113779K [0x000000000a680000, 0x000000001fbe0000, 0x0000000035130000)
                object space 349568K, 32% used [0x000000000a680000,0x000000001159cd48,0x000000001fbe0000)
               PSPermGen       total 23296K, used 22424K [0x0000000005280000, 0x0000000006940000, 0x000000000a680000)
                object space 23296K, 96% used [0x0000000005280000,0x00000000068663e0,0x0000000006940000)
               
              Dynamic libraries:
              0x0000000000400000 - 0x000000000042e000      C:\Windows\system32\java.exe
              0x0000000077000000 - 0x00000000771ab000      C:\Windows\SYSTEM32\ntdll.dll
              0x0000000076de0000 - 0x0000000076eff000      C:\Windows\system32\kernel32.dll
              0x000007fefd280000 - 0x000007fefd2eb000      C:\Windows\system32\KERNELBASE.dll
              0x000007fefe090000 - 0x000007fefe16b000      C:\Windows\system32\ADVAPI32.dll
              0x000007feff250000 - 0x000007feff2ef000      C:\Windows\system32\msvcrt.dll
              0x000007feff2f0000 - 0x000007feff30f000      C:\Windows\SYSTEM32\sechost.dll
              0x000007fefd440000 - 0x000007fefd56e000      C:\Windows\system32\RPCRT4.dll
              0x000000006d7f0000 - 0x000000006de95000      C:\Program Files\Java64\jre6\bin\server\jvm.dll
              0x0000000076f00000 - 0x0000000076ffa000      C:\Windows\system32\USER32.dll
              0x000007fefdb50000 - 0x000007fefdbb7000      C:\Windows\system32\GDI32.dll
              0x000007fefdbc0000 - 0x000007fefdbce000      C:\Windows\system32\LPK.dll
              0x000007feff160000 - 0x000007feff22a000      C:\Windows\system32\USP10.dll
              0x000007fefae70000 - 0x000007fefaeab000      C:\Windows\system32\WINMM.dll
              0x000007fefe060000 - 0x000007fefe08e000      C:\Windows\system32\IMM32.DLL
              0x000007fefd330000 - 0x000007fefd439000      C:\Windows\system32\MSCTF.dll
              0x000000006d760000 - 0x000000006d76e000      C:\Program Files\Java64\jre6\bin\verify.dll
              0x000000006d3b0000 - 0x000000006d3d7000      C:\Program Files\Java64\jre6\bin\java.dll
              0x000000006d310000 - 0x000000006d31a000      C:\Program Files\Java64\jre6\bin\hpi.dll
              0x00000000771d0000 - 0x00000000771d7000      C:\Windows\system32\PSAPI.DLL
              0x000000006d7b0000 - 0x000000006d7c2000      C:\Program Files\Java64\jre6\bin\zip.dll
              0x000000006d540000 - 0x000000006d54a000      C:\Program Files\Java64\jre6\bin\management.dll
              0x000000006d600000 - 0x000000006d617000      C:\Program Files\Java64\jre6\bin\net.dll
              0x000007fefd980000 - 0x000007fefd9cd000      C:\Windows\system32\WS2_32.dll
              0x000007fefdd10000 - 0x000007fefdd18000      C:\Windows\system32\NSI.dll
              0x000007fefc7d0000 - 0x000007fefc824000      C:\Windows\system32\mswsock.dll
              0x000007fefc7c0000 - 0x000007fefc7c7000      C:\Windows\System32\wship6.dll
              0x000007fefae10000 - 0x000007fefae25000      C:\Windows\system32\NLAapi.dll
              0x000007fefc620000 - 0x000007fefc67b000      C:\Windows\system32\DNSAPI.dll
              0x000007fef9410000 - 0x000007fef941b000      C:\Windows\System32\winrnr.dll
              0x000007fef93f0000 - 0x000007fef9405000      C:\Windows\system32\napinsp.dll
              0x000007fef93d0000 - 0x000007fef93e9000      C:\Windows\system32\pnrpnsp.dll
              0x000007fefc430000 - 0x000007fefc437000      C:\Windows\System32\wshtcpip.dll
              0x000007fef9e50000 - 0x000007fef9e77000      C:\Windows\system32\IPHLPAPI.DLL
              0x000007fef9e40000 - 0x000007fef9e4b000      C:\Windows\system32\WINNSI.DLL
              0x000007fef9460000 - 0x000007fef9468000      C:\Windows\system32\rasadhlp.dll
              0x000007fef99c0000 - 0x000007fef9a13000      C:\Windows\System32\fwpuclnt.dll
              0x000007fefca20000 - 0x000007fefca37000      C:\Windows\system32\CRYPTSP.dll
              0x000007fefc510000 - 0x000007fefc557000      C:\Windows\system32\rsaenh.dll
              0x000007fefc410000 - 0x000007fefc42e000      C:\Windows\system32\USERENV.dll
              0x000007fefcf60000 - 0x000007fefcf6f000      C:\Windows\system32\profapi.dll
              0x000007fefce90000 - 0x000007fefce9f000      C:\Windows\system32\CRYPTBASE.dll
              0x000000006d620000 - 0x000000006d62b000      C:\Program Files\Java64\jre6\bin\nio.dll
              0x000007fef99a0000 - 0x000007fef99b1000      C:\Windows\system32\dhcpcsvc6.DLL
              0x000007fef9970000 - 0x000007fef9988000      C:\Windows\system32\dhcpcsvc.DLL
              0x000000006d6a0000 - 0x000000006d6a6000      C:\Program Files\Java64\jre6\bin\rmi.dll
               
              VM Arguments:
              jvm_args: -XX:+UseParallelGC -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Dhornetq.config.dir=..\config\stand-alone\non-clustered -Djava.util.logging.config.file=..\config\stand-alone\non-clustered\logging.properties -Djava.library.path=. -Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false 
              java_command: org.hornetq.integration.bootstrap.HornetQBootstrapServer hornetq-beans.xml
              Launcher Type: SUN_STANDARD
               
              Environment Variables:
              CLASSPATH=..\config\stand-alone\non-clustered;..\schemas\;C:\hornetq-2.1.1.Final\lib\hornetq-bootstrap.jar;C:\hornetq-2.1.1.Final\lib\hornetq-core-client.jar;C:\hornetq-2.1.1.Final\lib\hornetq-core.jar;C:\hornetq-2.1.1.Final\lib\hornetq-jboss-as-integration.jar;C:\hornetq-2.1.1.Final\lib\hornetq-jms-client.jar;C:\hornetq-2.1.1.Final\lib\hornetq-jms.jar;C:\hornetq-2.1.1.Final\lib\hornetq-logging.jar;C:\hornetq-2.1.1.Final\lib\jboss-jms-api.jar;C:\hornetq-2.1.1.Final\lib\jboss-mc.jar;C:\hornetq-2.1.1.Final\lib\jnp-client.jar;C:\hornetq-2.1.1.Final\lib\jnpserver.jar;C:\hornetq-2.1.1.Final\lib\netty.jar
              PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Subversion\bin;C:\Program Files\SysInternalsSuite;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;C:\dev\apama-lib2.amd64\all\jakarta-ant\1.7.1\bin;C:\Python26;C:\Program Files (x86)\UnxUtils\usr\local\wbin;C:\Users\bjs\tools;C:\dev\svnadmin
              USERNAME=bjs
              OS=Windows_NT
              PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
               
               
               
              ---------------  S Y S T E M  ---------------
               
              OS: Windows 7 Build 7600 
               
              CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
               
              Memory: 4k page, physical 6288952k(894028k free), swap 12576004k(5951488k free)
               
              vm_info: Java HotSpot(TM) 64-Bit Server VM (16.0-b13) for windows-amd64 JRE (1.6.0_18-b07), built on Dec 17 2009 13:24:11 by "java_re" with MS VC++ 8.0 (VS2005)
               
              time: Fri Jul 09 10:26:03 2010
              elapsed time: 69717 seconds
              
              • 4. Re: EXCEPTION_ACCESS_VIOLATION JVM crashes in HornetQ on Windows
                Ben Spiller Newbie

                I've seen this crash 9 times now.

                 

                The only way to avoid it seems to be to set -XX:+UseConcMarkSweepGC (looks like HornetQ is exposing a bug in the 64-bit Sun Java 6 Parallel Garbage Collector). Compared to the parallel GC, this GC improves latency, but reduces throughput - but if anyone else trips across this bug you might want to give this solution a go.