JDK-4834461 : Linux: Applet hang when you load it during sound card is in use
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.2.1_05,1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,solaris_1
  • CPU: x86,sparc
  • Submitted: 2003-03-19
  • Updated: 2003-08-04
  • Resolved: 2003-03-23
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
1.4.2 b19Fixed
Related Reports
Relates :  
Description
[Testing Environment]
Java(TM) Plug-in 1.4.1_02-b06
File name: libjavaplugin_oji.so
Java(TM) Plug-in1.4.1_02

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030131
Linux freekick.PRC.Sun.COM 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux

[Repro Steps]
1. Make sure your sound card is using before run the following steps. Such as play mp3 with XMMS;
2. Run any sound inside applet testing during your MP3 playing;

[Bug]
Applet hang; 
===============
This bug also reproduceable in jdk1.4.2 b18.

###@###.### 2003-03-19
==============

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-beta tiger FIXED IN: mantis-beta tiger INTEGRATED IN: mantis-b19 mantis-beta tiger tiger-b14 VERIFIED IN: mantis-beta
14-06-2004

EVALUATION ###@###.### 2003-03-19 On Linux, OSS sound drivers "hang" when you want to open an audio device that is in use by another device. I'd consider this as a bug in OSS, but Java Sound should work around it by sensing if it would hang and then report an error to Java Sound instead of hanging. Serious problem should be fixed asap.
11-06-2004

PUBLIC COMMENTS Linux: Java Sound hangs VM if soundcard is in use.
10-06-2004

SUGGESTED FIX ###@###.### 2003-03-19 First check availability of device in non-blocking mode. If it is available, open the device in blocking mode.
19-03-2003