Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7094755

EXCEPTION_ACCESS_VIOLATION somewhere in windows-specific async socket library

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
       Java HotSpot(TM) Client VM (20.0-b06) for windows-x86 JRE (1.7.0-ea-b125), built on Jan 13 2011 02:34:34 by "java_re"

      FULL OS VERSION :
       Windows XP Build 2600 Service Pack 3


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Notebook MSI Intel Core 2 Duo 2GB RAM

      A DESCRIPTION OF THE PROBLEM :
      Crash when AsyncPingTest.clients=2000.
      When number of clients is small, runs OK
      When number of clients is medium, hangs as if some packets lost.


      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00a00b5b, pid=648, tid=1404
      #
      # JRE version: 7.0-b125
      # Java VM: Java HotSpot(TM) Client VM (20.0-b06 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # J sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(JZLjava/net/InetAddress;IJ)I
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x02be3000): JavaThread "Thread-0 DF executor" daemon [_thread_in_native, id=1404, stack(0x02f70000,0x02fc0000)]

      siginfo: ExceptionCode=0xc0000005, writing address 0x00000164

      Registers:
      EAX=0xfffffffe, EBX=0x00000000, ECX=0xbffa0a99, EDX=0x7c90e514
      ESP=0x02fbfb24, EBP=0x02fbfb38, ESI=0x6d9529b3, EDI=0x00000000
      EIP=0x00a00b5b, EFLAGS=0x00010246

        Top of Stack: (sp=0x02fbfb24)
      0x02fbfb24: 22b963f8 27f7d398 32a24578 27f67780
      0x02fbfb34: 00000000 02fbfb9c 00942f45 0000396c
      0x02fbfb44: 00000000 03820950 00000000 0000270e
      0x02fbfb54: 03bd163e 0000000e 00942f45 03820950
      0x02fbfb64: 00000000 0000270e 27f7d398 00000000
      0x02fbfb74: 0000396c 00000000 02fbfb7c 32a1f457
      0x02fbfb84: 02fbfbbc 32a24c40 00000000 32a1f460
      0x02fbfb94: 02fbfb60 02fbfba4 02fbfbe8 00942f45

      Instructions: (pc=0x00a00b5b)
      0x00a00b3b: e8 90 6e 07 6d 83 c4 08 8d 97 28 01 00 00 89 14
      0x00a00b4b: 24 c7 87 64 01 00 00 04 00 00 00 e8 90 2e ca 6c
      0x00a00b5b: c7 87 64 01 00 00 05 00 00 00 8b cf c1 e9 03 81
      0x00a00b6b: e1 fc 0f 00 00 89 0c 0d 00 00 92 00 81 3d 80 ee


      Register to memory mapping:

      EAX=0xfffffffe is an unknown value
      EBX=0x00000000 is an unknown value
      ECX=0xbffa0a99 is an unknown value
      EDX=0x7c90e514 is an unknown value
      ESP=0x02fbfb24 is pointing into the stack for thread: 0x02be3000
      EBP=0x02fbfb38 is pointing into the stack for thread: 0x02be3000
      ESI=0x6d9529b3 is an unknown value
      EDI=0x00000000 is an unknown value


      Stack: [0x02f70000,0x02fc0000], sp=0x02fbfb24, free space=318k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(JZLjava/net/InetAddress;IJ)I
      j sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$200(JZLjava/net/InetAddress;IJ)I+7
      j sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ConnectTask.run()V+59
      J sun.nio.ch.AsynchronousChannelGroupImpl$1.run()V
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub
      V [jvm.dll+0x11644d]
      V [jvm.dll+0x1b856e]
      V [jvm.dll+0x116616]
      V [jvm.dll+0x116676]
      V [jvm.dll+0xc81be]
      V [jvm.dll+0x136b4f]
      V [jvm.dll+0x1629d9]
      C [msvcr100.dll+0x5c6de] endthreadex+0x3a
      C [msvcr100.dll+0x5c788] endthreadex+0xe4
      C [kernel32.dll+0xb729] GetModuleFileNameA+0x1ba

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J sun.nio.ch.WindowsAsynchronousSocketChannelImpl.connect0(JZLjava/net/InetAddress;IJ)I
      j sun.nio.ch.WindowsAsynchronousSocketChannelImpl.access$200(JZLjava/net/InetAddress;IJ)I+7
      j sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ConnectTask.run()V+59
      J sun.nio.ch.AsynchronousChannelGroupImpl$1.run()V
      J com.github.rfqu.df4j.core.TaskWrapper.run()V
      J com.github.rfqu.df4j.core.SimpleExecutorService$Worker.act(Lcom/github/rfqu/df4j/core/Task;)V
      j com.github.rfqu.df4j.core.SimpleExecutorService$Worker.run()V+65
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x02fc8400 JavaThread "Thread-1" daemon [_thread_in_native, id=3224, stack(0x031c0000,0x03210000)]
      =>0x02be3000 JavaThread "Thread-0 DF executor" daemon [_thread_in_native, id=1404, stack(0x02f70000,0x02fc0000)]
        0x02bc4400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1108, stack(0x02e00000,0x02e50000)]
        0x02bc1c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=1604, stack(0x02db0000,0x02e00000)]
        0x02bbcc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1072, stack(0x02d60000,0x02db0000)]
        0x02bbb400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968, stack(0x02d10000,0x02d60000)]
        0x02bb6000 JavaThread "Finalizer" daemon [_thread_blocked, id=2284, stack(0x02cc0000,0x02d10000)]
        0x02bb1400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3912, stack(0x02c70000,0x02cc0000)]
        0x003c7000 JavaThread "main" [_thread_in_native, id=2180, stack(0x008c0000,0x00910000)]

      Other Threads:
        0x02bafc00 VMThread [stack: 0x02c20000,0x02c70000] [id=4068]
        0x02bcf400 WatcherThread [stack: 0x02e50000,0x02ea0000] [id=1876]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 4928K, used 2881K [0x229b0000, 0x22f00000, 0x27f00000)
        eden space 4416K, 53% used [0x229b0000, 0x22c004d8, 0x22e00000)
        from space 512K, 100% used [0x22e00000, 0x22e80000, 0x22e80000)
        to space 512K, 0% used [0x22e80000, 0x22e80000, 0x22f00000)
       tenured generation total 10944K, used 960K [0x27f00000, 0x289b0000, 0x329b0000)
         the space 10944K, 8% used [0x27f00000, 0x27ff0320, 0x27ff0400, 0x289b0000)
       compacting perm gen total 12288K, used 525K [0x329b0000, 0x335b0000, 0x369b0000)
         the space 12288K, 4% used [0x329b0000, 0x32a33798, 0x32a33800, 0x335b0000)
          ro space 10240K, 55% used [0x369b0000, 0x36f33d38, 0x36f33e00, 0x373b0000)
          rw space 12288K, 53% used [0x373b0000, 0x37a14f28, 0x37a15000, 0x37fb0000)

      Code Cache [0x00940000, 0x00a08000, 0x02940000)
       total_blobs=433 nmethods=298 adapters=71 free_code_cache=32745280 largest_free_block=0

      Dynamic libraries:
      0x00400000 - 0x0042e000 C:\WINDOWS\system32\java.exe
      0x7c900000 - 0x7c9b3000 C:\WINDOWS\system32\ntdll.dll
      0x7c800000 - 0x7c8f8000 C:\WINDOWS\system32\kernel32.dll
      0x77dc0000 - 0x77e6c000 C:\WINDOWS\system32\ADVAPI32.dll
      0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
      0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
      0x7e360000 - 0x7e3f1000 C:\WINDOWS\system32\USER32.dll
      0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
      0x5d5b0000 - 0x5d64a000 C:\WINDOWS\system32\COMCTL32.dll
      0x76360000 - 0x7637d000 C:\WINDOWS\system32\IMM32.DLL
      0x78aa0000 - 0x78b5e000 C:\Program Files\Java\jre7\bin\msvcr100.dll
      0x6d950000 - 0x6dc58000 C:\Program Files\Java\jre7\bin\client\jvm.dll
      0x76b20000 - 0x76b4e000 C:\WINDOWS\system32\WINMM.dll
      0x5d270000 - 0x5d277000 C:\WINDOWS\system32\serwvdrv.dll
      0x5b590000 - 0x5b597000 C:\WINDOWS\system32\umdmxfrm.dll
      0x6d8e0000 - 0x6d8ec000 C:\Program Files\Java\jre7\bin\verify.dll
      0x6d350000 - 0x6d370000 C:\Program Files\Java\jre7\bin\java.dll
      0x76be0000 - 0x76beb000 C:\WINDOWS\system32\PSAPI.DLL
      0x6d930000 - 0x6d943000 C:\Program Files\Java\jre7\bin\zip.dll
      0x6d680000 - 0x6d696000 C:\Program Files\Java\jre7\bin\net.dll
      0x71a90000 - 0x71aa7000 C:\WINDOWS\system32\WS2_32.dll
      0x77c00000 - 0x77c58000 C:\WINDOWS\system32\msvcrt.dll
      0x71a80000 - 0x71a88000 C:\WINDOWS\system32\WS2HELP.dll
      0x71a30000 - 0x71a70000 C:\WINDOWS\System32\mswsock.dll
      0x76f10000 - 0x76f37000 C:\WINDOWS\system32\DNSAPI.dll
      0x76d50000 - 0x76d69000 C:\WINDOWS\system32\iphlpapi.dll
      0x76fa0000 - 0x76fa8000 C:\WINDOWS\System32\winrnr.dll
      0x76f50000 - 0x76f7d000 C:\WINDOWS\system32\WLDAP32.dll
      0x75000000 - 0x7501e000 C:\WINDOWS\system32\wshbth.dll
      0x77910000 - 0x77a04000 C:\WINDOWS\system32\SETUPAPI.dll
      0x64000000 - 0x64025000 C:\Program Files\Bonjour\mdnsNSP.dll
      0x76fb0000 - 0x76fb6000 C:\WINDOWS\system32\rasadhlp.dll
      0x6d6a0000 - 0x6d6af000 C:\Program Files\Java\jre7\bin\nio.dll
      0x698b0000 - 0x69908000 C:\WINDOWS\system32\hnetcfg.dll
      0x71a70000 - 0x71a78000 C:\WINDOWS\System32\wshtcpip.dll

      VM Arguments:
      java_command: com.github.rfqu.df4j.ioexample.AsyncPingTest
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=C:\Program Files\Java\jdk1.7.0
      CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
      PATH=C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\TortoiseHg\;C:\Program Files\TortoiseGit\bin;C:\Program Files\Subversion\bin;C:\Program Files\Git\cmd;C:\Program Files\CVSNT\;c:\bin;C:\Program Files\Java\jdk1.7.0\bin;c:\progFiles\apache-maven-3.0.3\bin
      USERNAME=rfq
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 6, GenuineIntel



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

      OS: Windows XP Build 2600 Service Pack 3

      CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

      Memory: 4k page, physical 2088300k(337876k free), swap 4030248k(2288660k free)

      vm_info: Java HotSpot(TM) Client VM (20.0-b06) for windows-x86 JRE (1.7.0-ea-b125), built on Jan 13 2011 02:34:34 by "java_re" with unknown MS VC++:1600

      time: Sun Sep 25 13:20:45 2011
      elapsed time: 0 seconds



      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Source code is too large to paste it here. Why do you have no option to upload a zip file?
      I can send it by email if you give me your address.
      ---------- END SOURCE ----------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: