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

Java2Demo intermittently hangs on Windows with -runs=1 arg

XMLWordPrintable

    • 2d
    • generic, x86
    • windows, windows_98, windows_2000

      pwd


      Name: agR10195 Date: 04/09/2002



      Alexey Gibadullin, ###@###.###

      The following test

          nsk/regression/b4446350
          
      from testbase_nsk executes Java2Demo.jar from demo/jfc/Java2D directory
      with "-runs=1" argument. The Java2Demo documentation implies that only 1
      run of Java2Demo is to be executed. So, all tabs should be passed with
      delay of 10 seconds (this amount of time is set by default).

      However, the test reveals that sometimes the jar hangs forever on the very
      first tab on Windows (more then 8 hours) against Hopper-b07. The application
      works correctly on all other platforms and in all modes. I also noticed
      two things about "Run" window, that appears with "Java 2D(TM) Demo" window,
      when the demo hangs:

          1. There is no any progress in ProgressBar as it happends when Java2Demo
             is executed fine.

          2. The button in the top-left corner of "Run" window is red with label
             "Stop" when Java2Demo changes tabs every 10 seconds. However, this
             button is green with label "Run" when the jar hangs. If I press "Run"
             button, the application starts changing tabs.
             
      Therefore, my guess, is that Java2Demo does not receive the first "Start"
      command by any reason.

      This hang up was observed in all modes against both Server and Client VMs on
      Microsoft Windows 2000 [Version 5.00.2195] and Windows 98 [Version 4.10.2222].
      This failure is intermittent. I ran the application 5 times in all modes:

      java, -client, -Xmixed 1 hangup
      java, -client, -Xcomp 3 hangups
      java, -client, -Xint 1 hangup
      java_g, -client, -Xmixed 2 hangups
      java, -server, -Xmixed 1 hangup
      java, -server, -Xcomp 1 hangup
      java, -server, -Xint 0
      java_g, -server, -Xmixed 0

      I used Pentium-III, 866MHz, 512Mb RAM machine and

      ../jdk1.4.1-b07/windows-i586/bin/java -jar
      ../jdk1.4.1-b07/windows-i586/demo/jfc/Java2D/Java2Demo.jar -runs=1

      command to reveal this bug.

      The test will appear in the r14 release of testbase located at

          /net/sqesvr.sfbay/export/vsn/VM/testbase/testbase_nsk

            tdv Dmitri Trembovetski (Inactive)
            gazsunw Gaz Gaz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: