From owner-freebsd-java Mon Dec 9 15:10: 5 2002 Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D342837B404 for ; Mon, 9 Dec 2002 15:10:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CCEB43EA9 for ; Mon, 9 Dec 2002 15:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB9NA2x3062736 for ; Mon, 9 Dec 2002 15:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB9NA20F062735; Mon, 9 Dec 2002 15:10:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4506637B401 for ; Mon, 9 Dec 2002 15:06:50 -0800 (PST) Received: from mailer.x-mail.net (mailer.x-mail.net [64.69.79.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5A443F28 for ; Mon, 9 Dec 2002 15:06:49 -0800 (PST) (envelope-from alexzax@x-mail.net) Received: by mailer.x-mail.net (MTA) id A4ACF77C3FA; Mon, 9 Dec 2002 18:06:39 -0500 (EST) Received: from [217.226.118.161] by www2.x-mail.net with HTTP; Mon, 09 Dec 2002 15:06:39 -0800 Message-Id: <1039475199.3df521ff9f3ef@www2.x-mail.net> Date: Mon, 09 Dec 2002 15:06:39 -0800 From: Alex Zax To: FreeBSD-gnats-submit@FreeBSD.org Cc: sny@x-mail.net Subject: java/46151: Sound Capture works only one time Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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