-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
sparc
-
solaris_2.5.1
This can be reproduced consistently on WinNT under the following scenario:
- A GUI application is used. It has a button to playback a short
audio clip each time it's pressed.
- When the button is pressed, it creates a SourceDataLine to play back
a short clip of PCM data.
- At the end of the short clip, SourceDataLine.drain is called. When
that returns, the SourceDataLine is closed.
- By repeatedly hitting the button after a while, the CPU will reach
100% and stay at 100% indefinitely.
By doing a thread dump at this point, there will a few threads
that got stuck in the com.sun.media.sound.MixerSourceLine.drain call.
- A GUI application is used. It has a button to playback a short
audio clip each time it's pressed.
- When the button is pressed, it creates a SourceDataLine to play back
a short clip of PCM data.
- At the end of the short clip, SourceDataLine.drain is called. When
that returns, the SourceDataLine is closed.
- By repeatedly hitting the button after a while, the CPU will reach
100% and stay at 100% indefinitely.
By doing a thread dump at this point, there will a few threads
that got stuck in the com.sun.media.sound.MixerSourceLine.drain call.
- duplicates
-
JDK-4392953 SourceDataLine.drain() hangs in threaded use
-
- Resolved
-
- relates to
-
JDK-4428704 RAS: Sound Reliability Tests Consistently Crash In Less Than Five Hours.
-
- Resolved
-