JDK-6968933 : Clip loop() deadlock in DirectAudioDevice$DirectClip.run
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 5.0u17
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-07-14
  • Updated: 2011-02-28
  • Resolved: 2011-02-28
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.
Other Other JDK 6 JDK 7 Other
5.0u17-crev,OpenJDK6Fixed 5.0u27Fixed 6u27Fixed 7 b126Fixed OpenJDK6Resolved
Description
OS: Windows XP
Java: 1.5.0u17

Clip loop() doesn't play sound in rare cases.
This seems to happen because it checks status without locking.

Please see comments field for more information.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/build/jdk/rev/d36ad8686f6d
17-01-2011

EVALUATION Synchronization problem as described in comments.
28-07-2010