From owner-freebsd-java@FreeBSD.ORG Sun Jan 22 13:10:18 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A33AB16A41F for ; Sun, 22 Jan 2006 13:10:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id C789743D48 for ; Sun, 22 Jan 2006 13:10:17 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0MDA9AF013588; Sun, 22 Jan 2006 15:10:10 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0MDAvfR074305; Sun, 22 Jan 2006 15:10:59 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D3842B.8090304@ebs.gr> Date: Sun, 22 Jan 2006 15:10:03 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Jonathan Chen References: <20060121211730.GB43520@osiris.chen.org.nz> In-Reply-To: <20060121211730.GB43520@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, Derek Young Subject: Re: Eclipse Core Dump 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, 22 Jan 2006 13:10:18 -0000 Jonathan Chen wrote: > On Sat, Jan 21, 2006 at 03:00:47PM -0600, Derek Young wrote: >> Too busy this weekend to make a pr or check if one is there, blah >> blah.. Ran portupgrade this morning to jdk14 patchset 8, and eclipse >> got upgraded at the same time.. >> >> An unexpected exception has been detected in native code outside the VM. >> Unexpected Signal : 11 occurred at PC=0x286DCF57 >> Function=inflate_fast+0x17 >> Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so > > A similar bug to this is be solved by: > > portupgrade -uf freetype\* fontconfig\* libXft\* > > However, having said this, I upgraded eclipse just yesterday, and this > workaround did not work. The `inflate_fast+0x17' bug also exists for > eclipse + JDK1.5. I wonder if this could this be fixed by using the > system zlib instead of the one shipped with the JDK. FWIW, I'm still running with the patch that uses the system zlib on jdk15 and I've never encountered any related crash using eclipse daily on my day job. This is on i386, though. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Sun Jan 22 18:19:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 3105416A41F for ; Sun, 22 Jan 2006 18:19:25 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C0A43D45 for ; Sun, 22 Jan 2006 18:19:24 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 74CD55643B; Mon, 23 Jan 2006 07:19:22 +1300 (NZDT) Date: Mon, 23 Jan 2006 07:19:22 +1300 From: Jonathan Chen To: Panagiotis Astithas Message-ID: <20060122181922.GA31569@osiris.chen.org.nz> References: <20060121211730.GB43520@osiris.chen.org.nz> <43D3842B.8090304@ebs.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D3842B.8090304@ebs.gr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org, Derek Young Subject: Re: Eclipse Core Dump 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, 22 Jan 2006 18:19:25 -0000 On Sun, Jan 22, 2006 at 03:10:03PM +0200, Panagiotis Astithas wrote: > Jonathan Chen wrote: > >On Sat, Jan 21, 2006 at 03:00:47PM -0600, Derek Young wrote: > >>Too busy this weekend to make a pr or check if one is there, blah > >>blah.. Ran portupgrade this morning to jdk14 patchset 8, and eclipse > >>got upgraded at the same time.. > >> > >>An unexpected exception has been detected in native code outside the VM. > >>Unexpected Signal : 11 occurred at PC=0x286DCF57 > >>Function=inflate_fast+0x17 > >>Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so > > > >A similar bug to this is be solved by: > > > > portupgrade -uf freetype\* fontconfig\* libXft\* > > > >However, having said this, I upgraded eclipse just yesterday, and this > >workaround did not work. The `inflate_fast+0x17' bug also exists for > >eclipse + JDK1.5. I wonder if this could this be fixed by using the > >system zlib instead of the one shipped with the JDK. > > FWIW, I'm still running with the patch that uses the system zlib on > jdk15 and I've never encountered any related crash using eclipse daily > on my day job. This is on i386, though. Would you mind sharing the patch with the rest of the list? If it works well enough, we could maybe include it in the port as an option. Cheers. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III From owner-freebsd-java@FreeBSD.ORG Sun Jan 22 18:33:23 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 71E6A16A41F for ; Sun, 22 Jan 2006 18:33:23 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968FB43D48 for ; Sun, 22 Jan 2006 18:33:21 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0MIX9AF014444; Sun, 22 Jan 2006 20:33:09 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0MIY1rk076885; Sun, 22 Jan 2006 20:34:01 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D3CFE4.7020803@ebs.gr> Date: Sun, 22 Jan 2006 20:33:08 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Jonathan Chen References: <20060121211730.GB43520@osiris.chen.org.nz> <43D3842B.8090304@ebs.gr> <20060122181922.GA31569@osiris.chen.org.nz> In-Reply-To: <20060122181922.GA31569@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, Derek Young Subject: Re: Eclipse Core Dump 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, 22 Jan 2006 18:33:23 -0000 Jonathan Chen wrote: > On Sun, Jan 22, 2006 at 03:10:03PM +0200, Panagiotis Astithas wrote: >> Jonathan Chen wrote: >>> On Sat, Jan 21, 2006 at 03:00:47PM -0600, Derek Young wrote: >>>> Too busy this weekend to make a pr or check if one is there, blah >>>> blah.. Ran portupgrade this morning to jdk14 patchset 8, and eclipse >>>> got upgraded at the same time.. >>>> >>>> An unexpected exception has been detected in native code outside the VM. >>>> Unexpected Signal : 11 occurred at PC=0x286DCF57 >>>> Function=inflate_fast+0x17 >>>> Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so >>> A similar bug to this is be solved by: >>> >>> portupgrade -uf freetype\* fontconfig\* libXft\* >>> >>> However, having said this, I upgraded eclipse just yesterday, and this >>> workaround did not work. The `inflate_fast+0x17' bug also exists for >>> eclipse + JDK1.5. I wonder if this could this be fixed by using the >>> system zlib instead of the one shipped with the JDK. >> FWIW, I'm still running with the patch that uses the system zlib on >> jdk15 and I've never encountered any related crash using eclipse daily >> on my day job. This is on i386, though. > > Would you mind sharing the patch with the rest of the list? If it > works well enough, we could maybe include it in the port as an option. > > Cheers. It was posted on this list by Mikhail Teterin: http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Mon Jan 23 05:44:43 2006 Return-Path: X-Original-To: java@freebsd.org 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 4D85916A41F for ; Mon, 23 Jan 2006 05:44:43 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6695D43D5F for ; Mon, 23 Jan 2006 05:44:33 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 114DF4C89A; Mon, 23 Jan 2006 05:45:21 +0000 (GMT) Received: from [192.168.46.52] (ppp166-27.static.internode.on.net [150.101.166.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id 051324C899; Mon, 23 Jan 2006 05:45:19 +0000 (GMT) Message-ID: <43D46D2D.1040405@roq.com> Date: Mon, 23 Jan 2006 16:44:13 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Greg Lewis References: <43C92741.7000803@gddsn.org.cn> <43CA19C4.8050202@gddsn.org.cn> <20060115223811.GA66735@misty.eyesbeyond.com> In-Reply-To: <20060115223811.GA66735@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: java@freebsd.org, Huang wen hui Subject: Re: Performance patch for jdk1.5.0/amd64 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, 23 Jan 2006 05:44:43 -0000 Hi, Does you have this patch as an attached file? I tried to use this patch but it appears to be mangled and didn't work on the latest jdk15 in the ports tree for me. I really want to use this. Regards, Mike Greg Lewis wrote: >On Sun, Jan 15, 2006 at 05:45:40PM +0800, Huang wen hui wrote: > > >>Huang wen hui wrote: >> >> >> >>>hi, >>>I recently notice that jdk1.5.0-p2/amd64 is slower than jdk1.5.0-p2/i386 >>>on the same hardware in some situation. >>> >>> >>> >>> >>I only got this problem on EM64T box, the "real" amd64 box do not affect. >> >> > >It looks like something to do with AMD64 having prefetchw and EM64T needing >to use prefetcht0 instead. > > > From owner-freebsd-java@FreeBSD.ORG Mon Jan 23 07:24:26 2006 Return-Path: X-Original-To: java@freebsd.org 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 C0B1116A41F for ; Mon, 23 Jan 2006 07:24:26 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79DEB43D4C for ; Mon, 23 Jan 2006 07:24:24 +0000 (GMT) (envelope-from hwh@gddsn.org.cn) Received: from [192.168.164.95] (unknown [210.75.204.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gddsn.org.cn (Postfix) with ESMTP id 7E2DC38CB89; Mon, 23 Jan 2006 15:24:19 +0800 (CST) Message-ID: <43D4849F.3010706@gddsn.org.cn> Date: Mon, 23 Jan 2006 15:24:15 +0800 From: Huang wen hui User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051212) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: Michael Vince References: <43C92741.7000803@gddsn.org.cn> <43D45439.8020309@roq.com> In-Reply-To: <43D45439.8020309@roq.com> Content-Type: multipart/mixed; boundary="------------080100060807010907030907" Cc: java@freebsd.org Subject: Re: Performance patch for jdk1.5.0/amd64 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, 23 Jan 2006 07:24:26 -0000 This is a multi-part message in MIME format. --------------080100060807010907030907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Vince wrote: > Hi, > Do you have this as an attached file? I tried to use this patch but it > appears to be mangled. > > Regards, > Mike > check this. --------------080100060807010907030907 Content-Type: text/x-patch; name="amd64.ad.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="amd64.ad.patch" --- ../../hotspot/src/cpu/amd64/vm/amd64.ad.orig Sat Jan 14 20:06:02 2006 +++ ../../hotspot/src/cpu/amd64/vm/amd64.ad Sat Jan 14 20:05:37 2006 @@ -6095,6 +6095,18 @@ ins_pipe(pipe_slow); // XXX %} +instruct prefetcht0(memory mem) +%{ + match(Prefetch mem); + predicate(!VM_Version::has_prefetchw()); + ins_cost(125); + + format %{ "prefetcht0 $mem\t# prefetch into L1" %} + opcode(0x0F, 0x18); /* Opcode 0F 18 /1 */ + ins_encode(REX_mem(mem), OpcP, OpcS, RM_opc_mem(0x01, mem)); + ins_pipe(pipe_slow); +%} + instruct prefetch(memory mem) %{ match(Prefetch mem); --------------080100060807010907030907 Content-Type: text/x-patch; name="prefetch_bsd_amd64.inline.hpp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="prefetch_bsd_amd64.inline.hpp.patch" --- ../../hotspot/src/os_cpu/bsd_amd64/vm/prefetch_bsd_amd64.inline.hpp.orig Sat Jan 14 23:51:41 2006 +++ ../../hotspot/src/os_cpu/bsd_amd64/vm/prefetch_bsd_amd64.inline.hpp Sat Jan 14 23:52:54 2006 @@ -6,24 +6,14 @@ * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ -inline void Prefetch::read(void* loc, intx interval) +inline void Prefetch::read(void* loc, intx interval) { - __builtin_prefetch((char*) loc + interval, 0); // prefetcht0 (%rsi, %rdi,1) + __asm__ ("prefetcht0 (%0,%1,1)" : : "r" (loc), "r" (interval)); } inline void Prefetch::write(void* loc, intx interval) { - // Force prefetchw. The gcc builtin produces prefetcht0 or prefetchw - // depending on command line switches we don't control here. - // Use of this method should be gated by VM_Version::has_prefetchw. - /* - * How do we invoke VM_Version::has_prefetchw here? - * Can we do something at compile time instead to remove that overhead? - */ -//#ifdef __amd64__ -// __asm__ ("prefetchw (%0,%1,1)" : : "r" (loc), "r" (interval)); -//#elif __em64t__ + // Do not use the 3dnow prefetchw instruction. It isn't supported on em64t. + // __asm__ ("prefetchw (%0,%1,1)" : : "r" (loc), "r" (interval)); __asm__ ("prefetcht0 (%0,%1,1)" : : "r" (loc), "r" (interval)); -//#endif - // __builtin_prefetch((char*) loc + interval, 1); // prefetcht0/prefetchw (%rsi,%rdi,1) } --------------080100060807010907030907-- From owner-freebsd-java@FreeBSD.ORG Mon Jan 23 11:02:40 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 DB37216A41F for ; Mon, 23 Jan 2006 11:02:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC0443D5E for ; Mon, 23 Jan 2006 11:02:31 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0NB2VXM086294 for ; Mon, 23 Jan 2006 11:02:31 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0NB2U1W086286 for freebsd-java@freebsd.org; Mon, 23 Jan 2006 11:02:30 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 23 Jan 2006 11:02:30 GMT Message-Id: <200601231102.k0NB2U1W086286@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 23 Jan 2006 11:02:41 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/05/19] ports/81272 java JDK 1.5 port doesn't build. f [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing o [2005/09/29] java/86700 java SIGSEGV in native jdk15 o [2005/12/21] java/90743 java jdk-1.5.0p2_3 compilation failure 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters o [2005/09/02] ports/85626 java java/jdk15 compile error o [2005/10/01] java/86804 java [PATCH] Install a desktop icon for the ja o [2005/10/17] java/87552 java Enable multi-job builds for CPP files in 7 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jan 23 13:30:58 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7E3FA16A423 for ; Mon, 23 Jan 2006 13:30:58 +0000 (GMT) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from office.oilspace.com (office.oilspace.com [194.129.65.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 129AC43F8D for ; Mon, 23 Jan 2006 12:01:40 +0000 (GMT) (envelope-from dkirhlarov@localhost.oilspace.com) Received: from dimma.mow.oilspace.com (proxy-mow.oilspace.com [81.19.78.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id 03054136E39 for ; Mon, 23 Jan 2006 12:01:39 +0000 (GMT) Received: from dimma.mow.oilspace.com (localhost [127.0.0.1]) by dimma.mow.oilspace.com (8.13.4/8.13.3) with ESMTP id k0NC1csK002229 for ; Mon, 23 Jan 2006 15:01:38 +0300 (MSK) (envelope-from dkirhlarov@localhost.oilspace.com) Received: (from dkirhlarov@localhost) by dimma.mow.oilspace.com (8.13.4/8.13.3/Submit) id k0NC1b3R002228 for freebsd-java@freebsd.org; Mon, 23 Jan 2006 15:01:37 +0300 (MSK) (envelope-from dkirhlarov) Date: Mon, 23 Jan 2006 15:01:37 +0300 From: Dmitriy Kirhlarov To: freebsd-java@freebsd.org Message-ID: <20060123120137.GD1391@dimma.mow.oilspace.com> Mail-Followup-To: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 5.4-STABLE User-Agent: mutt-ng/devel-r581 (FreeBSD) Subject: JDK Sun certification 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, 23 Jan 2006 13:30:58 -0000 Hi, list. I know, what now Freebsd Foundation team work on getting Sun certification for JDK1.4 Is anybody know current status of this procedure? WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com OILspace - The resource enriched - www.oilspace.com From owner-freebsd-java@FreeBSD.ORG Mon Jan 23 18:01:55 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 BE66D16A41F for ; Mon, 23 Jan 2006 18:01:55 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4200843D46 for ; Mon, 23 Jan 2006 18:01:55 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id C604A5643B; Tue, 24 Jan 2006 07:01:52 +1300 (NZDT) Date: Tue, 24 Jan 2006 07:01:52 +1300 From: Jonathan Chen To: Panagiotis Astithas Message-ID: <20060123180152.GA67260@osiris.chen.org.nz> References: <20060121211730.GB43520@osiris.chen.org.nz> <43D3842B.8090304@ebs.gr> <20060122181922.GA31569@osiris.chen.org.nz> <43D3CFE4.7020803@ebs.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D3CFE4.7020803@ebs.gr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org, Derek Young Subject: Re: Eclipse Core Dump 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, 23 Jan 2006 18:01:55 -0000 On Sun, Jan 22, 2006 at 08:33:08PM +0200, Panagiotis Astithas wrote: > Jonathan Chen wrote: > >On Sun, Jan 22, 2006 at 03:10:03PM +0200, Panagiotis Astithas wrote: > >>Jonathan Chen wrote: > >>>On Sat, Jan 21, 2006 at 03:00:47PM -0600, Derek Young wrote: > >>>>Too busy this weekend to make a pr or check if one is there, blah > >>>>blah.. Ran portupgrade this morning to jdk14 patchset 8, and eclipse > >>>>got upgraded at the same time.. > >>>> > >>>>An unexpected exception has been detected in native code outside the VM. > >>>>Unexpected Signal : 11 occurred at PC=0x286DCF57 > >>>>Function=inflate_fast+0x17 > >>>>Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so > >>>A similar bug to this is be solved by: > >>> > >>> portupgrade -uf freetype\* fontconfig\* libXft\* > >>> > >>>However, having said this, I upgraded eclipse just yesterday, and this > >>>workaround did not work. The `inflate_fast+0x17' bug also exists for > >>>eclipse + JDK1.5. I wonder if this could this be fixed by using the > >>>system zlib instead of the one shipped with the JDK. > >>FWIW, I'm still running with the patch that uses the system zlib on > >>jdk15 and I've never encountered any related crash using eclipse daily > >>on my day job. This is on i386, though. > > > >Would you mind sharing the patch with the rest of the list? If it > >works well enough, we could maybe include it in the port as an option. > > > >Cheers. > > It was posted on this list by Mikhail Teterin: > > http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html Thanks for that. I've just finished rebuilding my jdk15 port, and aside from having to remove `files/patch-j2se::zlib-1.1.3::zconf.h', I can report that the patch applied cleanly and I can now run eclipse+jdk1.5 without any problems! Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. From owner-freebsd-java@FreeBSD.ORG Tue Jan 24 16:17:40 2006 Return-Path: X-Original-To: java@freebsd.org 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 D8D6D16A41F for ; Tue, 24 Jan 2006 16:17:40 +0000 (GMT) (envelope-from einstein@yawl.com.br) Received: from server4.yawl.com.br (server4.yawl.com.br [200.175.230.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 37EDA43D45 for ; Tue, 24 Jan 2006 16:17:24 +0000 (GMT) (envelope-from einstein@yawl.com.br) Received: (qmail 939 invoked by uid 1009); 24 Jan 2006 16:17:15 -0000 Received: from unknown (200.175.230.21) by server4.yawl.com.br with SMTP; 24 Jan 2006 16:17:15 -0000 X-Auth-User: einstein Message-ID: <43D65306.7050207@yawl.com.br> Date: Tue, 24 Jan 2006 14:17:10 -0200 From: Einstein Oliveira User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: inflate_fast error with eclipse eclipse-3.1.1_3 and jdk-1.4.2p8_2 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, 24 Jan 2006 16:17:41 -0000 Hi, After upgrade jdk1.4.2 to patch level 8 this message appears every time I try to start eclipse. ---- An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286D3F57 Function=inflate_fast+0x17 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so ---- After that the only thing I can see is the eclipse splash screen with a error dialog saying that JVM terminated with exit code 1. Checking the archives of this list I've found this suggestion: "portupgrade -uf libfreetype\* fontconfig\* libXft\*" with some people reporting that the problem was solved, but I tried it with no luck (maybe because I'm using jdk1.4 and the suggestion was for jdk1.5). I'm also did a portupgrade on eclipse (just in case). Is there something else that I should try to fix this ? -- Einstein Oliveira einstein@yawl.com.br ___________________________________________________ Yawl Internet Ltda. http://www.yawl.com.br/ From owner-freebsd-java@FreeBSD.ORG Tue Jan 24 18:27:01 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 EBA7916A41F for ; Tue, 24 Jan 2006 18:27:01 +0000 (GMT) (envelope-from kastner@galt.de) Received: from mail.galt.de (mail.galt.de [195.247.131.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 67DFA43D45 for ; Tue, 24 Jan 2006 18:27:00 +0000 (GMT) (envelope-from kastner@galt.de) Received: from [192.168.2.100] (84.168.123.158) by mail.galt.de with MERCUR-SMTP/POP3/IMAP4-Server (v3.20.01 AS-0098309) for ; Tue, 24 Jan 2006 19:26:58 +0100 Message-ID: <43D67171.9030405@galt.de> Date: Tue, 24 Jan 2006 19:26:57 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: eclipse crashes on startup 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, 24 Jan 2006 18:27:02 -0000 Hello, I propably shouldn't do this, but I've also posted this message on the freebsd-eclipse list. However the trouble I'm having might be caused by either the jdk or eclipse. I really have no clue. Ever since I updated eclipse and jdk14 via the ports last week I can't start eclipse anymore. It crashes on startup. I've attached the VM dump at the bottom of this mail. Well, actually, I've found a way to start eclipse - but only if I compile it against motif instead of GTK. But that's simply a very bad alternative, since the motif fonts are a nightmare. Doeas anybody have the same problem? Does anybody have an idea what I can do to get this problem fixed? Greetings Michael Kastner Here's s the dump: -------------------------------------------------- An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286E7F6C Function=inflate_fast+0x28 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so Current Java thread: at org.eclipse.swt.internal.gtk.OS._pango_context_list_families(Native Method) at org.eclipse.swt.internal.gtk.OS.pango_context_list_families(OS.java:7728) at org.eclipse.swt.graphics.Device.getFontList(Device.java:389) at org.eclipse.jface.resource.FontRegistry.bestData(FontRegistry.java:366) at org.eclipse.jface.resource.FontRegistry.bestDataArray(FontRegistry.java:390) at org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(ThemeElementHelper.java:110) at org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(ThemeElementHelper.java:56) at org.eclipse.ui.internal.Workbench.initializeFonts(Workbench.java:1105) at org.eclipse.ui.internal.Workbench.init(Workbench.java:996) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) Dynamic libraries: 0x8048000 /usr/local/jdk1.4.2/bin/java 0x2807a000 /usr/lib/libpthread.so.1 0x2809e000 /lib/libc.so.5 0x28178000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x285ab000 /usr/lib/libstdc++.so.4 0x2867d000 /lib/libm.so.3 0x28697000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x286a5000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x286ba000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x286d8000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x40702000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x40714000 /usr/local/jdk1.4.2/jre/lib/i386/libnio.so 0x42ed1000 /home/kastner/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-3139.so 0x42f14000 /usr/X11R6/lib/libgtk-x11-2.0.so.600 0x431d0000 /usr/local/lib/libgthread-2.0.so.600 0x431d4000 /usr/X11R6/lib/libXtst.so.6 0x431d9000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0 0x431ee000 /usr/X11R6/lib/libgdk-x11-2.0.so.0 0x43269000 /usr/X11R6/lib/libXrandr.so.2 0x4326d000 /usr/X11R6/lib/libXrender.so.1 0x43275000 /usr/X11R6/lib/libXi.so.6 0x4327d000 /usr/X11R6/lib/libXinerama.so.1 0x43280000 /usr/X11R6/lib/libXext.so.6 0x4328d000 /usr/X11R6/lib/libX11.so.6 0x4334d000 /usr/X11R6/lib/libpangocairo-1.0.so.0 0x43354000 /usr/X11R6/lib/libpangoft2-1.0.so.0 0x43378000 /usr/X11R6/lib/libfontconfig.so.1 0x433a6000 /usr/local/lib/libfreetype.so.9 0x4340a000 /lib/libz.so.2 0x4341a000 /usr/X11R6/lib/libpango-1.0.so.0 0x43450000 /usr/local/lib/libatk-1.0.so.0 0x43468000 /usr/local/lib/libgobject-2.0.so.0 0x4349e000 /usr/local/lib/libgmodule-2.0.so.0 0x434a2000 /usr/local/lib/libglib-2.0.so.0 0x43523000 /usr/local/lib/libiconv.so.3 0x43610000 /usr/local/lib/libcairo.so.2 0x4365b000 /usr/local/lib/libintl.so.6 0x43664000 /usr/X11R6/lib/libXcursor.so.1 0x4366d000 /usr/X11R6/lib/libXfixes.so.3 0x43672000 /usr/local/lib/libexpat.so.5 0x43693000 /usr/local/lib/libpng.so.5 0x436b6000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x436b9000 /home/kastner/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-gtk-3139.so 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 2880K, used 1148K [0x2c470000, 0x2c780000, 0x2d820000) eden space 2624K, 34% used [0x2c470000, 0x2c54f0e8, 0x2c700000) from space 256K, 100% used [0x2c740000, 0x2c780000, 0x2c780000) to space 256K, 0% used [0x2c700000, 0x2c700000, 0x2c740000) tenured generation total 37824K, used 4601K [0x2d820000, 0x2fd10000, 0x3c470000) the space 37824K, 12% used [0x2d820000, 0x2dc9e798, 0x2dc9e800, 0x2fd10000) compacting perm gen total 6912K, used 6684K [0x3c470000, 0x3cb30000, 0x40470000) the space 6912K, 96% used [0x3c470000, 0x3caf7080, 0x3caf7200, 0x3cb30000) Local Time = Mon Jan 23 12:31:16 2006 Elapsed Time = 10 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-kastner_22_jan_2006_11_21 mixed mode) # From owner-freebsd-java@FreeBSD.ORG Wed Jan 25 06:50:31 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 92DD716A41F for ; Wed, 25 Jan 2006 06:50:31 +0000 (GMT) (envelope-from kastner@galt.de) Received: from mail.galt.de (mail.galt.de [195.247.131.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 93B7243D48 for ; Wed, 25 Jan 2006 06:50:30 +0000 (GMT) (envelope-from kastner@galt.de) Received: from [192.168.2.100] (84.168.88.228) by mail.galt.de with MERCUR-SMTP/POP3/IMAP4-Server (v3.20.01 AS-0098309) for ; Wed, 25 Jan 2006 07:50:09 +0100 Message-ID: <43D71FA0.3080103@galt.de> Date: Wed, 25 Jan 2006 07:50:08 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: /libexec/ld-elf.so.1: Shared object "libjvm.so" 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: Wed, 25 Jan 2006 06:50:31 -0000 I still try to get eclipse going. One of the hints I found was to preload some of the required shared libraries. This was proposed: LD_PRELOAD=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so \ LD_PRELOAD=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so eclipse \ eclipse But it results in an error message /libexec/ld-elf.so.1: Shared object "libjvm.so" not found, required by "libzip.so" Can anybody help me with this? Greetings Michael Kastner From owner-freebsd-java@FreeBSD.ORG Wed Jan 25 12:33:36 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A8D0F16A420 for ; Wed, 25 Jan 2006 12:33:36 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1EB043D58 for ; Wed, 25 Jan 2006 12:33:30 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0PCXSAF026133; Wed, 25 Jan 2006 14:33:28 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0PCYJ87032344; Wed, 25 Jan 2006 14:34:19 +0200 (EET) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.375 [267.14.22/239]); Wed, 25 Jan 2006 14:33:24 +0200 Message-ID: <43D77014.3090309@ebs.gr> Date: Wed, 25 Jan 2006 14:33:24 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Michael Kastner References: <43D67171.9030405@galt.de> In-Reply-To: <43D67171.9030405@galt.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: eclipse crashes on startup 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, 25 Jan 2006 12:33:36 -0000 Michael Kastner wrote: > Hello, > > I propably shouldn't do this, but I've also posted this message on the > freebsd-eclipse list. > > However the trouble I'm having might be caused by either the jdk or > eclipse. I really have no clue. > > Ever since I updated eclipse and jdk14 via the ports last week I can't > start eclipse anymore. It crashes on startup. I've attached the VM dump > at the bottom of this mail. > > Well, actually, I've found a way to start eclipse - but only if I > compile it against motif instead of GTK. But that's simply a very bad > alternative, since the motif fonts are a nightmare. > > Doeas anybody have the same problem? Does anybody have an idea what I > can do to get this problem fixed? It looks like the libzip symbol privatization problem that usually plagued jdk15 users. Two patches fixing this have been posted to this list (check the archives) and one of them has been committed to the latest jdk15 port. You could try using jdk15 and see if it works for you, or port the aforementioned fixes to jdk14. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Wed Jan 25 18:18:34 2006 Return-Path: X-Original-To: java@freebsd.org 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 690A116A41F for ; Wed, 25 Jan 2006 18:18:34 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id D974143D5E for ; Wed, 25 Jan 2006 18:18:26 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0PIICAF027145; Wed, 25 Jan 2006 20:18:12 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0PIJ2Fu037067; Wed, 25 Jan 2006 20:19:04 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D7C0E1.3060702@ebs.gr> Date: Wed, 25 Jan 2006 20:18:09 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Einstein Oliveira References: <43D65306.7050207@yawl.com.br> In-Reply-To: <43D65306.7050207@yawl.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: inflate_fast error with eclipse eclipse-3.1.1_3 and jdk-1.4.2p8_2 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, 25 Jan 2006 18:18:34 -0000 Einstein Oliveira wrote: > Hi, > > After upgrade jdk1.4.2 to patch level 8 this message appears every time > I try to start eclipse. > > ---- > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 11 occurred at PC=0x286D3F57 > Function=inflate_fast+0x17 > Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so > ---- > > After that the only thing I can see is the eclipse splash screen with a > error dialog saying that JVM terminated with exit code 1. > > Checking the archives of this list I've found this suggestion: > > "portupgrade -uf libfreetype\* fontconfig\* libXft\*" > > with some people reporting that the problem was solved, but I tried it > with no luck (maybe because I'm using jdk1.4 and the suggestion was for > jdk1.5). > > I'm also did a portupgrade on eclipse (just in case). > > > Is there something else that I should try to fix this ? > It seems that inflate_fast was not made private when the relevant patch made its way into jdk14: % objdump -T /usr/local/jdk1.4.2/jre/lib/i386/libzip.so | grep inflate_fast 0000ff40 g DF .text 00000687 inflate_fast % objdump -T /usr/lib/libz.so | grep inflate_fast 0000572c g DF .text 000004cd inflate_fast From owner-freebsd-java@FreeBSD.ORG Thu Jan 26 03:20:52 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 2A7E716A420; Thu, 26 Jan 2006 03:20:52 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65C443D53; Thu, 26 Jan 2006 03:20:51 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (lawrance@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0Q3KpZG062869; Thu, 26 Jan 2006 03:20:51 GMT (envelope-from lawrance@freefall.freebsd.org) Received: (from lawrance@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0Q3KpDK062865; Thu, 26 Jan 2006 03:20:51 GMT (envelope-from lawrance) Date: Thu, 26 Jan 2006 03:20:51 GMT From: Sam Lawrance Message-Id: <200601260320.k0Q3KpDK062865@freefall.freebsd.org> To: lawrance@FreeBSD.org, freebsd-java@FreeBSD.org, lawrance@FreeBSD.org Cc: Subject: Re: ports/38020: www/jakarta-tomcat4: stop tomcat via java -jar bootstrap.jar stop 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: Thu, 26 Jan 2006 03:20:52 -0000 Synopsis: www/jakarta-tomcat4: stop tomcat via java -jar bootstrap.jar stop Responsible-Changed-From-To: freebsd-java->lawrance Responsible-Changed-By: lawrance Responsible-Changed-When: Thu Jan 26 03:20:51 UTC 2006 Responsible-Changed-Why: Handle it. http://www.freebsd.org/cgi/query-pr.cgi?pr=38020 From owner-freebsd-java@FreeBSD.ORG Thu Jan 26 03:20:56 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 6C46216A420; Thu, 26 Jan 2006 03:20:56 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E0943D48; Thu, 26 Jan 2006 03:20:56 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (lawrance@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0Q3Kuxc062939; Thu, 26 Jan 2006 03:20:56 GMT (envelope-from lawrance@freefall.freebsd.org) Received: (from lawrance@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0Q3Kuig062935; Thu, 26 Jan 2006 03:20:56 GMT (envelope-from lawrance) Date: Thu, 26 Jan 2006 03:20:56 GMT From: Sam Lawrance Message-Id: <200601260320.k0Q3Kuig062935@freefall.freebsd.org> To: lawrance@FreeBSD.org, freebsd-java@FreeBSD.org, lawrance@FreeBSD.org Cc: Subject: Re: ports/74344: [proposal] tomcat41ctl: support for passing parameters to java vm 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: Thu, 26 Jan 2006 03:20:56 -0000 Synopsis: [proposal] tomcat41ctl: support for passing parameters to java vm Responsible-Changed-From-To: freebsd-java->lawrance Responsible-Changed-By: lawrance Responsible-Changed-When: Thu Jan 26 03:20:55 UTC 2006 Responsible-Changed-Why: Handle it. http://www.freebsd.org/cgi/query-pr.cgi?pr=74344 From owner-freebsd-java@FreeBSD.ORG Thu Jan 26 03:21:01 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 71D8416A420; Thu, 26 Jan 2006 03:21:01 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C0EF43D45; Thu, 26 Jan 2006 03:21:01 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from freefall.freebsd.org (lawrance@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0Q3L1OL063009; Thu, 26 Jan 2006 03:21:01 GMT (envelope-from lawrance@freefall.freebsd.org) Received: (from lawrance@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0Q3L0Gk063005; Thu, 26 Jan 2006 03:21:00 GMT (envelope-from lawrance) Date: Thu, 26 Jan 2006 03:21:00 GMT From: Sam Lawrance Message-Id: <200601260321.k0Q3L0Gk063005@freefall.freebsd.org> To: lawrance@FreeBSD.org, freebsd-java@FreeBSD.org, lawrance@FreeBSD.org Cc: Subject: Re: ports/75143: There is no way to specify jvm parameters when starting jakarta-tomcat. 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: Thu, 26 Jan 2006 03:21:01 -0000 Synopsis: There is no way to specify jvm parameters when starting jakarta-tomcat. Responsible-Changed-From-To: freebsd-java->lawrance Responsible-Changed-By: lawrance Responsible-Changed-When: Thu Jan 26 03:21:00 UTC 2006 Responsible-Changed-Why: Handle it. http://www.freebsd.org/cgi/query-pr.cgi?pr=75143 From owner-freebsd-java@FreeBSD.ORG Thu Jan 26 06:12:55 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 64D4A16A422 for ; Thu, 26 Jan 2006 06:12:55 +0000 (GMT) (envelope-from champlin@stupidog.org) Received: from whisper.stupidog.org (adsl-63-193-245-15.dsl.snfc21.pacbell.net [63.193.245.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C3D143D48 for ; Thu, 26 Jan 2006 06:12:54 +0000 (GMT) (envelope-from champlin@stupidog.org) Received: from [10.0.1.37] (pathetic.stupidog.org [10.0.1.37]) by whisper.stupidog.org (Postfix) with ESMTP id C60D420A1; Wed, 25 Jan 2006 22:12:54 -0800 (PST) In-Reply-To: References: <20060120032857.GA37316@gurney.reilly.home> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <67B4CDC6-36FE-4325-9E16-9AF05DD11BD0@stupidog.org> Content-Transfer-Encoding: 7bit From: Virgil Champlin Date: Wed, 25 Jan 2006 22:16:26 -0800 To: Alex Hayward X-Mailer: Apple Mail (2.746.2) Cc: Andrew Reilly , freebsd-java@freebsd.org Subject: Re: Compiling jdk15 on amd64: how long? 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: Thu, 26 Jan 2006 06:12:55 -0000 On Jan 20, 2006, at 11:48 AM, Alex Hayward wrote: > On Fri, 20 Jan 2006, Andrew Reilly wrote: > >> Hi all, >> >> Any idea how long this is supposed to take? I'm patched and all, >> and the linux javac seems to be working ok, but I have two javac >> processes (one per core) at the top of my "top" list that have now >> consumed about 170 minutes. > ... > The last time I compiled it on amd64 I had to disable SMP to make it > finish. This was my experience, too, when I was bootstrapping with linux-sun- jdk-1.4.2.10. I did not need it later rebuilding with "portupgrade - f jdk-1.5.0p2_3". Tyan S2881 (Opteron 246)/FreeBSD 6.0-RELEASE -virgil From owner-freebsd-java@FreeBSD.ORG Fri Jan 27 09:34:49 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 5B2C616A420 for ; Fri, 27 Jan 2006 09:34:49 +0000 (GMT) (envelope-from lihong.chen@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0A2E43D45 for ; Fri, 27 Jan 2006 09:34:48 +0000 (GMT) (envelope-from lihong.chen@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so344233wxc for ; Fri, 27 Jan 2006 01:34:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:content-type:date:message-id:mime-version:x-mailer; b=ufr4AXgJsoI6pB8vlfIfGsrJeOZZSce3Jai6NcGB0/EYM3blZ4m5UaMqB2VB4IIW32s5mOXXNMQ1CAjgFGVtf0Zq4rD5YnG9MMmUzrO0IMUH8LUwcQRhPtJd07tdAxHhhVjBgtdt5GH2I4PoxNqxzjZal57INTs5fdtkopo8+MI= Received: by 10.70.61.8 with SMTP id j8mr3356997wxa; Fri, 27 Jan 2006 01:34:48 -0800 (PST) Received: from ?10.8.0.112? ( [61.221.58.28]) by mx.gmail.com with ESMTP id h39sm3959285wxd.2006.01.27.01.34.46; Fri, 27 Jan 2006 01:34:47 -0800 (PST) From: "Chen, Lihong" To: freebsd-java@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-WW3ED45MdKpr0MTK3N7k" Date: Fri, 27 Jan 2006 17:34:40 +0800 Message-Id: <1138354480.32631.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Subject: Can not build jdk15 with firefox 1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lihong@ieee.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 09:34:49 -0000 --=-WW3ED45MdKpr0MTK3N7k Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, All, I can not build jdk15 with firefox (see below!), however it can build with mozilla! After built jdk15 with mozilla, the Java Plug-in will failed to start. /Lihong ---- copy from java console ---- load: class PageSelector.class not found. java.lang.ClassNotFoundException: PageSelector.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:167) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:118) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:585) at sun.applet.AppletPanel.createApplet(AppletPanel.java:710) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1697) at sun.applet.AppletPanel.runLoader(AppletPanel.java:639) at sun.applet.AppletPanel.run(AppletPanel.java:319) at java.lang.Thread.run(Thread.java:595) Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:270) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:157) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:154) ... 9 more /usr/X11R6/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Engine "clearlooks" is unsupported, ignoring ---- failed make ---- /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd -I/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin -I../../../../src/plugin/solaris/common -I../../../../src/plugin/share/adapter/ns7 -I../../../../src/plugin/share/adapter/common -I../../../../src/plugin/share/adapter/include -I../../../../src/plugin/solaris/nscore -I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox -I/usr/X11R6/include/firefox/caps -I/usr/X11R6/include/firefox/liveconnect -I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji -I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom -I/usr/local/include/nspr -I/usr/X11R6/include -I/usr/local/include -I../../../../../j2se/make/../src/solaris/javavm/export -I../../../../../j2se/make/../src/share/javavm/export -I../../../../../j2se/make/../src/share/javavm/include -I../../../../../j2se/make/../src/solaris/javavm/include -D_GNU_SOURCE -DXP_UNIX -D_ALLBSD_SOURCE -DPLUGIN_NODOTVERSION=3D\"150\" -DPLUGIN_VERSION=3D\"1.5.0\" -DVERSION=3D\"1.5.0-p2-root_27_jan_2006_14_20\= " -DRELEASE=3D\"1.5.0-p2\" -DARCH=3D\"i586\" -DLIBARCH=3D\"i386\" -c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adap= ter/ns7/obj/CNSAdapter_JVMManager.o ../../../../src/plugin/share/adapter/c= ommon/CNSAdapter_JVMManager.cpp In file included from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:= 17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning: "NS_ASSERTION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:= 17: /usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the location of the previous definition In file included from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:= 17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: warning: "NS_PRECONDITION" redefined In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, from ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:= 17: /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the location of the previous definition ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)':../../../../src/plugin/= share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: `nsPluginThread'= undeclared (first use this function) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: = error: (Each undeclared identifier is reported only once for each function = it appears in.) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: = error: `pPluginThread' undeclared (first use this function) ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, JDBool)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: = error: invalid conversion from `JDUint32' to `PRThread*' ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: = error: initializing argument 1 of `virtual nsresult nsIThreadManager::Pos= tEvent(PRThread*, nsIRunnable*, PRBool)' gmake[5]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapte= r/ns7/obj/CNSAdapter_JVMManager.o] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[3]: *** [ns7-adapter] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake[2]: *** [adapter] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. --=-WW3ED45MdKpr0MTK3N7k Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD2ekwymyXoUCp/cURArnaAJ9Jpxhx4h8eG+6/2/KquNzdXRcFIgCbB7su JoLNHR6Q4RBzbbcRsMPEW7g= =B7bT -----END PGP SIGNATURE----- --=-WW3ED45MdKpr0MTK3N7k-- From owner-freebsd-java@FreeBSD.ORG Fri Jan 27 17:48:05 2006 Return-Path: X-Original-To: java@freebsd.org 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 31DBB16A575 for ; Fri, 27 Jan 2006 17:47:48 +0000 (GMT) (envelope-from einstein@yawl.com.br) Received: from server4.yawl.com.br (server4.yawl.com.br [200.175.230.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 62214444EB for ; Fri, 27 Jan 2006 17:25:35 +0000 (GMT) (envelope-from einstein@yawl.com.br) Received: (qmail 38569 invoked by uid 1009); 27 Jan 2006 17:25:28 -0000 Received: from unknown (200.175.230.21) by server4.yawl.com.br with SMTP; 27 Jan 2006 17:25:28 -0000 X-Auth-User: einstein Message-ID: <43DA5786.8010709@yawl.com.br> Date: Fri, 27 Jan 2006 15:25:26 -0200 From: Einstein Oliveira User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Eclipse crash 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: Fri, 27 Jan 2006 17:48:06 -0000 Hi, A few days ago I sent a message about a problem with eclipse and libzip.so. Searching the archives I've found some suggestions, but no luck at all. If somebody have successfully followed any procedure that made eclipse come back to life, please share it. Here I'm with FreeBSD 6.0-RELEASE-p3, jdk-1.4.2p8_2 and eclipse-3.1.1_3 and below is a part of the error message. ---- An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286D3F57 Function=inflate_fast+0x17 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so ---- -- Einstein Oliveira einstein@yawl.com.br ___________________________________________________ Yawl Internet Ltda. http://www.yawl.com.br/ From owner-freebsd-java@FreeBSD.ORG Sat Jan 28 01:20:15 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 7726F16A420 for ; Sat, 28 Jan 2006 01:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4824943D45 for ; Sat, 28 Jan 2006 01:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0S1KE25055680 for ; Sat, 28 Jan 2006 01:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0S1KEOa055679; Sat, 28 Jan 2006 01:20:14 GMT (envelope-from gnats) Date: Sat, 28 Jan 2006 01:20:14 GMT Message-Id: <200601280120.k0S1KEOa055679@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Anish Mistry Cc: Subject: Re: java/90743 : jdk-1.5.0p2_3 compilation failure X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anish Mistry List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 01:20:15 -0000 The following reply was made to PR java/90743; it has been noted by GNATS. From: Anish Mistry To: bug-followup@freebsd.org Cc: Subject: Re: java/90743 : jdk-1.5.0p2_3 compilation failure Date: Fri, 27 Jan 2006 20:14:33 -0500 --nextPart1410564.Qhesp0lnaW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I just wanted to chime in with a "me too." Now I know why my attempts=20 to build java on most of my systems is failing. Does anyone know of=20 a fix? =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart1410564.Qhesp0lnaW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD2sWAxqA5ziudZT0RAtjbAKCMIR8Os2/MOKVh77nV2RTbPbnIJwCeJNUt YgkvZgMlrfCeBwhOttXgZ2M= =ctg9 -----END PGP SIGNATURE----- --nextPart1410564.Qhesp0lnaW-- From owner-freebsd-java@FreeBSD.ORG Sat Jan 28 14:10:22 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org 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 9DCA616A422 for ; Sat, 28 Jan 2006 14:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9280343D79 for ; Sat, 28 Jan 2006 14:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0SEABri005961 for ; Sat, 28 Jan 2006 14:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0SEABEH005955; Sat, 28 Jan 2006 14:10:11 GMT (envelope-from gnats) Resent-Date: Sat, 28 Jan 2006 14:10:11 GMT Resent-Message-Id: <200601281410.k0SEABEH005955@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, Vaclav Kadlcik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95C9D16A420 for ; Sat, 28 Jan 2006 14:06:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FF5543D5A for ; Sat, 28 Jan 2006 14:06:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0SE6Y0O083441 for ; Sat, 28 Jan 2006 14:06:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0SE6Y2J083440; Sat, 28 Jan 2006 14:06:34 GMT (envelope-from nobody) Message-Id: <200601281406.k0SE6Y2J083440@www.freebsd.org> Date: Sat, 28 Jan 2006 14:06:34 GMT From: Vaclav Kadlcik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse 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, 28 Jan 2006 14:10:22 -0000 >Number: 92459 >Category: java >Synopsis: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 28 14:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vaclav Kadlcik >Release: 6.0-RELEASE-p4 >Organization: >Environment: reeBSD nbvk 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #2: Thu Jan 26 08:45:24 CET 2006 root@nbvk:/usr/obj/usr/src/sys/NBVK i386 >Description: The patchset p8 broke comaptibility with eclipse: java: jdk-1.4.2p8_2, eclipse: eclipse-3.1.1_3 When starting eclipse, it crashes with an error window: "JVM terminated. Exit code=1 /usr/local/bin/java (...edited...)" and an error log file hs_err_pidNNN.log: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286DCF57 Function=inflate_fast+0x17 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so Current Java thread: at org.eclipse.swt.internal.gtk.OS._pango_context_list_families(Native Method) (...edited...) Dynamic libraries: (...edited...) 0x286cd000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so (...edited...) 0x42d15000 /lib/libz.so.3 (...edited...) # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-root_28_jan_2006_08_37 mixed mode) I looked at Changelog in bsd-jdk14-patches-8.tar.gz and found: 2005-12-08 Thursday 05:48 glewis (...edited...) "Privatise" the symbols in libzip.so to avoid conflicting with those in the systems libz.so. This conflict broke applications such as Eclipse which is linked with libz.so (via gtk+ I believe). I'm afraid *this* change broke Eclipse... >How-To-Repeat: Build java/jdk14 and java/eclipse from ports and run eclipse. >Fix: Just a workaround: I uninstalled jdk-1.4.2p8_2 and installed jdk-1.4.2p7_2. (I usually run portupgrade with '-b'.) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Sat Jan 28 15:54:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 21F0816A420 for ; Sat, 28 Jan 2006 15:54:25 +0000 (GMT) (envelope-from alex@kiesel.name) Received: from xhantos.de (xhantos.de [82.165.42.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9DFE43D45 for ; Sat, 28 Jan 2006 15:54:24 +0000 (GMT) (envelope-from alex@kiesel.name) Received: from boost.home.ahk (p54A32EB3.dip0.t-ipconnect.de [84.163.46.179]) by xhantos.de (Postfix) with ESMTP id 70BFA9B418; Sat, 28 Jan 2006 16:55:33 +0100 (CET) From: Alex Kiesel To: Panagiotis Astithas In-Reply-To: <43D0C183.5050900@ebs.gr> References: <1137336063.713.4.camel@boost.home.ahk> <1137338926.713.8.camel@boost.home.ahk> <43D0C183.5050900@ebs.gr> Content-Type: text/plain Date: Sat, 28 Jan 2006 16:54:18 +0100 Message-Id: <1138463658.689.3.camel@boost.home.ahk> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JBoss 4.0.* does not build (sometimes?) 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, 28 Jan 2006 15:54:25 -0000 On Fri, 2006-01-20 at 12:54 +0200, Panagiotis Astithas wrote: > Alex Kiesel wrote: > > On Sun, 2006-01-15 at 15:41 +0100, Alex Kiesel wrote: > >> I do suspect, it's got nothing todo with the FreeBSD versions, but more > >> with something else, I do not see. Both machines only have this single > >> jdk installed - nothing else. > > > > It seems that suspiction was correct. I noticed that one the failing > > machine, the port axis-1.2.2 was installed while on the other it wasn't. > > > > After removal of the port, the compile went through. JBoss seems to ship > > an own version of Axis which was behind the port's version in the > > classpath probably. > > > > So, I wonder if java/jboss4 should list axis-* as CONFLICTS? > > A better solution would be to patch the build process to not reference > outside jars. I agree. I have tried to develop a patch for this, but yet have not come to a solution. The source of the problem is that Axis installs its jars in $JAVA_HOME/jre/lib/ext - thus they're in the default class path, if I get this right. How can I remove classes from that path? Should I file a pr for this, so that at least people hitting the same issue are able to find a reference about this? Regards, -Alex From owner-freebsd-java@FreeBSD.ORG Sat Jan 28 20:58:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 C4C6816A420 for ; Sat, 28 Jan 2006 20:58:25 +0000 (GMT) (envelope-from jason.harmening@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CAAD43D4C for ; Sat, 28 Jan 2006 20:58:24 +0000 (GMT) (envelope-from jason.harmening@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so878315nzo for ; Sat, 28 Jan 2006 12:58:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:message-id; b=ln0tICA12g85MQL5g/UvrTqwnPIL4DyQB6u+tADknzEdMI4v5pJDpSSoJ5P1fpOrQ1C31Bze1vYbi+PoWENU0JtXlWU84lYFDJ4akYgxKxGT/y+T9u2mXt8yeiBC87WTL/elaUM1Z5NKunNLCoy8Ub9sT9nOY6ttMOuN5HxnaR4= Received: by 10.36.39.4 with SMTP id m4mr2943097nzm; Sat, 28 Jan 2006 12:58:23 -0800 (PST) Received: from ?192.168.0.3? ( [70.112.20.140]) by mx.gmail.com with ESMTP id r15sm45380nza.2006.01.28.12.58.21; Sat, 28 Jan 2006 12:58:22 -0800 (PST) From: Jason Harmening To: freebsd-java@freebsd.org Date: Sat, 28 Jan 2006 14:56:08 -0600 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_op92DTCJ6hJR7ar" Message-Id: <200601281456.08794.jason.harmening@gmail.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: JVM segfault during limewire startup 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, 28 Jan 2006 20:58:25 -0000 --Boundary-00=_op92DTCJ6hJR7ar Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm seeing an occasional JVM segfault when I try start limewire: # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00000008019fd827, pid=98083, tid=0x51a000 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-p2-jason_10_dec_2005_18_14 mixed mode) # Problematic frame: # C [libzip.so+0x12827] inflate_fast+0x37 # # An error report file with more information is saved as /tmp/hs_err_pid98083.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort trap I don't know if this is relevant, but I only started seeing this after upgrading to a dual-core Athlon 64 and switching to an SMP kernel--previously with a single Athlon 64 everything was fine. System is FreeBSD 6.0-STABLE/amd64. The logfile is attached. Thanks, Jason Harmening --Boundary-00=_op92DTCJ6hJR7ar--