JDK-4635534 : The recording function is hanging in win32 platforms.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-02-08
  • Updated: 2003-08-02
  • Resolved: 2002-11-20
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 mantisFixed
Description
The test case test031.java in sound_tonga or TestRunner suites are failed due to the recording function in win32 is hanging or broken.

STEP TO REPRODUCE:
1. set JAVA_HOME to your target j2sdk build
2. cd /net/sqesvr/export/st3/SOUND_CHILD/sound_tonga/testrun/winServer_b92/Administrator.NT.x86/test031/ 

3. ksh test031.tlog  

You can also reproduce the bug with TestRunner Solo mode:
1. cd /net/sqesvr/export/st3/SOUND_CHILD/data/

2. modify "Solo_TestPrefs.xml" file to the following and save it:
<SOLO_TEST>test031</SOLO_TEST>

3. cd /net/sqesvr/export/st3/SOUND_CHILD/TestRunner/

4. % gnu_utils/Win32/gnumake compile

5. % gnu_utils/Win32/gnumake srun (to start the solo mode testing)

RESULTS:
The test031 is hanging in the recoding function until time out,  and test failed.

##Test timed out^M
##!checkExitCode^M
^M
#__________________^M
#theNewAudioFormat: PCM_SIGNED, 11025.0 Hz, 16 bit, stereo, big-endian, audio data is supported.^M
#The Clip Buffer Size: 220500^M
#The Microphone Buffer Size: 52896^M
#The Frame Rate: 11025.0^M
#The Frame Size: 4^M
#Recording...^M
====================
The recording problem in win32 has solved.  Varified with test031.java on WinXP Professiona.

###@###.### 2002-11-20

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

EVALUATION ###@###.### 2002-02-14 Recording works, but apparently this test case does not complete correctly. Needs more investigation. ###@###.### 2002-04-16 Should be fixed with an overhaul of the recording implementation in Mantis. Push to Mantis. ###@###.### 2002-10-29 Even without new direct audio drivers fixed in mantis.
29-10-2002