11 Replies Latest reply on Jun 25, 2008 2:12 PM by Clebert Suconic

    EXCEPTION_ACCESS_VIOLATION [ntdll.dll+0x18fea]

    bodrin b. Newbie

      My jvm started to crash just when I have started to use jboss messaging. The problem seems to be native in nature, but anyway the JBM somehow provokes it I think.

      The problem appears only on windows xp. Three of my colleagues are experiencing the same problem. Actually it appears very often and it seems that the probability increases when sending more messages.
      The problem appears when running in JBoss and when running a standalone client also.

      We are developing on windows machines, but the integration testing is done only on linux machines. We have not observerd the problem on linux machines till now.

      here is the dump file:

      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c918fea, pid=5864, tid=4184
      #
      # Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
      # Problematic frame:
      # C [ntdll.dll+0x18fea]
      #
      # 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 (0x0b11c400): JavaThread "control: Socket[addr=dobrin/172.16.50.159,port=2690,localport=51243]" daemon [_thread_in_native, id=4184]
      
      siginfo: ExceptionCode=0xc0000005, writing address 0x00000010
      
      Registers:
      EAX=0x00000000, EBX=0x00000000, ECX=0x000011f4, EDX=0x0ad4740c
      ESP=0x0ccaef64, EBP=0x0ccaefd8, ESI=0x0ad473fc, EDI=0x00000000
      EIP=0x7c918fea, EFLAGS=0x00010246
      
      Top of Stack: (sp=0x0ccaef64)
      0x0ccaef64: 0ada1938 00000000 00000000 ffffffff
      0x0ccaef74: 7fffffff 000bb218 00000000 00000000
      0x0ccaef84: 0ccaeffc 71a557c9 00001494 00001468
      0x0ccaef94: 00000000 71a544b0 0ccaf088 0ccaf094
      0x0ccaefa4: 00000001 0ccaf070 00000001 00000000
      0x0ccaefb4: 00000020 00000800 0ccaf080 00000000
      0x0ccaefc4: 00000000 00001494 00000000 00000000
      0x0ccaefd4: 000011f4 0ccaf070 7c90104b 00d473fc
      
      Instructions: (pc=0x7c918fea)
      0x7c918fda: 8b 46 10 3b c3 89 45 fc 0f 84 9e 00 00 00 8b 06
      0x7c918fea: ff 40 10 8b 45 fc 83 e0 01 89 45 e8 8b 06 ff 40
      
      
      Stack: [0x0cc60000,0x0ccb0000), sp=0x0ccaef64, free space=315k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [ntdll.dll+0x18fea]
      C [ntdll.dll+0x104b]
      
      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 java.net.SocketInputStream.read()I+23
      J java.io.FilterInputStream.read()I
      j org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlConnectionThread.run()V+18
      v ~StubRoutines::call_stub
      
      --------------- P R O C E S S ---------------
      
      Java Threads: ( => current thread )
       0x0c261c00 JavaThread "State Saver" [_thread_blocked, id=5684]
      =>0x0b11c400 JavaThread "control: Socket[addr=dobrin/172.16.50.159,port=2690,localport=51243]" daemon [_thread_in_native, id=4184]
       0x0c21a400 JavaThread "Timer-2" daemon [_thread_blocked, id=2284]
       0x0c1ba400 JavaThread "control: Socket[addr=blade8.localdomain/10.58.100.162,port=2439,localport=51237]" daemon [_thread_in_native, id=3768]
       0x0b676800 JavaThread "Timer-1" daemon [_thread_blocked, id=4608]
       0x0b674800 JavaThread "Timer-0" daemon [_thread_blocked, id=2592]
       0x0b0a4400 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=3540]
       0x0b623400 JavaThread "GC Daemon" daemon [_thread_blocked, id=2764]
       0x0b191400 JavaThread "RMI RenewClean-[dobrin:1201]" daemon [_thread_blocked, id=6048]
       0x002a7800 JavaThread "DestroyJavaVM" [_thread_blocked, id=4364]
       0x0ab0b400 JavaThread "Thread-4" daemon [_thread_in_native, id=4276]
       0x0c149800 JavaThread "Thread-3" daemon [_thread_blocked, id=2616]
       0x0aaa8c00 JavaThread "SEPIncomingProcess server" daemon [_thread_in_native, id=4152]
       0x0b178c00 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=1972]
       0x0b176000 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=5272]
       0x0b105400 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=4592]
       0x0b145400 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=6040]
       0x0b144800 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=720]
       0x0b12ec00 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=4796]
       0x0b46d000 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=5600]
       0x0b578c00 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=2948]
       0x0b16d800 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=4392]
       0x0b16d400 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=1716]
       0x0b223400 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=5216]
       0x0b511800 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=5768]
       0x0b3f8800 JavaThread "Thread-0" daemon [_thread_in_native, id=5732]
       0x0b3f3800 JavaThread "HttpThread_5" daemon [_thread_blocked, id=5368]
       0x0b37ac00 JavaThread "HttpThread_4" daemon [_thread_blocked, id=3904]
       0x0b37a400 JavaThread "HttpThread_3" daemon [_thread_blocked, id=1752]
       0x0b3b8800 JavaThread "HttpThread_2" daemon [_thread_blocked, id=4408]
       0x0b3b8400 JavaThread "HttpThread_1" daemon [_thread_blocked, id=6044]
       0x0b37b400 JavaThread "DeviceManager" daemon [_thread_blocked, id=4256]
       0x0b35fc00 JavaThread "PMP Server Thread - socket://:1449" daemon [_thread_in_native, id=5468]
       0x0b377800 JavaThread "Discovery Agent" daemon [_thread_in_native, id=3364]
       0x0b2ef400 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=3796]
       0x0b2fc800 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=5884]
       0x0b315800 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=4700]
       0x0b31f000 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=5880]
       0x0b2fd800 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=4684]
       0x0b303800 JavaThread "Log Event Dispatcher" daemon [_thread_blocked, id=2796]
       0x0b300800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=2348]
       0x0b256400 JavaThread "OSGi Console" [_thread_in_native, id=3204]
       0x0b25b400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=964]
       0x0b2d5400 JavaThread "State Data Manager" daemon [_thread_blocked, id=4132]
       0x0aae9c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1872]
       0x0aae8800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5740]
       0x0aadd800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2844]
       0x0aada800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=4840]
       0x0aacf400 JavaThread "Attach Listener" daemon [_thread_blocked, id=5152]
       0x0aace800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5992]
       0x0aac0800 JavaThread "Finalizer" daemon [_thread_blocked, id=644]
       0x0aabc400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5748]
      
      Other Threads:
       0x0aab7800 VMThread [id=5608]
       0x0aaeb400 WatcherThread [id=200]
      
      VM state:not at safepoint (normal execution)
      
      VM Mutex/Monitor currently owned by a thread: None
      
      Heap
       def new generation total 1280K, used 1049K [0x029a0000, 0x02b00000, 0x02e80000)
       eden space 1152K, 90% used [0x029a0000, 0x02aa5450, 0x02ac0000)
       from space 128K, 3% used [0x02ac0000, 0x02ac11f0, 0x02ae0000)
       to space 128K, 0% used [0x02ae0000, 0x02ae0000, 0x02b00000)
       tenured generation total 15860K, used 9535K [0x02e80000, 0x03dfd000, 0x069a0000)
       the space 15860K, 60% used [0x02e80000, 0x037cfe58, 0x037d0000, 0x03dfd000)
       compacting perm gen total 25344K, used 25324K [0x069a0000, 0x08260000, 0x0a9a0000)
       the space 25344K, 99% used [0x069a0000, 0x0825b270, 0x0825b400, 0x08260000)
      No shared spaces configured.
      
      Dynamic libraries:
      0x00400000 - 0x00423000 C:\WINDOWS\system32\java.exe
      0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f5000 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\jre1.6.0_02\bin\msvcr71.dll
      0x6d7c0000 - 0x6da09000 C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll
      0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
      0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
      0x6d310000 - 0x6d318000 C:\Program Files\Java\jre1.6.0_02\bin\hpi.dll
      0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d400000 - 0x6d429000 C:\Program Files\Java\jre1.6.0_02\bin\jdwp.dll
      0x6d6c0000 - 0x6d6c6000 C:\Program Files\Java\jre1.6.0_02\bin\npt.dll
      0x6d770000 - 0x6d77c000 C:\Program Files\Java\jre1.6.0_02\bin\verify.dll
      0x6d3b0000 - 0x6d3cf000 C:\Program Files\Java\jre1.6.0_02\bin\java.dll
      0x6d7b0000 - 0x6d7bf000 C:\Program Files\Java\jre1.6.0_02\bin\zip.dll
      0x6d280000 - 0x6d287000 C:\Program Files\Java\jre1.6.0_02\bin\dt_socket.dll
      0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
      0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
      0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
      0x20b00000 - 0x20b4b000 C:\WINDOWS\system32\imon.dll
      0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
      0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
      0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
      0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
      0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
      0x6d570000 - 0x6d583000 C:\Program Files\Java\jre1.6.0_02\bin\net.dll
      0x6d590000 - 0x6d599000 C:\Program Files\Java\jre1.6.0_02\bin\nio.dll
      0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
      0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
      0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
      0x16080000 - 0x160a5000 C:\Program Files\Bonjour\mdnsNSP.dll
      0x76d60000 - 0x76d79000 C:\WINDOWS\system32\Iphlpapi.dll
      0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
      0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
      0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
      0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll
      0x6d750000 - 0x6d758000 C:\Program Files\Java\jre1.6.0_02\bin\sunmscapi.dll
      0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
      0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
      0x6d710000 - 0x6d716000 C:\Program Files\Java\jre1.6.0_02\bin\rmi.dll
      
      VM Arguments:
      jvm_args: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2000 -Djava.compiler=NONE -Dos.aliases=Win32,win* -Xbootclasspath/p:../../../bundles/securitybase.jar;../../../lib/mysql-connector-java-5.0.6-bin.jar;../../../lib/ojdbc14_g.jar;../../../lib/toplink-2.0-41-fix.jar;../../../lib/toplink-essentials.jar;../../../lib/commons-codec-1.3.jar;../../../lib/velocity-1.5.jar;../../../lib/commons-collections-3.1.jar;../../../lib/commons-lang-2.1.jar;../../../lib/single-line-formatter.jar -Dorg.osgi.framework.bootdelegation=javax.*,oracle.toplink.*,org.apache.commons.*,org.apache.*,com.mysql.* -Djpadomain.containermode=true -Djava.util.logging.config.file=logging.properties -Dosgi.configuration.area=./configuration -Dosgi.adaptor=com.prosyst.mbs.framework.sbctx.SBCtx
      java_command: org.eclipse.core.runtime.adaptor.mBSEclipseStarter -console
      Launcher Type: SUN_STANDARD
      
      Environment Variables:
      JAVA_HOME=C:\java\jdk1.6.0_02
      PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\programs\Jad;C:\java\jdk1.6.0_02\bin;C:\programs\maven-2.0.7\bin;C:\programs\apache-ant-1.7.0\bin;C:\Program Files\jEdit;C:\Program Files\GnuWin32\gnuwin32\bin;C:\Program Files\TortoiseHg;C:\Program Files\Mercurial;C:\Program Files\CVSNT\
      USERNAME=dobrin
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
      
      
      
      --------------- S Y S T E M ---------------
      
      OS: Windows XP Build 2600 Service Pack 2
      
      CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
      
      Memory: 4k page, physical 2097151k(1543248k free), swap 4194303k(3426172k free)
      
      vm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310
      
      
      


      Have anybody experiencing the same problem? Do you know which is the cause and how can we prevent/workaround this?