From owner-freebsd-java Mon Dec 9 15:50:10 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 5F75E37B401 for ; Mon, 9 Dec 2002 15:50:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB3F343E4A for ; Mon, 9 Dec 2002 15:50: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 gB9No3x3071450 for ; Mon, 9 Dec 2002 15:50:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB9No3A2071449; Mon, 9 Dec 2002 15:50:03 -0800 (PST) Date: Mon, 9 Dec 2002 15:50:03 -0800 (PST) Message-Id: <200212092350.gB9No3A2071449@freefall.freebsd.org> To: freebsd-java@FreeBSD.org Cc: From: Juan Velasco Subject: Re: java/46151: Sound Capture works only one time Reply-To: Juan Velasco 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 The following reply was made to PR java/46151; it has been noted by GNATS. From: Juan Velasco To: Alex Zax Cc: FreeBSD-gnats-submit@FreeBSD.ORG, sny@x-mail.net, vjordana@t-online.de, freebsd-questions@FreeBSD.ORG Subject: Re: java/46151: Sound Capture works only one time Date: Tue, 10 Dec 2002 00:43:32 +0100 --------------070209060506030409040308 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have a problem too when I try to play sound with java and the new patch1: jrv@dune> java -version java version "1.4.0-internal" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-internal-jrv_09_dec_2002_03_00) Java HotSpot(TM) Client VM (build 1.4.0-internal-jrv_09_dec_2002_03_00, mixed mode) jrv@dune> java -jar JavaSoundDemo.jar An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x29003732 Function=makeNativeToUnicodeArray+0xDEE Library=/usr/local/bsd-sun-jdk1.4.0/lib/i386/libfontmanager.so Current Java thread:......... Any clues? Alex Zax wrote: >>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 > > > > --------------070209060506030409040308 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I have a problem too when I try to play sound with java and the new patch1:

jrv@dune> java -version
java version "1.4.0-internal"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-internal-jrv_09_dec_2002_03_00)
Java HotSpot(TM) Client VM (build 1.4.0-internal-jrv_09_dec_2002_03_00, mixed mode)

jrv@dune> java -jar JavaSoundDemo.jar

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x29003732
Function=makeNativeToUnicodeArray+0xDEE
Library=/usr/local/bsd-sun-jdk1.4.0/lib/i386/libfontmanager.so

Current Java thread:.........

Any clues?



Alex Zax wrote:
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
 
 
   


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