Date: Mon, 9 Dec 2002 15:50:03 -0800 (PST) From: Juan Velasco <Juan.Velasco@pandora.be> To: freebsd-java@FreeBSD.org Subject: Re: java/46151: Sound Capture works only one time Message-ID: <200212092350.gB9No3A2071449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR java/46151; it has been noted by GNATS.
From: Juan Velasco <Juan.Velasco@pandora.be>
To: Alex Zax <alexzax@x-mail.net>
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
I have a problem too when I try to play sound with java and the new patch1:<br>
<br>
jrv@dune> java -version<br>
java version "1.4.0-internal"<br>
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-internal-jrv_09_dec_2002_03_00)<br>
Java HotSpot(TM) Client VM (build 1.4.0-internal-jrv_09_dec_2002_03_00,
mixed mode)<br>
<br>
jrv@dune> java -jar JavaSoundDemo.jar <br>
<br>
An unexpected exception has been detected in native code outside the VM.<br>
Unexpected Signal : 11 occurred at PC=0x29003732<br>
Function=makeNativeToUnicodeArray+0xDEE<br>
Library=/usr/local/bsd-sun-jdk1.4.0/lib/i386/libfontmanager.so<br>
<br>
Current Java thread:.........<br>
<br>
Any clues?<br>
<br>
<br>
<br>
Alex Zax wrote:<br>
<blockquote type="cite"
cite="mid1039475199.3df521ff9f3ef@www2.x-mail.net">
<blockquote type="cite">
<pre wrap="">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:
</pre>
</blockquote>
<pre wrap=""><!---->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.
</pre>
<blockquote type="cite">
<pre wrap="">Description:
</pre>
</blockquote>
<pre wrap=""><!----> 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.
</pre>
<blockquote type="cite">
<pre wrap="">How-To-Repeat:
</pre>
</blockquote>
<pre wrap=""><!----> - 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
</pre>
<blockquote type="cite">
<pre wrap="">Fix:
</pre>
</blockquote>
<pre wrap=""><!----> 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.
</pre>
<blockquote type="cite">
<pre wrap="">Release-Note:
Audit-Trail:
Unformatted:
</pre>
</blockquote>
<pre wrap=""><!---->
To Unsubscribe: send mail to <a class="moz-txt-link-abbreviated" href="mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</a>
with "unsubscribe freebsd-java" in the body of the message
</pre>
</blockquote>
<br>
<br>
</body>
</html>
--------------070209060506030409040308--
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?200212092350.gB9No3A2071449>
