From owner-freebsd-java@FreeBSD.ORG Sun Sep 23 12:43:01 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1352016A417; Sun, 23 Sep 2007 12:43:01 +0000 (UTC) (envelope-from stefan@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D68B213C447; Sun, 23 Sep 2007 12:43:00 +0000 (UTC) (envelope-from stefan@FreeBSD.org) Received: from freefall.freebsd.org (stefan@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8NCh0GW082330; Sun, 23 Sep 2007 12:43:00 GMT (envelope-from stefan@freefall.freebsd.org) Received: (from stefan@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8NCh05i082326; Sun, 23 Sep 2007 12:43:00 GMT (envelope-from stefan) Date: Sun, 23 Sep 2007 12:43:00 GMT Message-Id: <200709231243.l8NCh05i082326@freefall.freebsd.org> To: stefan@FreeBSD.org, java@FreeBSD.org, freebsd-java@FreeBSD.org From: stefan@FreeBSD.org Cc: Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 12:43:01 -0000 Synopsis: java/linux-sun-jdk16 jconsole is unable to connect to a local process Responsible-Changed-From-To: java->freebsd-java Responsible-Changed-By: stefan Responsible-Changed-When: Sun Sep 23 12:42:31 UTC 2007 Responsible-Changed-Why: Canonicalize responsible. http://www.freebsd.org/cgi/query-pr.cgi?pr=116082 From owner-freebsd-java@FreeBSD.ORG Sun Sep 23 12:43:01 2007 Return-Path: Delivered-To: java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1352016A417; Sun, 23 Sep 2007 12:43:01 +0000 (UTC) (envelope-from stefan@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D68B213C447; Sun, 23 Sep 2007 12:43:00 +0000 (UTC) (envelope-from stefan@FreeBSD.org) Received: from freefall.freebsd.org (stefan@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8NCh0GW082330; Sun, 23 Sep 2007 12:43:00 GMT (envelope-from stefan@freefall.freebsd.org) Received: (from stefan@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8NCh05i082326; Sun, 23 Sep 2007 12:43:00 GMT (envelope-from stefan) Date: Sun, 23 Sep 2007 12:43:00 GMT Message-Id: <200709231243.l8NCh05i082326@freefall.freebsd.org> To: stefan@FreeBSD.org, java@FreeBSD.org, freebsd-java@FreeBSD.org From: stefan@FreeBSD.org Cc: Subject: Re: ports/116082: java/linux-sun-jdk16 jconsole is unable to connect to a local process X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 12:43:01 -0000 Synopsis: java/linux-sun-jdk16 jconsole is unable to connect to a local process Responsible-Changed-From-To: java->freebsd-java Responsible-Changed-By: stefan Responsible-Changed-When: Sun Sep 23 12:42:31 UTC 2007 Responsible-Changed-Why: Canonicalize responsible. http://www.freebsd.org/cgi/query-pr.cgi?pr=116082 From owner-freebsd-java@FreeBSD.ORG Sun Sep 23 13:30:10 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3136A16A419 for ; Sun, 23 Sep 2007 13:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0E6C013C457 for ; Sun, 23 Sep 2007 13:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8NDU9tS084166 for ; Sun, 23 Sep 2007 13:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8NDU9Ui084165; Sun, 23 Sep 2007 13:30:09 GMT (envelope-from gnats) Date: Sun, 23 Sep 2007 13:30:09 GMT Message-Id: <200709231330.l8NDU9Ui084165@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Stefan Walter Cc: Subject: Re: ports/115279: [UPDATE] java/java3d to 1.5.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 13:30:10 -0000 The following reply was made to PR ports/115279; it has been noted by GNATS. From: Stefan Walter To: bug-followup@FreeBSD.org, hardy.schumacher@amd.com Cc: Subject: Re: ports/115279: [UPDATE] java/java3d to 1.5.1 Date: Sun, 23 Sep 2007 14:59:46 +0200 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Hardy, this problem report is missing the patch for the actual update of java/java3d. Did you attach one when you sent the PR? Could you resend it as a followup? Regards, Stefan --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iQGVAwUBRvZjPVaRERsSueCzAQJ/+QwAmGoc7RYngYWhUoPjAk+iyWWfo41wM3Se vgQP0dju6yNmzvjFpOjMfLZLafvmXmBd2kYSz49caMa2WSh3+cbyOXmew+5D/6Sf rXV0g63dTVC3/3QoJHmJZVuSpEJGbz6qqR5AWiTjQpdJ/kRzzlVZSZvbg2AdCu39 GmciybiPMP87aI1usS2SejJAeTDtCOwDVInBfzZGhbzWU0WfRXLnUy5mKoSExeZL MooukFN/kf5qwP5GWiNCH6R8HNPivlWoSYgfX5m/+Tcaii378YouPANecYKG2tbJ gQF2cGxV+NDQf7WryuX7XEdEGBW/J+hSF/ytv7GOsS/D06AencXMU7qyFXgLzwfN K+3nRayCV+qVrYMcrK8UhaOWMqiNXx3xaXvN/dC27n3R6giLjVZg2TNxgotmCAhQ L/anD+CzxrTb7kULAm6a7wSZmcXXKDJKAzsmgq6i5zxKnLNzxyhCOASHQyxnvr6v C9pIm3XDTBZBy+Y3PbtRdDV3yyRN7FdA =8TS5 -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-java@FreeBSD.ORG Mon Sep 24 11:08:28 2007 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4936216A4AB for ; Mon, 24 Sep 2007 11:08:28 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 25E3A13C478 for ; Mon, 24 Sep 2007 11:08:28 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8OB8SHu064224 for ; Mon, 24 Sep 2007 11:08:28 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8OB8RoW064220 for freebsd-java@FreeBSD.org; Mon, 24 Sep 2007 11:08:27 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Sep 2007 11:08:27 GMT Message-Id: <200709241108.l8OB8RoW064220@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 11:08:28 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/60083 java java/jdk14 - Unsafe use of getaddrinfo in jvm 1.4.2-p5 f java/72151 java JVM crash on 5.2.1-R o java/76631 java any port linux-*-jdk12 will core dump if using linux_b o java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/110912 java Java krb5 client leaks UDP connections o java/112595 java Java appletviewer frequently hangs (kse_release loop) o ports/113467 java Multiple "missing return value" errors building JDK on o java/114644 java tomcat goes out of PermSpace, jvm crashes o java/116430 java JDK does not respect DNS caching parameters on timeout 9 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext f java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires f ports/91244 java Bad instruction on making process of jdk14 o java/97461 java Diablo JDK does not report Update level in a format su o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/115279 java [UPDATE] java/java3d to 1.5.1 o java/115773 java java.nio channel selectors should use kqueue/kevent in o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to 9 problems total. From owner-freebsd-java@FreeBSD.ORG Tue Sep 25 13:15:21 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE13816A418 for ; Tue, 25 Sep 2007 13:15:21 +0000 (UTC) (envelope-from doug@polands.org) Received: from ms-smtp-03.rdc-kc.rr.com (ms-smtp-03.rdc-kc.rr.com [24.94.166.129]) by mx1.freebsd.org (Postfix) with ESMTP id 8BFD713C474 for ; Tue, 25 Sep 2007 13:15:21 +0000 (UTC) (envelope-from doug@polands.org) Received: from corinth.polands.org (CPE-75-87-219-217.new.res.rr.com [75.87.219.217]) by ms-smtp-03.rdc-kc.rr.com (8.13.6/8.13.6) with ESMTP id l8PCBWj4004598 for ; Tue, 25 Sep 2007 07:11:35 -0500 (CDT) Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by corinth.polands.org (8.13.8/8.13.8) with ESMTP id l8PCHEM4076872 for ; Tue, 25 Sep 2007 07:17:14 -0500 (CDT) (envelope-from doug@polands.org) Received: from 208.49.58.254 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Tue, 25 Sep 2007 07:17:14 -0500 (CDT) Message-ID: <13839.208.49.58.254.1190722634.squirrel@email.polands.org> Date: Tue, 25 Sep 2007 07:17:14 -0500 (CDT) From: "Doug Poland" To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: ClamAV 0.88.4/4388/Mon Sep 24 21:51:32 2007 on corinth.polands.org X-Virus-Status: Clean Subject: OpenOffice.org/Base: An unexpected error has been detected by Java Runtime Environment: X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2007 13:15:22 -0000 Hello, I've been having a problem with OpenOffice.org (both 2.2.1 and 2.3.0) and java (both diablo-jdk1.5.0/ and jdk1.6.0/) for some time now on 6.2-STABLE i386. When I use OpenOffice.org's Base database application, and I edit data in a table view then close the table, I always get this error: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x29b70151, pid=96225, tid=0x8096000 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_07-b01 mixed mode) # Problematic frame: # C [libz.so.3+0x8151] deflateCopy+0xa81 # # An error report file with more information is saved as hs_err_pid96225.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # If I use jdk1.6.0, the only difference in the error message is the pid and jdk version: # SIGSEGV (0xb) at pc=0x29b70151, pid=96826, tid=0x8096000 # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-p1-root_12_sep_2007_19_21-b00 mixed mode) # An error report file with more information is saved as hs_err_pid96826.log I can email or post the error report files upon request. Thanks for your help. -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Tue Sep 25 19:25:17 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E2F16A419; Tue, 25 Sep 2007 19:25:17 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7B413C480; Tue, 25 Sep 2007 19:25:16 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.13.8/jtpda-5.4) with ESMTP id l8PIslvh068475 ; Tue, 25 Sep 2007 20:54:48 +0200 (CEST) X-Ids: 166 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.13.3/jtpda-5.2) with ESMTP id l8PIskmm030171 ; Tue, 25 Sep 2007 20:54:46 +0200 (MEST) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.13.3/8.13.1/Submit) id l8PIskNl030168; Tue, 25 Sep 2007 20:54:46 +0200 (MEST) (envelope-from arno) To: Kurt Miller References: <46EC1B55.4060202@FreeBSD.org> <200709180721.48995.kurt@intricatesoftware.com> <46F0243A.8020902@FreeBSD.org> <200709182213.00777.kurt@intricatesoftware.com> From: "Arno J. Klaassen" Date: 25 Sep 2007 20:54:45 +0200 In-Reply-To: <200709182213.00777.kurt@intricatesoftware.com> Message-ID: Lines: 58 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (shiva.jussieu.fr [134.157.0.166]); Tue, 25 Sep 2007 20:54:48 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.7/4394/Tue Sep 25 19:08:25 2007 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at shiva.jussieu.fr with ID 46F95977.003 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! Cc: Daniel Eischen , davidxu@freebsd.org, freebsd-java@freebsd.org Subject: Re: Massive performance loss from OS::sleep hack X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2007 19:25:17 -0000 Hello, Kurt Miller writes: > On Tuesday 18 September 2007 03:17:14 pm Kris Kennaway wrote: > > Kurt Miller wrote: > > > David Xu confirmed for me that pthread_yield() does give some > > > time to lower priority threads on 7.0 using thr. Attached and inline > > > are two patches for the 1.5 port that is how I suggest the issue be > > > addressed. > > > > > > For 7.0 and up default UseThreadPriorities to true and always > > > use pthread_yield(). For < 7.0 default UseThreadPriorities to > > > false and conditionally use pthread_yield()/os_sleep(). User's > > > can toggle UseThreadPriorities with the command line argument > > > -XX:+UseThreadPriorities > > > > Do we know that 6.x requires the old behaviour? Maybe it can default to > > on there too. Otherwise this looks good to my eyeball (but the > > DEFAULT_LD_LIBRARY_PATH change looks unrelated) > > > > -#define DEFAULT_LD_LIBRARY_PATH "/usr/lib" /* See ld.so.1(1) */ > > +#define DEFAULT_LD_LIBRARY_PATH "/usr/lib:/usr/local/lib" /* See > > ld.so.1(1) > > Yea I messed up the DEFAULT_LD_LIBRARY_PATH part. I didn't intend > to change that segment of the existing os_bsd.cpp patch. > > Regarding 6.x it either needs UseThreadPriorities defaulted to false > or the os_sleep hack. After discussing the options with Daniel we > agree that defaulting UseThreadPriorities to false and eliminating > the os_sleep hack for all versions is the most consitant approach. I use libthr with jdk15 on 6.x for at least a year and notice the following after this change : - on i386-UP systems my programs continue to work properly when using libthr - on a 4-way amd64-SMP system it very easily stucks java ( top(1) giving it in 'umtx'-state and 265% or so CPU). switching back to standard libpthread makes the program working as before. - this is reproducable for me by using libthr for javac as well : just compile a bunch of java files and javac hangs Is this due to a difference in libthr between 6.x and -current or some subtility in thread yielding between UP and SMP systems? I didn't tes yet with '-XX:+UseThreadPriorities' but can do so if you judge it useful. Regards, Arno From owner-freebsd-java@FreeBSD.ORG Wed Sep 26 17:00:03 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1C5116A418 for ; Wed, 26 Sep 2007 17:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DA7E613C47E for ; Wed, 26 Sep 2007 17:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QH03eO007734 for ; Wed, 26 Sep 2007 17:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QH0365007733; Wed, 26 Sep 2007 17:00:03 GMT (envelope-from gnats) Resent-Date: Wed, 26 Sep 2007 17:00:03 GMT Resent-Message-Id: <200709261700.l8QH0365007733@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Arno J. Klaassen" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B41BE16A419 for ; Wed, 26 Sep 2007 16:50:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BD90113C44B for ; Wed, 26 Sep 2007 16:50:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QGouYa019309 for ; Wed, 26 Sep 2007 16:50:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8QGouG7019308; Wed, 26 Sep 2007 16:50:56 GMT (envelope-from nobody) Message-Id: <200709261650.l8QGouG7019308@www.freebsd.org> Date: Wed, 26 Sep 2007 16:50:56 GMT From: "Arno J. Klaassen" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/116667: linux-sun-javac1.4 hangs on SMP X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 17:00:04 -0000 >Number: 116667 >Category: java >Synopsis: linux-sun-javac1.4 hangs on SMP >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 26 17:00:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Arno J. Klaassen >Release: amd64 -stable >Organization: SCITO SA >Environment: FreeBSD install 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu Sep 20 14:19:10 CEST 2007 toor@install:/usr/obj/files/bsd/src6/sys/S2881 amd64 >Description: running /usr/local/linux-sun-jdk1.4.2/bin/javac just hangs, top(1) showing two javac processes with eat 100% cpu time I once got an hot-spot error: the start of the error-file says : Current thread (0x080943f8): JavaThread "Signal Dispatcher" daemon [_thread_in_ vm, id=44392] siginfo:si_signo=11, si_errno=0, si_code=16414, si_addr=0x00000000 Registers: EAX=0xfefffd9c, EBX=0xfefff6dc, ECX=0x00000000, EDX=0x00000001 ESP=0xfefff650, EBP=0xfefff754, ESI=0x280811b8, EDI=0xfefff778 EIP=0xffffefd4, CR2=0x00000000, EFLAGS=0x00010246 Top of Stack: (sp=0xfefff650) 0xfefff650: 0000000c fefff65c fefff6dc 0000000c 0xfefff660: 00000000 00000000 feffc7e8 00000000 0xfefff670: 00000000 00000000 00000000 00000000 0xfefff680: 00000000 00000000 00000000 00000000 0xfefff690: 00000000 00000000 00000000 00000000 0xfefff6a0: 00000000 00000000 00000000 00000000 0xfefff6b0: 00000000 00000000 00000000 00000000 0xfefff6c0: 00000000 00000000 00000000 00000000 Instructions: (pc=0xffffefd4) 0xffffefc4: 01 00 00 8d 9c 24 8c 00 00 00 8e 6b 00 8e 63 04 0xffffefd4: 8e 43 08 8e 5b 0c 50 b8 ad 00 00 00 cd 80 eb fe Stack: [0xfef8e000,0xff000000), sp=0xfefff650, free space=453k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0xffffefd4 C [libpthread.so.0+0x78e9] C [libpthread.so.0+0xa6fd] C [libpthread.so.0+0x718e] __pthread_mutex_lock+0x122 V [libjvm.so+0x2646ab] >How-To-Repeat: just type /usr/local/linux-sun-jdk1.4.2/bin/javac -v a couple of times is enough on my system (4way smp) NB, I do NOT see this problem on an otherwise equivalent UP system >Fix: /usr/local/jdk1.5.0/bin/javac -source 1.4 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Wed Sep 26 17:40:12 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 089EC16A420 for ; Wed, 26 Sep 2007 17:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 04B4E13C458 for ; Wed, 26 Sep 2007 17:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QHeBQu012902 for ; Wed, 26 Sep 2007 17:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QHeBcr012901; Wed, 26 Sep 2007 17:40:11 GMT (envelope-from gnats) Date: Wed, 26 Sep 2007 17:40:11 GMT Message-Id: <200709261740.l8QHeBcr012901@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Stefan Walter Cc: Subject: Re: ports/115279: [UPDATE] java/java3d to 1.5.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 17:40:12 -0000 The following reply was made to PR ports/115279; it has been noted by GNATS. From: Stefan Walter To: "Schumacher, Hardy" Cc: GNATS Subject: Re: ports/115279: [UPDATE] java/java3d to 1.5.1 Date: Wed, 26 Sep 2007 19:37:54 +0200 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Schumacher, Hardy, 26.09.07, 12:33h CEST: > Hello Stefan, >=20 > I'm still working on the patch. > On the website I saw an source-archive available for downloading. But > after I've checked it, I figured out that this only contains source > code, without any build scripts. >=20 > So best way is to use binary installer or zip file for linux (like > current version). > Zip file brings the problem that the downloadable file contains another > zip file with the required data. >=20 > I will give you a feedback soon. OK, thanks for your work on this! When you reply, please cc GNATS (FreeBSD-gnats-submit@FreeBSD.org) with the subject line as it is so any patches or information are safely attached to the PR in the database and can be picked up by any committer who has time to look at and commit it. Best regards, Stefan --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iQGVAwUBRvqY8laRERsSueCzAQKhZQv9Fhv2qyQUnx/L71lA9XLR39PDEsvUpe2t Pb/LCpH6RXXVVHlCf/3uxv9JvFm/ek6uDAVzH5ot6MxCXwf5O5QG9skVHmY3eW82 TKd1TwGdACyGXKSRfZNpILfBXQ9Go3nDOnuEI7MUQsiTljTlb/85IltM2YE8sOZA dM9FdMhtjp/u4k9WAo4uClQ+St6B19MPSXI8G9yCOUREle9kl8Cmy2r19VM74MNv 52juveNeD/5Q9W4B1SR9n8S35uX2hGAvoVAh274qgkiNg2upYI2aZ7YXekA9dB9Q pm+pbGQbv6HClwUAQuKQ86waLAv1odiIhNPF2M25Lkkq0M6X2d9r1UXj+iYTojA5 TM7LnE2B+rVN1altFTz9hRH8z+OoPYwEAie0TBYhOnx8uS2Yyu/dGWKNyt/XiYGt VUR5r5t9Zi9ledG1TqVaHJMjbKv55iiCoeaTv5v3MJ5dTBL+b4bnTDgPE5s7pbva 7ASSjfus0LjLEjq5eXcmk9PN1vP7XolH =aoPV -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-java@FreeBSD.ORG Wed Sep 26 17:50:06 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED0816A418 for ; Wed, 26 Sep 2007 17:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1240413C46E for ; Wed, 26 Sep 2007 17:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QHo5R8013053 for ; Wed, 26 Sep 2007 17:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QHo56n013050; Wed, 26 Sep 2007 17:50:05 GMT (envelope-from gnats) Date: Wed, 26 Sep 2007 17:50:05 GMT Message-Id: <200709261750.l8QHo56n013050@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Stefan Walter Cc: Subject: Re: java/72151: JVM crash on 5.2.1-R X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 17:50:06 -0000 The following reply was made to PR java/72151; it has been noted by GNATS. From: Stefan Walter To: Andrzej Bialecki , Dan Nelson Cc: GNATS Subject: Re: java/72151: JVM crash on 5.2.1-R Date: Wed, 26 Sep 2007 19:46:15 +0200 Hi Andrzej, there hasn't been an update on the state of this for quite a while. Are you still experiencing these problems on a more recent system/with a more recent VM? Or can this PR be closed? Best regards, Stefan From owner-freebsd-java@FreeBSD.ORG Wed Sep 26 18:00:08 2007 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53CB16A473 for ; Wed, 26 Sep 2007 18:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD3913C448 for ; Wed, 26 Sep 2007 18:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8QI08tT013292 for ; Wed, 26 Sep 2007 18:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8QI08hP013291; Wed, 26 Sep 2007 18:00:08 GMT (envelope-from gnats) Date: Wed, 26 Sep 2007 18:00:08 GMT Message-Id: <200709261800.l8QI08hP013291@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Stefan Walter Cc: Subject: Re: java/76631: any port linux-*-jdk12 will core dump if using linux_base-8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 18:00:08 -0000 The following reply was made to PR java/76631; it has been noted by GNATS. From: Stefan Walter To: me@daniel.stefan.haischt.name, tcs@kitty.2y.idv.tw Cc: GNATS Subject: Re: java/76631: any port linux-*-jdk12 will core dump if using linux_base-8 Date: Wed, 26 Sep 2007 19:51:06 +0200 Hi Daniel, there hasn't been an update on the state of this for quite a while, and the JDK 1.2 port is deprecated and scheduled for removal by now. Are you still experiencing these problems on a more recent system/with a more recent JDK? Can this PR be closed? Best regards, Stefan From owner-freebsd-java@FreeBSD.ORG Sat Sep 29 21:14:15 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E826016A417 for ; Sat, 29 Sep 2007 21:14:15 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from kedah.mschosting.com (kedah.mschosting.com [202.75.42.90]) by mx1.freebsd.org (Postfix) with ESMTP id A066113C448 for ; Sat, 29 Sep 2007 21:14:15 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from [87.107.63.161] (port=50828 helo=attila) by kedah.mschosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Ibivy-00067O-7Q for freebsd-java@freebsd.org; Sun, 30 Sep 2007 04:29:07 +0800 Date: Sun, 30 Sep 2007 00:04:34 +0330 From: "Bahman M." To: freebsd-java@freebsd.org Message-ID: <20070930000434.7d397970@attila> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kedah.mschosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - adempiere.org X-Source: X-Source-Args: X-Source-Dir: Subject: Eclipse: javax.crypto.* not found. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 21:14:16 -0000 Hi all, Running FreeBSD 6.2-RELEASE-p7 i386, I have Diablo 1.5, JDK 1.6, Eclipse 3.2 and Ant 1.7 installed from ports with no problem. I have a program in Java which uses javax.crypto package. I can compile, build and run it using Ant w/o any problem but when I open the project in Eclipse, it complains about javax.crypto.* not being found. I tested with both Diablo 1.5 and JDK 1.6 as the project JRE but with no luck. I also even de-installed Eclipse and installed it again -from ports- but the result was the same. Since the program compiles and runs from command line, I suspect it's all about Eclipse settings/configurations. Any idea/suggestion is appreciated. TIA, Bahman From owner-freebsd-java@FreeBSD.ORG Sat Sep 29 21:20:55 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6D1F16A421 for ; Sat, 29 Sep 2007 21:20:55 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from kedah.mschosting.com (kedah.mschosting.com [202.75.42.90]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD9313C458 for ; Sat, 29 Sep 2007 21:20:55 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from [87.107.63.161] (port=59284 helo=attila) by kedah.mschosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Ibj3K-0007xg-Kb for freebsd-java@freebsd.org; Sun, 30 Sep 2007 04:36:44 +0800 Date: Sun, 30 Sep 2007 00:12:12 +0330 From: "Bahman M." To: freebsd-java@freebsd.org Message-ID: <20070930001212.32be5693@attila> In-Reply-To: <20070930000434.7d397970@attila> References: <20070930000434.7d397970@attila> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kedah.mschosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - adempiere.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: Eclipse: javax.crypto.* not found. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 21:20:55 -0000 On Sun, 30 Sep 2007 00:04:34 +0330 "Bahman M." wrote: > Running FreeBSD 6.2-RELEASE-p7 i386, I have Diablo 1.5, JDK 1.6, > Eclipse 3.2 and Ant 1.7 installed from ports with no problem. > > I have a program in Java which uses javax.crypto package. I can > compile, build and run it using Ant w/o any problem but when I open > the project in Eclipse, it complains about javax.crypto.* not being > found. I tested with both Diablo 1.5 and JDK 1.6 as the project JRE > but with no luck. > > I also even de-installed Eclipse and installed it again -from ports- > but the result was the same. > > Since the program compiles and runs from command line, I suspect it's > all about Eclipse settings/configurations. Forgot to add that the project source level is 5.0; however I tested 6.0 and it was no different. Also I could open the project in Eclipse and run it, on a Fedora box. Bahman