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

bug5070081.java failed on current 6ub1 but passed on previous one 6u2b5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6u3
    • client-libs

      test javax/sound/sampled/Clip/bug5070081.java failed (freeze) on
      javatestOS=Windows Vista 6.0 (amd64)
      java version "1.6.0_03-ea"
      Java(TM) SE Runtime Environment (build 1.6.0_03-ea-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-ea-b01, mixed mode)

      but passed on previous one
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)

      Test shows next info when executed on 6u3b1
      ----------System.out:(7/160)----------
      loop 1/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 23041
        Position after stop: 23041
        d(time): 8 ms;d(clip pos): 0 ms.
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: Program `C:/JQA/regression//jdk1.6.0_03\bin\java' interrupted! (timed out?)

      I've tested by substitute a very long time factor but test was never finished.
      It was interrupted by JTest harness.

      At the same when test executed on previous JDK an output is different
      -----------------
      command: main bug5070081
      reason: User specified action: run main bug5070081
      elapsed time (seconds): 27.671
      ----------System.out:(41/960)----------
      loop 1/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 23041
        Position after stop: 23041
        d(time): 10 ms;d(clip pos): 0 ms.
        Position at end: 23041
      loop 2/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 23041
        Position after stop: 23041
        d(time): 10 ms;d(clip pos): 0 ms.
        Position at end: 23041
      loop 3/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 23553
        Position after stop: 23553
        d(time): 11 ms;d(clip pos): 0 ms.
        Position at end: 23553
      loop 4/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 24577
        Position after stop: 24577
        d(time): 14 ms;d(clip pos): 0 ms.
        Position at end: 24577
      loop 5/5
        Clip length:
          frames: 66150
          seconds: 3.0
        Position before stop: 24321
        Position after stop: 24321
        d(time): 12 ms;d(clip pos): 0 ms.
        Position at end: 24321
      Test passed sucessfully
      ----------System.err:(1/16)----------
      STATUS:Passed.
      result: Passed. Execution successful


      test result: Passed. Execution successful
      -----------------

      I've tested it on two machines, and it was reproduced on both

      How to reproduce. get appropriate already compiled bug5070081.class from attached forBug.tar in check-1.6.0_03b01/work/classes/javax/sound/sampled/Clip
      and run as
      java -classpath . bug5070081
      on appropriate JDK

      or just run it in regular way by JTest harness

            amenkov Alex Menkov
            edrobitk Eugene Drobitko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: