From owner-freebsd-java Sun Dec 8 18:35:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 127D237B401 for ; Sun, 8 Dec 2002 18:35:50 -0800 (PST) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54E2843EB2 for ; Sun, 8 Dec 2002 18:35:39 -0800 (PST) (envelope-from jrv@shih.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 3B624201D7; Mon, 9 Dec 2002 03:35:38 +0100 (CET) Received: from shih.be (D57763D4.kabel.telenet.be [213.119.99.212]) by eos.telenet-ops.be (Postfix) with ESMTP id 15EF62005D; Mon, 9 Dec 2002 03:35:38 +0100 (CET) Received: from shih.be (localhost [127.0.0.1]) by shih.be (8.12.6/8.12.6) with ESMTP id gB92ZdcB064683; Mon, 9 Dec 2002 03:35:40 +0100 (CET) (envelope-from jrv@shih.be) Received: (from jrv@localhost) by shih.be (8.12.6/8.12.6/Submit) id gB92Zco4064638; Mon, 9 Dec 2002 03:35:38 +0100 (CET) (envelope-from jrv) From: Juan Velasco Message-Id: <200212090235.gB92Zco4064638@shih.be> Subject: linux-xxxx-jdk1.4 To: freebsd-java@freebsd.org Date: Mon, 9 Dec 2002 03:35:38 +0100 (CET) Cc: vjordana@t-online.de X-URL: www.shih.be X-Phone: (0032)486612555 X-Dept.: Machine Learning X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Dear all, When I run java (linux-sun-jdk1.4.1) as root it works but as my usr it crashes. root@dune# java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)va -version as my user: jrv@dune> java -version # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # Error ID: 4F533F4C494E55580E43505002D7 # Abort It happens also with the blackdown and ibm versions. I am installing the patch 1 released by Greg Lewis for the sun's sources jdk1.4 and I hope it fixes this. Why does this happen ? Any info is very appreciated. Kind regards, Juan Velasco -- Juan R. Velasco, CEO, Shih Belgium Site : www.shih.be Phone : (0032)486612555 FreeBSD dune.shih.be 4.7-STABLE #0: Mon Dec 2 22:30:58 CET 2002 jrv@dune.shih.be:/usr/obj/usr/src/sys/KERNEL AMD 2800+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 9 9:16: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE7C737B401 for ; Mon, 9 Dec 2002 09:16:03 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE4643EB2 for ; Mon, 9 Dec 2002 09:16:02 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 18LRVh-0007kE-04 for freebsd-java@freebsd.org; Mon, 09 Dec 2002 10:16:01 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 18LRVg-0007jC-00; Mon, 09 Dec 2002 10:16:01 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gB9HFu105427; Tue, 10 Dec 2002 03:45:56 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 10 Dec 2002 03:45:55 +1030 From: Greg Lewis To: Juan Velasco Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: patches 1.4 Message-ID: <20021210034555.A5402@misty.eyesbeyond.com> References: <20021209155741.A2316@misty.eyesbeyond.com> <200212091653.gB9Gr0JU001502@shih.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200212091653.gB9Gr0JU001502@shih.be>; from jrv@shih.be on Mon, Dec 09, 2002 at 05:52:59PM +0100 X-Spam-Status: No, hits=-1.9 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_05_08,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Mon, Dec 09, 2002 at 05:52:59PM +0100, Juan Velasco wrote: > I compiled all and it worked > perfectly. Now java -version does not crash when I run > it from my user as it does with linux-sun (did you know > that jdk linux-sun crashes as non root?). > > I executed my java application which is a tree builder > (machine learning) and the fonts are not > displayed, I see squares where fonts should appear. This is a known problem and has been mentioned on freebsd-java. This patchset is not for general use and was released primarily for people who are interested in helping with JDK porting. If you do want to use it for your application you're pretty much on your own, although people reading freebsd-java may have some advice. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 9 9:19:10 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A135F37B401 for ; Mon, 9 Dec 2002 09:19:09 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBC8B43F81 for ; Mon, 9 Dec 2002 09:19:07 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18LRWq-00055X-02 for freebsd-java@freebsd.org; Mon, 09 Dec 2002 10:17:12 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18LRSu-0002L5-02; Mon, 09 Dec 2002 10:13:09 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id gB9HD4n05395; Tue, 10 Dec 2002 03:43:04 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 10 Dec 2002 03:43:03 +1030 From: Greg Lewis To: Juan Velasco Cc: freebsd-java@FreeBSD.ORG, vjordana@t-online.de Subject: Re: linux-xxxx-jdk1.4 Message-ID: <20021210034303.A5342@misty.eyesbeyond.com> References: <200212090235.gB92Zco4064638@shih.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200212090235.gB92Zco4064638@shih.be>; from jrv@shih.be on Mon, Dec 09, 2002 at 03:35:38AM +0100 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 On Mon, Dec 09, 2002 at 03:35:38AM +0100, Juan Velasco wrote: > When I run java (linux-sun-jdk1.4.1) as root it works but as my usr it crashes. This is a well known problem. Please search the archives for workarounds and descriptions of what the cause is. > I am installing the patch 1 released by Greg Lewis for > the sun's sources jdk1.4 > and I hope it fixes this. You do realise that this code is only for people interested in helping with the JDK port, don't you? Its not suitable for general use for Java programming, etc. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Dec 9 11: 1:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5B0C37B404 for ; Mon, 9 Dec 2002 11:01:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8947F43E4A for ; Mon, 9 Dec 2002 11:01:17 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB9J1Hx3085973 for ; Mon, 9 Dec 2002 11:01:17 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB9J1H7N085961 for java@freebsd.org; Mon, 9 Dec 2002 11:01:17 -0800 (PST) Date: Mon, 9 Dec 2002 11:01:17 -0800 (PST) Message-Id: <200212091901.gB9J1H7N085961@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you 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 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc o [2002/10/05] java/43724 java linux_base-7.1 + linux-sun-jdk-1.3.1.04 d 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43925 java New port: net/beepcore-java (supersedes p 1 problem total. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message 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 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 From owner-freebsd-java Mon Dec 9 16: 0:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EDC337B404 for ; Mon, 9 Dec 2002 16:00:09 -0800 (PST) Received: from cabrillo.edu (boris.cabrillo.cc.ca.us [207.62.187.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D0F43E4A for ; Mon, 9 Dec 2002 16:00:08 -0800 (PST) (envelope-from wiholt@cabrillo.edu) Received: from [63.249.88.38] (account ) by cabrillo.edu (CommuniGate Pro WebUser 3.5.9) with HTTP id 3849144 for ; Mon, 09 Dec 2002 16:00:08 -0800 From: "William Holt" Subject: DP2 Java 1.3 makes core dump To: freebsd-java@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Mon, 09 Dec 2002 16:00:08 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 Hi, I have a problem with the new DP2 disk, and I'm not sure how to troubleshoot it further. I started with a fresh disk (to be sure it was repeatable) and installed from CDROM DP2 (just issued a couple weeks ago). I picked the X Developer package. Next I installed the Jetty port ( cd to /usr/ports/java/jetty ) and type make - this caused (by dependency) the JDK1.3 to install and it did at patch level 7. Everything seemed to go fine (wow amazing - downloading stuff from Sun's web site and all!) and I tested the JDK with a couple of simple programs - everything looks fine. BUT, when I run the Jetty demo, I get a BUSS ERROR and a core dump (a file called java.core appears in the directory). I tried to write a couple of simple programs to see if they would cause the buss error, like a two threaded "Hello World" but nothing did. I'm not sure if I can get source for Jetty to try and find exactly where it dies - (It's not at the contructor for the server, it's when I actually try and start it with a server.start(); call. Here is the code that crashes, although running the Jetty demo will produce the same buss error: HttpServer server = new HttpServer(); try { server.addListener(new InetAddrPort(8080)); } catch( IOException ioe ) { System.out.println( ioe ); System.exit(1); }; HandlerContext context = server.addContext("/"); ServletHandlerContext servHand= new ServletHandlerContext( server, "/" ); servHand.setDynamicServletPathSpec( "/servlet/*"); server.addContext( null, servHand ); context.setResourceBase("./docroot/"); context.setServingResources(true); try { server.start(); //blammo! this line crashes } catch ( MultiException me ){ System.out.println( me ); System.exit(1); }; I'd very much like to help if I could, but I'm not sure where to go or if this might already be fixed in -Current Best Regards, -Will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 10 1:50:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B10F37B401 for ; Tue, 10 Dec 2002 01:50:10 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4209743EA9 for ; Tue, 10 Dec 2002 01:50:09 -0800 (PST) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.macsch.com) by smtp.web.de with esmtp (WEB.DE(Exim) 4.93 #1) id 18Lh1j-00054X-00; Tue, 10 Dec 2002 10:50:07 +0100 Subject: Re: java/46151: Sound Capture works only one time From: "Georg-W. Koltermann" To: Juan Velasco Cc: freebsd-java@FreeBSD.org, Alex Zax In-Reply-To: <200212092350.gB9No3A2071449@freefall.freebsd.org> References: <200212092350.gB9No3A2071449@freefall.freebsd.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 10 Dec 2002 10:50:04 +0100 Message-Id: <1039513807.5810.18.camel@hunter.muc.macsch.com> Mime-Version: 1.0 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 You may be suffering from a general sound problem in FBSD 4.7R instead of a JAVA problem. Take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/35004 , the patches in that PR fixed the problem for me. I never tried JAVA with sound, though, I just experienced the general problem with native code sound applications. -- Regards, Georg. Am Di, 2002-12-10 um 00.50 schrieb Juan Velasco: > 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:
>
cite="mid1039475199.3df521ff9f3ef@www2.x-mail.net"> >
>
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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 10 2: 9:21 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B175537B401 for ; Tue, 10 Dec 2002 02:09:20 -0800 (PST) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC8AB43EA9 for ; Tue, 10 Dec 2002 02:09:19 -0800 (PST) (envelope-from Juan.Velasco@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 41303202D5; Tue, 10 Dec 2002 11:09:13 +0100 (CET) Received: from pandora.be (D57763D4.kabel.telenet.be [213.119.99.212]) by eos.telenet-ops.be (Postfix) with ESMTP id 1C0A42009B; Tue, 10 Dec 2002 11:09:13 +0100 (CET) Message-ID: <3DF5BD52.2090803@pandora.be> Date: Tue, 10 Dec 2002 11:09:22 +0100 From: Juan Velasco User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021018 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Georg-W. Koltermann" Cc: freebsd-java@FreeBSD.org, Alex Zax Subject: Re: java/46151: Sound Capture works only one time References: <200212092350.gB9No3A2071449@freefall.freebsd.org> <1039513807.5810.18.camel@hunter.muc.macsch.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Georg-W. Koltermann wrote: >You may be suffering from a general sound problem in FBSD 4.7R instead >of a JAVA problem. > > Nope, it works with every other java distribution and previous poatches too. I only have the problem with patch1 jdk1.4 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 10 2:29:47 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9449237B401 for ; Tue, 10 Dec 2002 02:29:46 -0800 (PST) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A45843EBE for ; Tue, 10 Dec 2002 02:29:46 -0800 (PST) (envelope-from Juan.Velasco@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 2A9EF2129D; Tue, 10 Dec 2002 11:29:45 +0100 (CET) Received: from pandora.be (D57763D4.kabel.telenet.be [213.119.99.212]) by eos.telenet-ops.be (Postfix) with ESMTP id CADEB212C7; Tue, 10 Dec 2002 11:29:44 +0100 (CET) Message-ID: <3DF5C222.8070205@pandora.be> Date: Tue, 10 Dec 2002 11:29:54 +0100 From: Juan Velasco User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021018 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Juan R. Velasco" , Alex Zax Cc: freebsd-java@FreeBSD.ORG Subject: Re: java/46151: Sound Capture works only one time References: <200212092350.gB9No3A2071449@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Alex Zax wrote: >Hi Juan, > >you are mentioning an other problem (every gui program displays >squares). >I have this promlem too, and I have not found a fix. ;-(( > Ok great to know thats what Ive been asking since yesterday morning. At least now I know its a major gui problem for everyone in patch1. >For the time being I'm working without a gui ;-)) >To test my sound applicatioin I had to write an example without >a GUI, as a walk around. > Ok yes. > >Best regards, >Alex Zahovaev > >P.S. > Have you tried to test a native java 1.4.0 with another screeen manager ? > I have tried it with several window managers like black box, mwm (motif), and icewm. I will try to see other screenmanagers too. Im sure its a ridiculous problem in the java source since all the rest works good, just a display problem, Ill take a look at the source if I have time and let you know if I find something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 10 2:32: 7 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F03637B401 for ; Tue, 10 Dec 2002 02:32:06 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00FBB43EC5 for ; Tue, 10 Dec 2002 02:31:59 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gBACOmip070289; Tue, 10 Dec 2002 12:24:49 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gBAAawRG074988; Tue, 10 Dec 2002 12:36:58 +0200 (EET) (envelope-from ml) Date: Tue, 10 Dec 2002 12:36:58 +0200 From: Alexey Zelkin To: Juan Velasco Cc: freebsd-java@FreeBSD.ORG Subject: Re: java/46151: Sound Capture works only one time Message-ID: <20021210123658.A74950@phantom.cris.net> References: <200212092350.gB9No3A2071449@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200212092350.gB9No3A2071449@freefall.freebsd.org>; from Juan.Velasco@pandora.be on Mon, Dec 09, 2002 at 03:50:03PM -0800 X-Operating-System: FreeBSD 4.5-STABLE i386 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 hi, On Mon, Dec 09, 2002 at 03:50:03PM -0800, Juan Velasco wrote: > > 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? Sure. This is one of biggest problems with jdk1.4.0-p1 which only present on -STABLE. I did not yet found a reason of problems in libfontmanager (ENOTIME), but sure that it's same root of problem when fonts are not displaying properly under -STABLE with patchset1. Under -CURRENT it works fine (fonts, not sure about sound recording). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Dec 10 13:13: 2 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD44A37B423; Tue, 10 Dec 2002 13:12:56 -0800 (PST) Received: from pheriche.sun.com (pheriche.sun.com [192.18.98.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03E2E43EC5; Tue, 10 Dec 2002 13:12:56 -0800 (PST) (envelope-from Ranjith.Mandala@Sun.COM) Received: from ha2sca-mail1.SFBay.Sun.COM ([129.145.155.61]) by pheriche.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA04654; Tue, 10 Dec 2002 14:12:50 -0700 (MST) Received: from cindercone (cindercone [129.145.132.179]) by ha2sca-mail1.SFBay.Sun.COM (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id gBALCnY05221; Tue, 10 Dec 2002 13:12:49 -0800 (PST) Date: Tue, 10 Dec 2002 13:12:49 -0800 (PST) Message-ID: <8612805.1039554769477.JavaMail.ranjithm@ha2sca-mail1.sfbay.sun.com> From: Ranjith Mandala To: java-port@freebsd.org, freebsd-java@freebsd.org Subject: Re: (Review ID: 178967) Problematic Thread : Error ID: 4F533F4C494E55580E43505002B0 Cc: Ranjith.Mandala@Sun.COM Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: postEmail @(#) PostEmail.java 1.16 02/05/23 17:14:37 X-IM-Review-ID: 178967 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 Hi, This Bug Report was submitted from http://java.sun.com/cgi-bin/bugreport.cgi and is being forwarded to you on behalf of marc@absolut.fr. If you would like to respond. Please send an e-mail to the address listed at the end of this report. Regards, RM. ----------------- Original Bug Report------------------- category : java release : 1.3.1 subcategory : specification type : bug synopsis : Problematic Thread : Error ID: 4F533F4C494E55580E43505002B0 description : FULL PRODUCT VERSION : #java -version java version "1.3.1_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_04-b02) Java HotSpot(TM) Client VM (build 1.3.1_04-b02, mixed mode) # FULL OPERATING SYSTEM VERSION : FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 Dell Power Edge 2560 A DESCRIPTION OF THE PROBLEM : # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Error ID: 4F533F4C494E55580E43505002B0 # # Problematic Thread: REPRODUCIBILITY : This bug can be reproduced always. workaround : suggested_val : cust_name : marc cust_email : marc@absolut.fr jdcid : omarc75 keyword : webbug company : absolut hardware : x86 OSversion : Linux bugtraqID : 0 dateCreated : 2002-12-10 05:06:19.4 dateEvaluated : 2002-12-10 14:10:32.694 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Dec 12 16:12:52 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0362237B401 for ; Thu, 12 Dec 2002 16:12:51 -0800 (PST) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3345D43E4A for ; Thu, 12 Dec 2002 16:12:50 -0800 (PST) (envelope-from mmercer@nc.rr.com) Received: from mail5.nc.rr.com (fe5 [24.93.67.52]) by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gBD0CFiZ017159 for ; Thu, 12 Dec 2002 19:12:15 -0500 (EST) Received: from nc.rr.com ([24.74.129.103]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 12 Dec 2002 19:11:49 -0500 Message-ID: <3DF925FD.EF85E59E@nc.rr.com> Date: Thu, 12 Dec 2002 19:12:45 -0500 From: Michael E Mercer Reply-To: mmercer@nc.rr.com X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.7-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: COMPILING NOW: Re: unable to compile 1.4 on 4.7-STABLE... References: <3DDAE5F0.2EA59E1B@nc.rr.com> <20021120125215.A39920@phantom.cris.net> <3DDB8545.CC58B4DB@nc.rr.com> <20021121024054.A51711@misty.eyesbeyond.com> <20021120194710.A43517@phantom.cris.net> <3DDC51CC.7DE9DBDA@nc.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 All, in j2se/make/sun/awt/Makefile I added "-lXmu" to line 262. the code snippet is ifeq ($(VARIANT),DBG) # Use -lXmu for EditRes support LIBXMU = -lXmu else LIBXMU = -lXmu <<<<------ line 262 endif Doing this allowed the gmake command below to finish without the UnsatisfiedLinkError. This change means the ifeq is meaningless, therefore I need someone who knows what is going on to verify this. thanks Michael Michael E Mercer wrote: > Hello peoples, > > I got this error: > Constructing Javadoc information... > > >>> Generating beaninfo for javax.swing.AbstractButton... > javadoc: In doclet class GenDocletBeanInfo, method start has thrown an exception > java.lang.reflect.InvocationTargetException > java.lang.UnsatisfiedLinkError: > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: > /home/mmercer/jdk1.4.0/jdk14/control/build/bsd-i386/lib/i386/libawt.so: Undefined symbol > "_XEditResResetStream" > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Dec 13 12:18:36 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53CA037B401 for ; Fri, 13 Dec 2002 12:18:34 -0800 (PST) Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B17B43EC2 for ; Fri, 13 Dec 2002 12:18:33 -0800 (PST) (envelope-from dmg@bsdwins.com) Received: from bsdone.bsdwins.com (localhost [127.0.0.1]) by bsdone.bsdwins.com (8.12.5/8.12.5) with ESMTP id gBDJwMW2090812 for ; Fri, 13 Dec 2002 14:58:27 -0500 (EST) (envelope-from dmg@www.bsdwins.com) Received: (from dmg@localhost) by bsdone.bsdwins.com (8.12.5/8.12.5/Submit) id gBDJwMSA090811 for freebsd-java@freebsd.org; Fri, 13 Dec 2002 14:58:22 -0500 (EST) Date: Fri, 13 Dec 2002 14:58:22 -0500 From: "David M. Gillham" To: freebsd-java@freebsd.org Subject: Return code problems in 1.4.1 JDK vs 1.4.0 Message-ID: <20021213195822.GB90517@unx.sas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i 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 When checking return codes for builds under the 1.4.0.01 JDK and 1.4.1 I'm seeing some odd differences. It looks like the non-zero rc value is not getting passed back to the JDK. If I have processTest.java: public class processTest { public static void main(String[] args) { try { Process p = Runtime.getRuntime().exec(args[0]+" "+args[1]); System.out.println("exit status: "+p.waitFor()); } catch(Exception e){e.printStackTrace();} } } and a program that fails to compile, bad.java: public class bad { public bad() { System.out.println("foo); } } I get different results for 1.4.0 vs 1.4.1: /dmg>uname -a FreeBSD bsdwins.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Nov 6 13:17:09 EST 2002 root@bsdwins.com:/usr/src/sys/compile/GENERIC i386 /dmg>./jdk1.4.0.01/bin/java -version java version "1.4.0_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03) Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode) /dmg>./jdk1.4.0.01/bin/java processTest ./jdk1.4.0.01/bin/javac bad.java exit status: 1 /dmg>./jdk1.4.1/bin/java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) /dmg>./jdk1.4.1/bin/java processTest ./jdk1.4.0.01/bin/javac bad.java exit status: 0 The 1.4.1 test should have picked up the failure in bad.java and returned 1, not 0. Anyone have any ideas? Both of these JDK's are the Linux versions from Sun. I'm wondering if there's some bug in the BSD Linux emulation. I was able to reproduce this bug on STABLE and CURRENT. On a fairly recent RedHat Linux install I got 1 and 1 for both JDK's. Thanks, -Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message