JDK-6358091 : javax/sound/sampled/Clip/JavaSoundAudioClip/bug6269854.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: x86
  • Submitted: 2005-12-01
  • Updated: 2017-11-10
  • Resolved: 2006-01-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b66Fixed
Related Reports
Relates :  
Description
JDK		    : Mustang b59
Platform[s]         : Fails On: Solaris 10 amd
Failing Test [s]    : javax/sound/sampled/Clip/JavaSoundAudioClip/bug6269854.java

    Test source location:
    =====================
/net/jre.sfbay/p/v08/jdk/6.0/beta/b59/ws/j2se/test/javax/sound/sampled/Clip/JavaSoundAudioClip/bug6269854.java

    Test Machine:
    =============
SunOS colfax002 5.10 Generic_118844-18 i86pc i386 i86pc
                        Solaris 10 10/05 s10x_u1wos_14 X86
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 07 September 2005

    jtr file location:
    ==================
/net/cady/export/dtf/regdir/59a-sol/59a/javax/sound/sampled/Clip/JavaSoundAudioClip/bug6269854.jtr

    How to reproduce:
    ====================
    - Set JAVA_HOME to Mustang b59 solaris-amd64
    - cd /net/jre.sfbay/p/v08/jdk/6.0/beta/b59/ws/j2se/test/javax/sound/sampled/Clip/JavaSoundAudioClip
    - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp ./bug6269854.java

    Test output:
    =============
----------System.out:(115/1648)----------
URLA:file:/net/cady/export/dtf/unified/knight-ws/suites/regression/reg-test-59a/test/javax/sound/sampled/Clip/JavaSoundAudioClip/ac_newranktheme.au
starting...
  looping... (loop 1)
  done.
  stopping...
  done.
  looping... (loop 2)
  done.
  stopping...
  done.
  looping... (loop 3)
  done.
  stopping...
  done.
  looping... (loop 4)
  done.
  stopping...
  done.
  looping... (loop 5)
  done.
  stopping...
  done.
  looping... (loop 6)
  done.
  stopping...
  done.
  looping... (loop 7)
  done.
  stopping...
  done.
  looping... (loop 8)
  done.
  stopping...
  done.
  looping... (loop 9)
  done.
  stopping...
  done.
  looping... (loop 10)
  done.
  stopping...
  done.
  looping... (loop 11)
  done.
  stopping...
  done.
  looping... (loop 12)
  done.
  stopping...
  done.
  looping... (loop 13)
  done.
  stopping...
  done.
  looping... (loop 14)
  done.
  stopping...
  done.
  looping... (loop 15)
  done.
  stopping...
  done.
  looping... (loop 16)
  done.
  stopping...
  done.
  looping... (loop 17)
  done.
  stopping...
  done.
  looping... (loop 18)
  done.
  stopping...
  done.
  looping... (loop 19)
  done.
  stopping...
  done.
  looping... (loop 20)
  done.
  stopping...
  done.
  looping... (loop 21)
  done.
  stopping...
  done.
  looping... (loop 22)
  done.
  stopping...
  done.
  looping... (loop 23)
  done.
  stopping...
  done.
  looping... (loop 24)
  done.
  stopping...
  done.
  looping... (loop 25)
  done.
  stopping...
  done.
  looping... (loop 26)
  done.
  stopping...
  done.
  looping... (loop 27)
  done.
  stopping...
  done.
  looping... (loop 28)
  done.
  stopping...
Test FAILED.
  done.
----------System.err:(14/806)----------
java.lang.RuntimeException: Test FAILED: thread has been blocked!
        at bug6269854.monitor(bug6269854.java:36)
        at bug6269854.main(bug6269854.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
        at java.lang.Thread.run(Thread.java:620)

Comments
EVALUATION Due to the description ("done" line after FAIL exception) this is test bug - this is not blocking, but just a big latency (or inaccurate timer) on solaris-amd64 Debugging on sol-amd64 required (have no environment available for now), test need to be corrected
06-12-2005