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

(so) W2000 SelectorTest reproducible IOException: connection forcibly closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • generic
    • generic
    • Verified

      On Windows 2000 (machinename isolinear), build65, both the SelectorTest
      client and server produced errors that could not be duplicated when
      run on another W2000 machine (belagio). The client and server were
      launched from the same host.

       .
       .
       .
      writing from 35
      writing from 26
      Client: java.io.IOException: An existing connection was forcibly closed by the remote host
      at sun.nio.ch.SocketDispatcher.write0(Native Method)
      at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:37)
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:73)
      at sun.nio.ch.IOUtil.write(IOUtil.java:55)
      at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:141)
      at xRemoteEntity.writeCycle(SelectorTest.java:296)
      at xRemoteEntity.cycle(SelectorTest.java:268)
      at SelectorTest$Client.go(SelectorTest.java:112)
      at TestThread.run(TestThread.java:27)
      java.lang.Exception: Failure
      at SelectorTest.main(SelectorTest.java:80)
      Exception in thread "main"

      ----------------------------------------------------------------
      The server produced this error:


      java full version "1.4.0-beta-b65"
      starting server...
      starting request handler...



      ****************
      Another exception has been detected while we were handling last error.
      Dumping information about last error:
      ERROR REPORT FILE = (N/A)
      PC = 0x6D40138F
      SIGNAL = -1073741819
      FUNCTION NAME = (N/A)
      OFFSET = 0xFFFFFFFF
      LIBRARY NAME = (N/A)
      Please check ERROR REPORT FILE for further information, if there is any.
      Good bye.
       


      update:
      This exception appeared again on W2000 server, machinename "infinityzero".
      client error essentially the same, but server error shows the
      EXCEPTION ACCESS VIOLATION (seen in ChannelLimit.java) with a bit more info:

      writing from 6
      writing from 34
      Client: java.io.IOException: An existing connection was forcibly closed by the remote host
      at sun.nio.ch.SocketDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:29)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:172)
      at sun.nio.ch.IOUtil.read(IOUtil.java:151)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:99)
      at xRemoteEntity.ackCycle(SelectorTest.java:278)
      at xRemoteEntity.cycle(SelectorTest.java:270)
      at SelectorTest$Client.go(SelectorTest.java:112)
      at TestThread.run(TestThread.java:27)
      java.lang.Exception: Failure
      at SelectorTest.main(SelectorTest.java:80)
      Exception in thread "main"



      server:

      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)
      java full version "1.4.0-beta-b65"
      starting server...
      starting request handler...

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77FC997C
      Function=RtlAllocateHeap+0x211
      Library=C:\WINNT\System32\ntdll.dll

      Current Java thread:
      at java.lang.Class.getMethodInfo0(Native Method)
      at java.lang.Class.getMethodInfo(Class.java:1819)
      at java.lang.Class.getConstructors1(Class.java:1761)
      at java.lang.Class.getConstructors0(Class.java:1745)
      at java.lang.Class.getConstructor0(Class.java:1782)
      at java.lang.Class.newInstance0(Class.java:261)
      at java.lang.Class.newInstance(Class.java:249)
      at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:384)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:380)
      at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:62)
      at sun.reflect.InflatableMethodAccessorImpl.inflate(InflatableMethodAccessorImpl.java:62)
      - locked <029F1F58> (a java.lang.reflect.Method)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:46)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at sun.nio.ch.Reflect.invoke(Reflect.java:81)
      at sun.nio.ch.Net.si_getFileDescriptor(Net.java:179)
      at sun.nio.ch.ChannelSocket.fd(ChannelSocket.java:61)
      at sun.nio.ch.ChannelSocket.setLocal(ChannelSocket.java:75)
      at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:71)
      at SelectorTest$Server.go(SelectorTest.java:165)
      at TestThread.run(TestThread.java:27)

      Dynamic libraries:
      0x00400000 - 0x00405000 c:\jdk14b65\bin\java.exe
      0x77F80000 - 0x77FF9000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0A000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL
      0x77D40000 - 0x77DAF000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x6D400000 - 0x6D503000 c:\jdk14b65\jre\bin\hotspot\jvm.dll
      0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x6D200000 - 0x6D207000 c:\jdk14b65\jre\bin\hpi.dll
      0x6D3D0000 - 0x6D3DD000 c:\jdk14b65\jre\bin\verify.dll
      0x6D240000 - 0x6D255000 c:\jdk14b65\jre\bin\java.dll
      0x6D3F0000 - 0x6D3FD000 c:\jdk14b65\jre\bin\zip.dll
      0x6D340000 - 0x6D34E000 C:\jdk14b65\jre\bin\net.dll
      0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
      0x75030000 - 0x75044000 C:\WINNT\System32\WS2_32.DLL
      0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
      0x77840000 - 0x7784C000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
      0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
      0x77950000 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
      0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
      0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
      0x6D350000 - 0x6D357000 C:\jdk14b65\jre\bin\nio.dll
      0x74FD0000 - 0x74FE1000 C:\WINNT\system32\msafd.dll
      0x68590000 - 0x685A6000 C:\WINNT\system32\rsvpsp.dll
      0x68C40000 - 0x68C4A000 C:\WINNT\System32\RAPILIB.dll
      0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
      0x77920000 - 0x77942000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

      Local Time = Wed May 23 16:27:47 2001
      Elapsed Time = 12
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b65 mixed mode)
      #
      # An error report file has been saved as hs_err_pid1988.log.
      # Please refer to the file for further information.
      #


      This version of SelectorTest is essentially the same version
      as in the workspace, the difference being in some arguments I
      pass into the test. Please contact me for instructions on
      how to execute this test from within my network harness.

            mmcclosksunw Michael Mccloskey (Inactive)
            kpolomsksunw Krystyna Polomski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: