Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4958917
Votes 0
Synopsis Linux: reg test ClipFlushCrash fails
Category java:classes_sound
Reported Against tiger , tiger-beta
Release Fixed 1.5(tiger-b44)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 4961343
Submit Date 24-NOV-2003
Description
Fixed for build 43, 1.5.0 beta 2.




On Linux (machine kubrick) with several ALSA devices installed, the reg test javax/sound/sampled/Clip/ClipFlushCrash.java hangs. It does not terminate the concurrent threads correctly.

This behavior was introduced with build 28, but not noticed until now. Therefore it is not a stopper for PIT for build 30.

======================================================================
Work Around
N/A
Evaluation
 xxxxx@xxxxx  2003-12-01
	Also SQA stumbled on this bug, and filed bug 4961343, which is closed as duplicate of this one. The bug suggested that the test case could have a race condition.

When calling stop, the ALSA code switched to blocking mode. A write() after that would then block forever, since the device is not started. The fix is to switch to non-blocking mode after a blocking stop() was executed. Riskless fix.
 xxxxx@xxxxx  2004-03-04
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang