Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 2002 15:06:39 -0800
From:      Alex Zax <alexzax@x-mail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sny@x-mail.net
Subject:   java/46151: Sound Capture works only one time
Message-ID:  <1039475199.3df521ff9f3ef@www2.x-mail.net>

next in thread | raw e-mail | index | archive | help

>Number:         46151
>Category:       java
>Synopsis:       Sound Capture works only one time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 09 15:10:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Zahovaev
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Oct 14 00:50:30 
GMT 2002 root@:/usr/src/sys/compile/GENERIC i386
javax.sound.sampled
Classic VM (build 1.3.1-p7-root-021014-00:03, green threads, nojit)
Java HotSpot(TM) Client VM (build 
1.4.0-internal-root_08_dec_2002_16_37, mixed mode)
JavaSoundDemo.jar
Hardware doesn't make sence.
>Description:
        A Deadlock happens on the sound capturing (captureLine.read(...)) after a 
second open of the Capture Line.
        It looks like a DeadLock in a native part of the java sound library.
>How-To-Repeat:
        - start the JavaSoundDemo.jar
        - select the "Capture/Payback" tab
        - press the "Record" button, recording will start
        - press the "Stop" button, recording will stop
        - press the "Record" button, recording WILL NOT start        
>Fix:
        Hopefully a "restart of the sound system" before opening a CaptureLine will 
help (if all corresponded threads will be killed).
        But the implementation classes are not public.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1039475199.3df521ff9f3ef>