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

win98: intermittent page faults; DosMuxSemWait IOException failures in select

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • generic
    • generic
    • Verified

      There are intermittent failures, some successes, at least three observed
      page faults when running a web client test which makes 125 connections
      to a webserver. Each connection sends one HTTP GET request. The responses
      are read-selected when ready.

      The following IOException is the source of failures:
      java.io.IOException: The number of specified semaphore events for
      DosMuxSemWait is not correct
              at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
              at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:181)
              at sun.nio.ch.SelectorImpl.doSelect(SelectorImpl.java:88)
              at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:114)
              at requestHandler.run(requestHandler.java:30)
              at java.lang.Thread.run(../../../src/share/classes/java/lang/Thread.java
      :579)

      There were 3 page faults seen when the test was re-run
      following a failure where total number of trials
      was ~25.

      JAVA caused an invalid page fault in
      module KERNEL32.DLL at 0187:bff7a138.
      Registers:
      EAX=00000000 CS=0187 EIP=bff7a138 EFLGS=00010206
      EBX=08ddb044 SS=018f ESP=0913fae8 EBP=0913fb1c
      ECX=00000400 DS=018f ESI=08dda020 FS=4747
      EDX=00000001 ES=018f EDI=00001024 GS=0000
      Bytes at CS:EIP:
      89 51 08 8b 53 08 8b 43 04 89 42 04 8d 93 0b 10
      Stack dump:
      0913fb1c 08dda020 00590000 068ac458 bff7b31d 00590000 08dda020
      00001024 00000200 006b4454 08dda024 068ac458 08dda020 0913fb64
      78001436 00590000


      Successful test runs have been seen. From a continuous run of
      20 executions, 6 had passed.

      Also seen infrequently (accompanied sometimes with the DosMux
      error):
      java.net.SocketException: Bad file descriptor
              at sun.nio.ch.IOUtil.connect(Native Method)
              at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:181)
              at remoteEntity.go(remoteEntity.java:37)
              at remoteEntity.<init>(remoteEntity.java:25)
              at webClientTest$Client.go(webClientTest.java:109)
              at webClientTest$Client.run(webClientTest.java:96)


      Test files and compiled classes are attached in a tar file.

      Usage:

         java webClientTest -webServer polomski.eng.sun.com

      May want to pipe output of test (125 http responses) to a file.
      Any webserver might be able to be used. The test only
      assumes port 8080 and a base index.html file.

      When the number of client requests is reduced e.g. to 25,
      no errors were seen on win98.

            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: