I have encountered strange problem related to the active mq thread management. This causes the JVM to crash.
The environment is the following: - windows 2002, jdk1.5, activeMQ 4.1.1 After the 2,3 hours the JVM just crashes. Here is the pid log file: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c8396d0, pid=2772, tid=4928 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode, sharing) # Problematic frame: # C [ntdll.dll+0x396d0] # --------------- T H R E A D --------------- Current thread (0x0335c788): JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=4928] siginfo: ExceptionCode=0xc0000005, reading address 0x00000014 Registers: EAX=0x00000000, EBX=0x03b06630, ECX=0xfffffffc, EDX=0x00000000 ESP=0x03f6f158, EBP=0x03f6f180, ESI=0x03b0662c, EDI=0x00000004 EIP=0x7c8396d0, EFLAGS=0x00010246 Top of Stack: (sp=0x03f6f158) 0x03f6f158: 00000001 03b06630 00000000 00000000 0x03f6f168: 03f6f230 7ffa7000 00000000 00000020 0x03f6f178: 00000b94 00000000 03f6f1a0 7c839620 0x03f6f188: 00000000 00000004 00000000 03ae24f0 0x03f6f198: 00000000 00000004 03f6f230 20b0447e 0x03f6f1a8: 03b0662c 03f6f248 00000000 03f6f230 0x03f6f1b8: 00000001 71b2199f ffffffff 00000b90 0x03f6f1c8: 03ae24f0 00000001 00000000 20b0e4d0 Instructions: (pc=0x7c8396d0) 0x7c8396c0: 8b c2 f0 0f b1 0b 3b c2 0f 85 ea 6c 00 00 8b 06 0x7c8396d0: 8b 50 14 8b 7d f8 8b 5d 08 42 89 50 14 8b c7 83 Stack: [0x03f30000,0x03f70000), sp=0x03f6f158, free space=252k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x396d0] C [ntdll.dll+0x39620] C [imon.dll+0x447e] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0 j java.net.SocketInputStream.read([BII)I+84 j org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill()V+31 J org.apache.activemq.transport.tcp.TcpBufferedInputStream.read()I j java.io.DataInputStream.readInt()I+4 J org.apache.activemq.transport.tcp.TcpTransport.run()V v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x0335c788 JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=4928] 0x03332780 JavaThread "ActiveMQ Task" daemon [_thread_blocked, id=3812] 0x032d5638 JavaThread "ActiveMQ Session Task" daemon [_thread_blocked, id=5276] 0x03322190 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=4712] 0x032d4810 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=5444] 0x0333fce8 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=3156] 0x032cfc30 JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=2256] 0x03354bf0 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=1232] 0x033446f8 JavaThread "ActiveMQ Scheduler" daemon [_thread_blocked, id=1188] 0x03311618 JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=1108] 0x032be3e8 JavaThread "Thread-0" daemon [_thread_blocked, id=4688] 0x00a76300 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4876] 0x00a75008 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5348] 0x00a742e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5400] 0x00a4c6f0 JavaThread "Finalizer" daemon [_thread_blocked, id=4076] 0x00a6eb20 JavaThread "Reference Handler" daemon [_thread_blocked, id=344] 0x0003acf8 JavaThread "main" [_thread_blocked, id=5476] Other Threads: 0x00a6c170 VMThread [id=4628] 0x00a74180 WatcherThread [id=5124] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 362K [0x22a60000, 0x22b00000, 0x22f40000) eden space 512K, 70% used [0x22a60000, 0x22ab9c60, 0x22ae0000) from space 64K, 4% used [0x22af0000, 0x22af0c20, 0x22b00000) to space 64K, 0% used [0x22ae0000, 0x22ae0000, 0x22af0000) tenured generation total 1956K, used 1438K [0x22f40000, 0x23129000, 0x26a60000) the space 1956K, 73% used [0x22f40000, 0x230a78c8, 0x230a7a00, 0x23129000) compacting perm gen total 8192K, used 5790K [0x26a60000, 0x27260000, 0x2aa60000) the space 8192K, 70% used [0x26a60000, 0x27007bd8, 0x27007c00, 0x27260000) ro space 8192K, 67% used [0x2aa60000, 0x2afbf150, 0x2afbf200, 0x2b260000) rw space 12288K, 47% used [0x2b260000, 0x2b809750, 0x2b809800, 0x2be60000) Dynamic libraries: 0x00400000 - 0x0040d000 c:\java\jdk1.5.0_11\jre\bin\java.exe 0x7c800000 - 0x7c8c0000 C:\WINDOWS\system32\ntdll.dll 0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll 0x77f50000 - 0x77fec000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll 0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll 0x6d740000 - 0x6d8dd000 c:\java\jdk1.5.0_11\jre\bin\client\jvm.dll 0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll 0x77c00000 - 0x77c49000 C:\WINDOWS\system32\GDI32.dll 0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll 0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll 0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll 0x71c40000 - 0x71c98000 C:\WINDOWS\system32\NETAPI32.dll 0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL 0x6d300000 - 0x6d308000 c:\java\jdk1.5.0_11\jre\bin\hpi.dll 0x6d710000 - 0x6d71c000 c:\java\jdk1.5.0_11\jre\bin\verify.dll 0x6d380000 - 0x6d39d000 c:\java\jdk1.5.0_11\jre\bin\java.dll 0x6d730000 - 0x6d73f000 c:\java\jdk1.5.0_11\jre\bin\zip.dll 0x6d540000 - 0x6d553000 C:\java\jdk1.5.0_11\jre\bin\net.dll 0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll 0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll 0x71b20000 - 0x71b61000 C:\WINDOWS\System32\mswsock.dll 0x76ed0000 - 0x76eff000 C:\WINDOWS\system32\DNSAPI.dll 0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll 0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll 0x76f80000 - 0x76f88000 C:\WINDOWS\system32\rasadhlp.dll 0x20b00000 - 0x20b4b000 C:\WINDOWS\system32\imon.dll 0x77670000 - 0x777a4000 C:\WINDOWS\system32\ole32.dll 0x71bb0000 - 0x71bb9000 C:\WINDOWS\system32\WSOCK32.dll 0x20c00000 - 0x20c0c000 C:\Program Files\Eset\pr_imon.dll 0x5f270000 - 0x5f2c9000 C:\WINDOWS\system32\hnetcfg.dll 0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll VM Arguments: java_command: com.authorization.AuthorizationModule Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=c:\java\jdk1.5.0_11 PATH=... USERNAME=sportsbook OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 1 CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 2097151k(1584092k free), swap 4194303k(3395804k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_11-b03) for windows-x86, built on Dec 15 2006 01:16:12 by "java_re" with MS VC++ 6.0 Did someone have this problem before? -- View this message in context: http://www.nabble.com/Active-MQ---JVM-crash-tf4273055s2354.html#a12161907 Sent from the ActiveMQ - User mailing list archive at Nabble.com.