From owner-freebsd-eclipse@FreeBSD.ORG Sun Jan 22 13:06:40 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 797C916A41F; Sun, 22 Jan 2006 13:06:40 +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 A531E43D45; Sun, 22 Jan 2006 13:06:38 +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 k0MD6ZAF013579; Sun, 22 Jan 2006 15:06:35 +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 k0MD7QPj074288; Sun, 22 Jan 2006 15:07:27 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D38359.5010808@ebs.gr> Date: Sun, 22 Jan 2006 15:06:33 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Andrey Chernov , freebsd-eclipse@freebsd.org References: <20060121213809.GA41498@nagual.pp.ru> <20060121220921.GA36748@nagual.pp.ru> In-Reply-To: <20060121220921.GA36748@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: eclipse-devel stops 'make index' in /usr/ports with WITH_MOTIF X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 13:06:40 -0000 Andrey Chernov wrote: > On Sun, Jan 22, 2006 at 12:38:09AM +0300, Andrey Chernov wrote: >> "Makefile", line 82: Malformed conditional ((${BROWSER} == "firefox")) >> "Makefile", line 84: if-less endif >> make: fatal errors encountered -- cannot continue >> ===> java/eclipse-devel failed >> >> This is because BROWSER variable is never defined when WITH_MOTIF is set. > > The fix: > .if (!defined(WITH_MOTIF) && ${BROWSER} == "firefox") The eclipse-devel port is not actively maintained at the moment. Feel free to commit this fix if you want. Thanks, Panagiotis From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 23 09:24:10 2006 Return-Path: X-Original-To: freebsd-eclipse@hub.freebsd.org Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EA1316A41F; Mon, 23 Jan 2006 09:24:10 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3761F43D53; Mon, 23 Jan 2006 09:24:10 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0N9OAak079116; Mon, 23 Jan 2006 09:24:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0N9OADS079112; Mon, 23 Jan 2006 09:24:10 GMT (envelope-from edwin) Date: Mon, 23 Jan 2006 09:24:10 GMT From: Edwin Groothuis Message-Id: <200601230924.k0N9OADS079112@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-eclipse@FreeBSD.org Cc: Subject: Re: ports/92190: [patch] Enable x11-toolkits/swt31 for amd64 systems X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 09:24:10 -0000 Synopsis: [patch] Enable x11-toolkits/swt31 for amd64 systems Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-eclipse Responsible-Changed-By: edwin Responsible-Changed-When: Mon Jan 23 09:24:09 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=92190 From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 23 11:02:32 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3865B16A41F for ; Mon, 23 Jan 2006 11:02:32 +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 D4FEE43D73 for ; Mon, 23 Jan 2006 11:02:20 +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 k0NB2Kf5086179 for ; Mon, 23 Jan 2006 11:02:20 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0NB2JVj086173 for freebsd-eclipse@freebsd.org; Mon, 23 Jan 2006 11:02:19 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 23 Jan 2006 11:02:19 GMT Message-Id: <200601231102.k0NB2JVj086173@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-eclipse@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 11:02:32 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/01/23] ports/92190 eclipse [patch] Enable x11-toolkits/swt31 for amd 1 problem total. From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 23 16:00:27 2006 Return-Path: X-Original-To: freebsd-eclipse@hub.freebsd.org Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF20E16A41F for ; Mon, 23 Jan 2006 16:00:27 +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 25CAC440EA for ; Mon, 23 Jan 2006 16:00:27 +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 k0NG0Q83012029 for ; Mon, 23 Jan 2006 16:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0NG0QjW012028; Mon, 23 Jan 2006 16:00:26 GMT (envelope-from gnats) Date: Mon, 23 Jan 2006 16:00:26 GMT Message-Id: <200601231600.k0NG0QjW012028@freefall.freebsd.org> To: freebsd-eclipse@FreeBSD.org From: Mikhail Teterin Cc: Subject: Re: ports/92190: [patch] Enable x11-toolkits/swt31 for amd64 systems X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mikhail Teterin List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 16:00:27 -0000 The following reply was made to PR ports/92190; it has been noted by GNATS. From: Mikhail Teterin To: bug-followup@freebsd.org, past@ebs.gr Cc: Subject: Re: ports/92190: [patch] Enable x11-toolkits/swt31 for amd64 systems Date: Mon, 23 Jan 2006 10:58:38 -0500 --Boundary-00=_v0P1DPKiIMVFwCV Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline I tried this patch with the newer 3.1.1 release, and it worked fine. I am now able to run azureus on my FreeBSD/amd64-6.0. Here is the combination patch (no diffs for distinfo, as that needs to be manually crafted anyway). -mi --Boundary-00=_v0P1DPKiIMVFwCV Content-Type: text/x-diff; charset="us-ascii"; name="swt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="swt.diff" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-toolkits/swt31/Makefile,v retrieving revision 1.2 diff -U2 -r1.2 Makefile --- Makefile 4 Jan 2006 14:31:28 -0000 1.2 +++ Makefile 23 Jan 2006 15:55:58 -0000 @@ -7,17 +7,15 @@ PORTNAME= swt -PORTVERSION= 3.1 +PORTVERSION= 3.1.1 CATEGORIES= x11-toolkits devel java MASTER_SITES= ${MASTER_SITE_ECLIPSE} -MASTER_SITE_SUBDIR= R-${PORTVERSION}-200506271435 +MASTER_SITE_SUBDIR= R-${PORTVERSION}-200509290840 MAINTAINER= freebsd-eclipse@freebsd.org COMMENT= Standard Widget Toolkit for Java -SWT_VERSION= 3138 +SWT_VERSION= 3139 NO_WRKSUBDIR= yes -# Someone with amd64 hardware must finish the amd64 support before it -# is enabled -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_GMAKE= yes USE_ZIP= yes @@ -36,4 +34,22 @@ JAVA_OS= native +.if defined(WITHOUT_GNOMEVFS) +MAKE_GNOME= +USE_GNOME= gtk20 pkgconfig +.else +MAKE_GNOME= make_gnome +USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig +PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so +.endif + +.include + +.if (${ARCH} == "amd64") +DISTNAME= swt-${PORTVERSION}-gtk-linux-x86_64 +WITHOUT_CAIRO= yes +.else +DISTNAME= swt-${PORTVERSION}-gtk-linux-x86 +.endif + .if !defined(WITHOUT_MOZILLA) PLIST_FILES+= lib/libswt-mozilla-gtk-%%BUILD%%.so @@ -59,21 +75,4 @@ .endif -.if defined(WITHOUT_GNOMEVFS) -MAKE_GNOME= -USE_GNOME= gtk20 pkgconfig -.else -MAKE_GNOME= make_gnome -USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig -PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so -.endif - -.include - -.if (${ARCH} == "amd64") -DISTNAME= swt-${PORTVERSION}-gtk-linux-x86_64 -.else -DISTNAME= swt-${PORTVERSION}-gtk-linux-x86 -.endif - MAKE_ENV+= BROWSER="${BROWSER}" \ JAVA_HOME="${JAVA_HOME}" \ --Boundary-00=_v0P1DPKiIMVFwCV-- From owner-freebsd-eclipse@FreeBSD.ORG Mon Jan 23 16:06:18 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DA8C16A41F; Mon, 23 Jan 2006 16:06:18 +0000 (GMT) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFB5243D48; Mon, 23 Jan 2006 16:06:17 +0000 (GMT) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (blue [127.0.0.1]) by aldan.algebra.com (8.13.4/8.13.4) with ESMTP id k0NG6F3K018682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2006 11:06:15 -0500 (EST) (envelope-from mi@aldan.algebra.com) Received: (from mi@localhost) by aldan.algebra.com (8.13.4/8.13.4/Submit) id k0NG6FUf018681; Mon, 23 Jan 2006 11:06:15 -0500 (EST) (envelope-from mi) Date: Mon, 23 Jan 2006 11:06:15 -0500 (EST) Message-Id: <200601231606.k0NG6FUf018681@aldan.algebra.com> To: FreeBSD-gnats-submit@freebsd.org From: "Mikhail T." X-send-pr-version: 3.113 X-GNATS-Notify: Cc: klm@ptc.com, freebsd-eclipse@freebsd.org Subject: [PATCH] Fixing Azureus to work on amd64 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 16:06:18 -0000 >Submitter-Id: current-users >Originator: Mikhail T. >Organization: Virtual Estates, Inc. >Confidential: no >Synopsis: [PATCH] Fixing Azureus to work on amd64 >Severity: serious >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 6.0-STABLE amd64 >Environment: System: FreeBSD aldan.algebra.com 6.0-STABLE FreeBSD 6.0-STABLE #5: Sun Nov 20 20:06:48 EST 2005 mi@aldan.algebra.com:/var/src/sys/amd64/compile/GENERIC-aldan amd64 >Description: As soon as the PR 92190 is closed: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/92190 azureus can be made to work on amd64 (and Java-1.5 on other platforms) with the simple patch below. I'm running it right now, as a matter of fact. >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/azureus/Makefile,v retrieving revision 1.29 diff -U2 -r1.29 Makefile --- Makefile 4 Jan 2006 23:24:28 -0000 1.29 +++ Makefile 23 Jan 2006 16:00:34 -0000 @@ -26,10 +26,9 @@ ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 -ONLY_FOR_ARCHS= i386 USE_JAVA= yes JAVA_BUILD= jdk JAVA_RUN= jdk -JAVA_VERSION= 1.4 +JAVA_VERSION= 1.4+ JAVA_OS= native USE_ANT= yes @@ -38,4 +38,5 @@ USE_REINPLACE= yes USE_ZIP= yes +USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java NO_WRKSUBDIR= yes @@ -43,4 +44,5 @@ # build classpath from BUILD_DEPENDS +MAKE_ENV= LANG=C _JAVA_OPTIONS=-Xmx512M CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar} Index: files/patch-TransferTypes =================================================================== RCS file: files/patch-TransferTypes diff -N files/patch-TransferTypes --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-TransferTypes 23 Jan 2006 16:00:34 -0000 @@ -0,0 +1,17 @@ +--- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 ++++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 +@@ -41,5 +41,5 @@ + TransferData[] data = event.dataTypes; + for (int i = 0; i < data.length; i++) { +- int id = data[i].type; ++ long id = data[i].type; + String name = getNameFromId(id); + System.out.println("Data type is " + id + " " + name); +@@ -97,5 +97,5 @@ + return ids; + } +- static String getNameFromId(int id) { ++ static String getNameFromId(long id) { +- switch (id) { ++ switch ((int)id) { + case 1 : From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 24 14:00:17 2006 Return-Path: X-Original-To: freebsd-eclipse@hub.freebsd.org Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB5F916A41F for ; Tue, 24 Jan 2006 14:00:17 +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 26FF143D4C for ; Tue, 24 Jan 2006 14:00:17 +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 k0OE0HM1074085 for ; Tue, 24 Jan 2006 14:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0OE0HVY074084; Tue, 24 Jan 2006 14:00:17 GMT (envelope-from gnats) Date: Tue, 24 Jan 2006 14:00:17 GMT Message-Id: <200601241400.k0OE0HVY074084@freefall.freebsd.org> To: freebsd-eclipse@FreeBSD.org From: Panagiotis Astithas Cc: Subject: Re: ports/92190: [patch] Enable x11-toolkits/swt31 for amd64 systems X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Panagiotis Astithas List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 14:00:17 -0000 The following reply was made to PR ports/92190; it has been noted by GNATS. From: Panagiotis Astithas To: Mikhail Teterin Cc: bug-followup@freebsd.org Subject: Re: ports/92190: [patch] Enable x11-toolkits/swt31 for amd64 systems Date: Tue, 24 Jan 2006 15:53:46 +0200 This is a multi-part message in MIME format. --------------050001000301070006050801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mikhail Teterin wrote: > I tried this patch with the newer 3.1.1 release, and it worked fine. I am now > able to run azureus on my FreeBSD/amd64-6.0. > > Here is the combination patch (no diffs for distinfo, as that needs to be > manually crafted anyway). Thanks! For the benefit of the committer I have attached the combined diff with all of our changes plus the updated distinfo. --------------050001000301070006050801 Content-Type: text/x-patch; name="swt31.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="swt31.patch" diff -ruN /usr/ports/x11-toolkits/swt31/Makefile swt31/Makefile --- /usr/ports/x11-toolkits/swt31/Makefile Wed Jan 4 16:31:28 2006 +++ swt31/Makefile Tue Jan 24 14:57:50 2006 @@ -6,19 +6,17 @@ # PORTNAME= swt -PORTVERSION= 3.1 +PORTVERSION= 3.1.1 CATEGORIES= x11-toolkits devel java MASTER_SITES= ${MASTER_SITE_ECLIPSE} -MASTER_SITE_SUBDIR= R-${PORTVERSION}-200506271435 +MASTER_SITE_SUBDIR= R-${PORTVERSION}-200509290840 MAINTAINER= freebsd-eclipse@freebsd.org COMMENT= Standard Widget Toolkit for Java -SWT_VERSION= 3138 +SWT_VERSION= 3139 NO_WRKSUBDIR= yes -# Someone with amd64 hardware must finish the amd64 support before it -# is enabled -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_GMAKE= yes USE_ZIP= yes MAKEFILE= make_freebsd.mak @@ -35,6 +33,24 @@ JAVA_VERSION= 1.4+ JAVA_OS= native +.if defined(WITHOUT_GNOMEVFS) +MAKE_GNOME= +USE_GNOME= gtk20 pkgconfig +.else +MAKE_GNOME= make_gnome +USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig +PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so +.endif + +.include + +.if (${ARCH} == "amd64") +DISTNAME= swt-${PORTVERSION}-gtk-linux-x86_64 +WITHOUT_CAIRO= yes +.else +DISTNAME= swt-${PORTVERSION}-gtk-linux-x86 +.endif + .if !defined(WITHOUT_MOZILLA) PLIST_FILES+= lib/libswt-mozilla-gtk-%%BUILD%%.so MAKE_MOZILLA= make_mozilla @@ -56,23 +72,6 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo MAKE_CAIRO= make_cairo PLIST_FILES+= lib/libswt-cairo-gtk-%%BUILD%%.so -.endif - -.if defined(WITHOUT_GNOMEVFS) -MAKE_GNOME= -USE_GNOME= gtk20 pkgconfig -.else -MAKE_GNOME= make_gnome -USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig -PLIST_FILES+= lib/libswt-gnome-gtk-%%BUILD%%.so -.endif - -.include - -.if (${ARCH} == "amd64") -DISTNAME= swt-${PORTVERSION}-gtk-linux-x86_64 -.else -DISTNAME= swt-${PORTVERSION}-gtk-linux-x86 .endif MAKE_ENV+= BROWSER="${BROWSER}" \ diff -ruN /usr/ports/x11-toolkits/swt31/distinfo swt31/distinfo --- /usr/ports/x11-toolkits/swt31/distinfo Wed Jan 4 11:39:36 2006 +++ swt31/distinfo Tue Jan 24 15:51:16 2006 @@ -1,6 +1,6 @@ -MD5 (swt-3.1-gtk-linux-x86_64.zip) = 37907f265059d9853911fc9538743280 -SHA256 (swt-3.1-gtk-linux-x86_64.zip) = 5314bd993327ea6e6646a437dde034d574d2e4c66e96ca6a12815fca807458ce -SIZE (swt-3.1-gtk-linux-x86_64.zip) = 2702033 -MD5 (swt-3.1-gtk-linux-x86.zip) = a7d5f5f593e423f9aec7713c548f3817 -SHA256 (swt-3.1-gtk-linux-x86.zip) = 9a12c6e0377836c277e0268b94d66b8f1a6dd46c5a51720353ec209a2956c25f -SIZE (swt-3.1-gtk-linux-x86.zip) = 2643472 +MD5 (swt-3.1.1-gtk-linux-x86_64.zip) = 32569ed25c68a2d71cd191a9c3ef46c2 +SHA256 (swt-3.1.1-gtk-linux-x86_64.zip) = 3821fb83054238da8637a51b47ac8d9d287b88964c0bf1b2ca6b208fbc4971ca +SIZE (swt-3.1.1-gtk-linux-x86_64.zip) = 2714829 +MD5 (swt-3.1.1-gtk-linux-x86.zip) = 23dfe5a4a566439c5f526d9ea3b3db1c +SHA256 (swt-3.1.1-gtk-linux-x86.zip) = ebe6df227bd72e1a028db72205c1ece0995d5f49746e4590ee1f8892fc1eb361 +SIZE (swt-3.1.1-gtk-linux-x86.zip) = 2655822 --------------050001000301070006050801-- From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 24 18:13:19 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D72F16A41F for ; Tue, 24 Jan 2006 18:13:19 +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 7CFAF43D46 for ; Tue, 24 Jan 2006 18:13:16 +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:13:14 +0100 Message-ID: <43D66E38.7040601@galt.de> Date: Tue, 24 Jan 2006 19:13:12 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: eclipse crashes on startup X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 18:13:19 -0000 Hello, 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-eclipse@FreeBSD.ORG Tue Jan 24 21:47:50 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A9A516A41F for ; Tue, 24 Jan 2006 21:47:50 +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 79B7743D8B for ; Tue, 24 Jan 2006 21:47:48 +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 22:47:47 +0100 Message-ID: <43D6A082.1020106@galt.de> Date: Tue, 24 Jan 2006 22:47:46 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Anybody on this list? X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 21:47:50 -0000 Is there anybody at all on this list? Michael Kastner From owner-freebsd-eclipse@FreeBSD.ORG Tue Jan 24 21:49:24 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5821416A420 for ; Tue, 24 Jan 2006 21:49:24 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6F4A43D73 for ; Tue, 24 Jan 2006 21:49:23 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 08884F2212; Tue, 24 Jan 2006 13:49:23 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05846-06; Tue, 24 Jan 2006 13:49:22 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id ADACCF218C; Tue, 24 Jan 2006 13:49:22 -0800 (PST) From: Sean McNeil To: Michael Kastner In-Reply-To: <43D6A082.1020106@galt.de> References: <43D6A082.1020106@galt.de> Content-Type: text/plain Date: Tue, 24 Jan 2006 13:49:22 -0800 Message-Id: <1138139362.70687.3.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-eclipse@freebsd.org Subject: Re: Anybody on this list? X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 21:49:24 -0000 On Tue, 2006-01-24 at 22:47 +0100, Michael Kastner wrote: > Is there anybody at all on this list? Of course there is. From owner-freebsd-eclipse@FreeBSD.ORG Wed Jan 25 03:32:20 2006 Return-Path: X-Original-To: freebsd-eclipse@FreeBSD.org Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 659E716A41F for ; Wed, 25 Jan 2006 03:32:20 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from mail07.powweb.com (mail07.powweb.com [66.152.97.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D3443D46 for ; Wed, 25 Jan 2006 03:32:20 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.vulpes (24-119-122-41.cpe.cableone.net [24.119.122.41]) by mail07.powweb.com (Postfix) with ESMTP id C555314DBA2 for ; Tue, 24 Jan 2006 19:32:19 -0800 (PST) Date: Tue, 24 Jan 2006 21:42:09 -0600 From: Vulpes Velox To: freebsd-eclipse@FreeBSD.org Message-ID: <20060124214209.7be3f0df@vixen42.vulpes> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: problems rebuilding it to fix gtk theme problems X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 03:32:20 -0000 I keep getting the following error message. (Eclipse:43753): Gtk-WARNING **: GModule initialization check failed: Gtk+ version too old (micro mismatch) I've tried rebuilding using -Rf for eclipse, but still no success. Any suggestions on what I would have to rebuild to get this working? From owner-freebsd-eclipse@FreeBSD.ORG Wed Jan 25 06:49:00 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4EE916A41F for ; Wed, 25 Jan 2006 06:49:00 +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 729EC43D45 for ; Wed, 25 Jan 2006 06:48:58 +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:48:57 +0100 Message-ID: <43D71F58.9050504@galt.de> Date: Wed, 25 Jan 2006 07:48:56 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-eclipse@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-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 06:49:00 -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-eclipse@FreeBSD.ORG Wed Jan 25 08:39:20 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E420916A41F for ; Wed, 25 Jan 2006 08:39:20 +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 4842643D53 for ; Wed, 25 Jan 2006 08:39:16 +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 09:39:14 +0100 Message-ID: <43D73930.9060600@galt.de> Date: Wed, 25 Jan 2006 09:39:12 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Reply to Achileus' mail X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 08:39:21 -0000 The original mail was sent to me directly. However, I received an error message, when I tried to reply to Achileus Matzios. So I send my reply to the list an hopefully Achileus receives it. Achilleus Mantzios wrote: > > Maybe the second LD_PRELOAD overwrites the first? > > > > Why do you need LD_PRELOAD after all?? > > (maybe i missed something) Well, yesterday, I posted this: Subject: eclipse crashes on startup Hello, 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-eclipse@FreeBSD.ORG Wed Jan 25 15:52:31 2006 Return-Path: X-Original-To: freebsd-eclipse@hub.freebsd.org Delivered-To: freebsd-eclipse@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D638916A41F; Wed, 25 Jan 2006 15:52:31 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6E843D8D; Wed, 25 Jan 2006 15:52:31 +0000 (GMT) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0PFqVjE018795; Wed, 25 Jan 2006 15:52:31 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0PFqVF0018791; Wed, 25 Jan 2006 15:52:31 GMT (envelope-from edwin) Date: Wed, 25 Jan 2006 15:52:31 GMT From: Edwin Groothuis Message-Id: <200601251552.k0PFqVF0018791@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-eclipse@FreeBSD.org Cc: Subject: Re: ports/92317: Update port: java/eclipse-vep-examples update to 1.1.0.1 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 15:52:32 -0000 Synopsis: Update port: java/eclipse-vep-examples update to 1.1.0.1 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-eclipse Responsible-Changed-By: edwin Responsible-Changed-When: Wed Jan 25 15:52:30 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=92317 From owner-freebsd-eclipse@FreeBSD.ORG Thu Jan 26 06:07:26 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E0D16A420 for ; Thu, 26 Jan 2006 06:07:26 +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 3A6B143D45 for ; Thu, 26 Jan 2006 06:07:24 +0000 (GMT) (envelope-from kastner@galt.de) Received: from [192.168.2.100] (84.168.78.130) by mail.galt.de with MERCUR-SMTP/POP3/IMAP4-Server (v3.20.01 AS-0098309) for ; Thu, 26 Jan 2006 07:07:22 +0100 Message-ID: <43D86719.2000207@galt.de> Date: Thu, 26 Jan 2006 07:07:21 +0100 From: Michael Kastner User-Agent: Thunderbird 1.5 (X11/20060115) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Found a Fix "eclipse crashing on startup" X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 06:07:26 -0000 Some of you might remember my desperate post from January 24th 2006 about eclipse crashing on startup. Well, at last, I found a fix - thanks to Panagiotis whose efforts were fundamental to overcome my ignorance. First I changed the JDK from 1.4.2 to 1.5.0. Then I applied the patch from Mikhail (Thank you for the patch, Mikhail. Saved my life!): http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html Since I am not really experienced with patching, for all those feeling insecure what to do with the patch, I quote Panagiotis' instruction: "... apply Mikhail's patch as follows: - first add the two new lines in the jdk15 port's Makefile as suggested by the first hunk (EXTRACT_AFTER_ARGS plus the space before) - lump the rest of the patch (beneath the ---next part--- line) in a single file (named something like patch-syszlib and drop it in the jdk15/files directory - if you have checked out revision 3 of the port, remove files/patch-j2se::zlib-1.1.3::zconf.h Then build and install the new jdk15." Boy, that really made my day From owner-freebsd-eclipse@FreeBSD.ORG Thu Jan 26 16:40:31 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2D2316A420 for ; Thu, 26 Jan 2006 16:40:31 +0000 (GMT) (envelope-from listen@danielgraupner.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id C23AB43D66 for ; Thu, 26 Jan 2006 16:40:21 +0000 (GMT) (envelope-from listen@danielgraupner.de) Received: from [82.82.79.115] (helo=localhost) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML2ov-1F2AAV01OP-0000ZU; Thu, 26 Jan 2006 17:40:19 +0100 From: Daniel Graupner To: freebsd-eclipse@freebsd.org Date: Thu, 26 Jan 2006 17:40:11 +0000 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_7lQ2DP37aBXKoeI" Message-Id: <200601261740.11699.listen@danielgraupner.de> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:dfad8e3b291c1a47284dc57432edc129 Subject: eclipse does not start since jdk patchset 8 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: de-bsd-questions@de.freebsd.org List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 16:40:32 -0000 --Boundary-00=_7lQ2DP37aBXKoeI Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, since I upgraded to eclipse does not start anymore, output is attached. I already tried to recompile it, no chance. Is there any chance to fix it? Regards, Daniel. --Boundary-00=_7lQ2DP37aBXKoeI Content-Type: text/plain; charset="us-ascii"; name="output" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="output" An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x28708FD7 Function=inflate_fast+0x7B 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 0x2807d000 /usr/lib/libpthread.so.2 0x280a3000 /lib/libc.so.6 0x28191000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so 0x285c0000 /usr/lib/libstdc++.so.5 0x2869d000 /lib/libm.so.4 0x286b7000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so 0x286c5000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so 0x286db000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so 0x286f9000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so 0x40722000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so 0x40735000 /usr/local/jdk1.4.2/jre/lib/i386/libnio.so 0x40e22000 /usr/local/eclipse/configuration/org.eclipse.osgi/bundles/35/1/.cp/libswt-pi-gtk-3139.so 0x40e65000 /usr/X11R6/lib/libgtk-x11-2.0.so.600 0x41172000 /usr/local/lib/libgthread-2.0.so.600 0x41176000 /usr/X11R6/lib/libXtst.so.6 0x4117c000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0 0x41193000 /usr/X11R6/lib/libgdk-x11-2.0.so.0 0x41218000 /usr/X11R6/lib/libXrandr.so.2 0x4121c000 /usr/X11R6/lib/libXrender.so.1 0x41225000 /usr/X11R6/lib/libXi.so.6 0x4122d000 /usr/X11R6/lib/libXinerama.so.1 0x41230000 /usr/X11R6/lib/libXext.so.6 0x4123f000 /usr/X11R6/lib/libX11.so.6 0x4130f000 /usr/X11R6/lib/libpangocairo-1.0.so.0 0x41316000 /usr/X11R6/lib/libpangoft2-1.0.so.0 0x4133e000 /usr/X11R6/lib/libfontconfig.so.1 0x4136e000 /usr/local/lib/libfreetype.so.9 0x413dc000 /lib/libz.so.3 0x413ed000 /usr/X11R6/lib/libpango-1.0.so.0 0x41427000 /usr/local/lib/libatk-1.0.so.0 0x41441000 /usr/local/lib/libgobject-2.0.so.0 0x4147d000 /usr/local/lib/libgmodule-2.0.so.0 0x41481000 /usr/local/lib/libglib-2.0.so.0 0x4150a000 /usr/local/lib/libiconv.so.3 0x415f7000 /usr/local/lib/libcairo.so.2 0x4164a000 /usr/local/lib/libintl.so.6 0x41653000 /usr/X11R6/lib/libXcursor.so.1 0x4165d000 /usr/X11R6/lib/libXfixes.so.3 0x41662000 /usr/local/lib/libexpat.so.5 0x41680000 /usr/local/lib/libpng.so.5 0x416a3000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x416cd000 /usr/local/eclipse/configuration/org.eclipse.osgi/bundles/35/1/.cp/libswt-gtk-3139.so 0x2804e000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 2880K, used 1129K [0x2c490000, 0x2c7a0000, 0x2d840000) eden space 2624K, 33% used [0x2c490000, 0x2c56a798, 0x2c720000) from space 256K, 100% used [0x2c760000, 0x2c7a0000, 0x2c7a0000) to space 256K, 0% used [0x2c720000, 0x2c720000, 0x2c760000) tenured generation total 37824K, used 1456K [0x2d840000, 0x2fd30000, 0x3c490000) the space 37824K, 3% used [0x2d840000, 0x2d9ac160, 0x2d9ac200, 0x2fd30000) compacting perm gen total 6144K, used 6043K [0x3c490000, 0x3ca90000, 0x40490000) the space 6144K, 98% used [0x3c490000, 0x3ca76f08, 0x3ca77000, 0x3ca90000) Local Time = Thu Jan 26 17:37:40 2006 Elapsed Time = 4 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-root_21_jan_2006_15_22 mixed mode) # # An error report file has been saved as hs_err_pid20891.log. # Please refer to the file for further information. # --Boundary-00=_7lQ2DP37aBXKoeI-- From owner-freebsd-eclipse@FreeBSD.ORG Fri Jan 27 04:52:58 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45FD616A420 for ; Fri, 27 Jan 2006 04:52:58 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay3.av-mx.com (relay3.av-mx.com [137.118.16.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id C192343D4C for ; Fri, 27 Jan 2006 04:52:57 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 1 Received: from [137.118.16.60] (HELO mx2.av-mx.com) by relay3.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 158365378 for freebsd-eclipse@freebsd.org; Thu, 26 Jan 2006 23:52:56 -0500 Received: (qmail 11363 invoked from network); 27 Jan 2006 04:52:56 -0000 Received: from dsl28197.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.197) by 0 with SMTP; 27 Jan 2006 04:52:56 -0000 X-CLIENT-IP: 216.227.115.197 X-CLIENT-HOST: dsl28197.ywave.com Message-ID: <43D9A726.9090902@ywave.com> Date: Thu, 26 Jan 2006 20:52:54 -0800 From: Micah User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: freebsd-eclipse@freebsd.org References: <43B181F4.6060400@ywave.com> In-Reply-To: <43B181F4.6060400@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Help with diagnosing eclipse freezes X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 04:52:58 -0000 Micah wrote: > Hey List, > > I asked a similar question back in November. See > http://lists.freebsd.org/mailman/htdig/freebsd-eclipse/2005-November/000210.html > > > A quick rehash: Starting eclipse via the command line "eclipse" takes > ~3.5 minutes to start. Creating a new java project and a new class and > then moving the cursor resulted in a 1 minute freeze. After it unfroze > typing "System." caused the IDE to freeze for another minute. The times > seem to be fairly consistent. > > This is on an Athlon 64 3000+ system with 1.5GB ram running > FreeBSD-release 6.0 i386 with the generic kernel. I'm currently trying > to run eclipse-3.1.1_2, but it happened on 3.1.1 and 3.1_3 as well. A > top indicates that "java" is taking up all available processor time. No > disk activity is indicated in systat or by the drive LED on the case. > Poseidon, the other largish java application I use frequently, does not > exhibit these freezes. > > Since November I've upgraded to FreeBSD 6.0 release, tried compiling > eclipse with JDK15, tried compiling with JDK14, and tried the packaged > version from > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/eclipse-3.1.1_2.tbz. > > > JDK15 fails to start crashing with a java hotspot zlib error. > JDK14 and packaged both exhibit the same freezes. > > I'm not sure how to begin diagnosing this. Help with the debugger, > eclipse debugging flags, or tools to watch the system during the freezes > would be most appreciated. > > Thanks, > Micah I just tried building Eclipse with java 1.5 and the patch Michael Kastner mentioned earlier this week. /same/ problem. Since only Eclipse does this and it's been there across multiple versions of FreeBSD and JVMs, then it's either Eclipse or a really strange hardware problem that only affects Eclipse and not the hundreds of other ports I have installed. Could someone point me somewhere that has some reading on profiling or attaching a debugger to trap these freezes? Thanks, Micah From owner-freebsd-eclipse@FreeBSD.ORG Fri Jan 27 10:04:43 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1A7116A420 for ; Fri, 27 Jan 2006 10:04:43 +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 03D1043D53 for ; Fri, 27 Jan 2006 10:04:41 +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 k0RA4dl9004893; Fri, 27 Jan 2006 12:04:39 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0RA5RJt070484; Fri, 27 Jan 2006 12:05:32 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43D9F032.7000908@ebs.gr> Date: Fri, 27 Jan 2006 12:04:34 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Micah References: <43B181F4.6060400@ywave.com> <43D9A726.9090902@ywave.com> In-Reply-To: <43D9A726.9090902@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org Subject: Re: Help with diagnosing eclipse freezes X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 10:04:44 -0000 Micah wrote: > Micah wrote: >> Hey List, >> >> I asked a similar question back in November. See >> http://lists.freebsd.org/mailman/htdig/freebsd-eclipse/2005-November/000210.html >> >> >> A quick rehash: Starting eclipse via the command line "eclipse" takes >> ~3.5 minutes to start. Creating a new java project and a new class >> and then moving the cursor resulted in a 1 minute freeze. After it >> unfroze typing "System." caused the IDE to freeze for another minute. >> The times seem to be fairly consistent. >> >> This is on an Athlon 64 3000+ system with 1.5GB ram running >> FreeBSD-release 6.0 i386 with the generic kernel. I'm currently >> trying to run eclipse-3.1.1_2, but it happened on 3.1.1 and 3.1_3 as >> well. A top indicates that "java" is taking up all available >> processor time. No disk activity is indicated in systat or by the >> drive LED on the case. Poseidon, the other largish java application I >> use frequently, does not exhibit these freezes. >> >> Since November I've upgraded to FreeBSD 6.0 release, tried compiling >> eclipse with JDK15, tried compiling with JDK14, and tried the packaged >> version from >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/eclipse-3.1.1_2.tbz. >> >> >> JDK15 fails to start crashing with a java hotspot zlib error. >> JDK14 and packaged both exhibit the same freezes. >> >> I'm not sure how to begin diagnosing this. Help with the debugger, >> eclipse debugging flags, or tools to watch the system during the >> freezes would be most appreciated. >> >> Thanks, >> Micah > > I just tried building Eclipse with java 1.5 and the patch Michael > Kastner mentioned earlier this week. /same/ problem. Since only > Eclipse does this and it's been there across multiple versions of > FreeBSD and JVMs, then it's either Eclipse or a really strange hardware > problem that only affects Eclipse and not the hundreds of other ports I > have installed. Could someone point me somewhere that has some reading > on profiling or attaching a debugger to trap these freezes? Try attaching to the eclipse process with a debugger when it freezes: % pgrep -lf java 7186 /usr/local/jdk1.5.0/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2001b -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar % gdb /usr/local/jdk1.5.0/bin/java 7186 And from there on snoop around and see if you can find anything useful. You could do the same thing with ktrace(1): % ktrace -p 7186 then use kdump(1) to view the processes activity. In order to monitor the initial 3.5 min. delay, you coul start eclipse from either ktrace or gdb and see if something weird goes on before forking the java process. If you haven't tried yet with other thread implementations, do so. Use libmap.conf(5) to specify either libc_r or libthr and see if it makes any difference. Also make sure you are not having any DNS or network-related problems (any non-default sysctl settings?). And for the truly paranoid, make sure powerd is not changing the clock frequency for some reason and if you are using ataidle or some such it is not spinning down the disks at that time. Not that I think it is likely to happen, but since we are grasping for straws... Cheers, Panagiotis From owner-freebsd-eclipse@FreeBSD.ORG Fri Jan 27 20:02:48 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4514016A420 for ; Fri, 27 Jan 2006 20:02:48 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay3.av-mx.com (relay3.av-mx.com [137.118.16.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id B483443D49 for ; Fri, 27 Jan 2006 20:02:47 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.60] (HELO mx2.av-mx.com) by relay3.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 159165530 for freebsd-eclipse@freebsd.org; Fri, 27 Jan 2006 15:02:46 -0500 Received: (qmail 8500 invoked from network); 27 Jan 2006 20:02:46 -0000 Received: from dsl28197.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.197) by 0 with SMTP; 27 Jan 2006 20:02:46 -0000 X-CLIENT-IP: 216.227.115.197 X-CLIENT-HOST: dsl28197.ywave.com Message-ID: <43DA7C64.4030008@ywave.com> Date: Fri, 27 Jan 2006 12:02:44 -0800 From: Micah User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Panagiotis Astithas References: <43B181F4.6060400@ywave.com> <43D9A726.9090902@ywave.com> <43D9F032.7000908@ebs.gr> In-Reply-To: <43D9F032.7000908@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org Subject: Re: Help with diagnosing eclipse freezes X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 20:02:48 -0000 Panagiotis Astithas wrote: > Micah wrote: >> I just tried building Eclipse with java 1.5 and the patch Michael >> Kastner mentioned earlier this week. /same/ problem. Since only >> Eclipse does this and it's been there across multiple versions of >> FreeBSD and JVMs, then it's either Eclipse or a really strange >> hardware problem that only affects Eclipse and not the hundreds of >> other ports I have installed. Could someone point me somewhere that >> has some reading on profiling or attaching a debugger to trap these >> freezes? > > Try attaching to the eclipse process with a debugger when it freezes: > > % pgrep -lf java > 7186 /usr/local/jdk1.5.0/bin/java -Xms40m -Xmx256m -jar > /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher > /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2001b > -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar > /usr/local/eclipse/startup.jar > % gdb /usr/local/jdk1.5.0/bin/java 7186 > > > And from there on snoop around and see if you can find anything useful. > You could do the same thing with ktrace(1): > > % ktrace -p 7186 > > then use kdump(1) to view the processes activity. > In order to monitor the initial 3.5 min. delay, you coul start eclipse > from either ktrace or gdb and see if something weird goes on before > forking the java process. > > If you haven't tried yet with other thread implementations, do so. Use > libmap.conf(5) to specify either libc_r or libthr and see if it makes > any difference. Also make sure you are not having any DNS or > network-related problems (any non-default sysctl settings?). And for the > truly paranoid, make sure powerd is not changing the clock frequency for > some reason and if you are using ataidle or some such it is not spinning > down the disks at that time. Not that I think it is likely to happen, > but since we are grasping for straws... > > Cheers, > > Panagiotis > Thank you! Especially for the quick pointers on tools to use. I did a ktrace on eclipse and there were numerous lines similar to this surrounded by file system related calls: 54039 eclipse NAMI "/usr/home/bsdmjl/.themes/RPanther3/gtk-2.0/button_round_blue.png" I tried disabling my GTK theme and suddenly Eclipse worked. It boots up in seconds and doesn't freeze when typing. I guess I have to find a new gtk theme that matches KDE's Baghira. (Or just ignore the eye candy :) I wonder if there's a bug in how Eclipse/Java handles GTK themes, or if there's a problem with the RPanther theme itself? At least now I can work around the problem. Thanks again! Micah From owner-freebsd-eclipse@FreeBSD.ORG Sat Jan 28 19:39:15 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E57C16A424 for ; Sat, 28 Jan 2006 19:39:15 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D1C43D49 for ; Sat, 28 Jan 2006 19:39:14 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 2897AF2609; Sat, 28 Jan 2006 11:39:14 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48888-06; Sat, 28 Jan 2006 11:39:13 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 97B34F18F5; Sat, 28 Jan 2006 11:39:12 -0800 (PST) From: Sean McNeil To: Micah In-Reply-To: <43DA7C64.4030008@ywave.com> References: <43B181F4.6060400@ywave.com> <43D9A726.9090902@ywave.com> <43D9F032.7000908@ebs.gr> <43DA7C64.4030008@ywave.com> Content-Type: text/plain Date: Sat, 28 Jan 2006 11:39:12 -0800 Message-Id: <1138477152.86610.4.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: freebsd-eclipse@freebsd.org Subject: Re: Help with diagnosing eclipse freezes X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 19:39:15 -0000 On Fri, 2006-01-27 at 12:02 -0800, Micah wrote: > Panagiotis Astithas wrote: > > Micah wrote: > >> I just tried building Eclipse with java 1.5 and the patch Michael > >> Kastner mentioned earlier this week. /same/ problem. Since only > >> Eclipse does this and it's been there across multiple versions of > >> FreeBSD and JVMs, then it's either Eclipse or a really strange > >> hardware problem that only affects Eclipse and not the hundreds of > >> other ports I have installed. Could someone point me somewhere that > >> has some reading on profiling or attaching a debugger to trap these > >> freezes? > > > > Try attaching to the eclipse process with a debugger when it freezes: > > > > % pgrep -lf java > > 7186 /usr/local/jdk1.5.0/bin/java -Xms40m -Xmx256m -jar > > /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher > > /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2001b > > -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar > > /usr/local/eclipse/startup.jar > > % gdb /usr/local/jdk1.5.0/bin/java 7186 > > > > > > And from there on snoop around and see if you can find anything useful. > > You could do the same thing with ktrace(1): > > > > % ktrace -p 7186 > > > > then use kdump(1) to view the processes activity. > > In order to monitor the initial 3.5 min. delay, you coul start eclipse > > from either ktrace or gdb and see if something weird goes on before > > forking the java process. > > > > If you haven't tried yet with other thread implementations, do so. Use > > libmap.conf(5) to specify either libc_r or libthr and see if it makes > > any difference. Also make sure you are not having any DNS or > > network-related problems (any non-default sysctl settings?). And for the > > truly paranoid, make sure powerd is not changing the clock frequency for > > some reason and if you are using ataidle or some such it is not spinning > > down the disks at that time. Not that I think it is likely to happen, > > but since we are grasping for straws... > > > > Cheers, > > > > Panagiotis > > > > Thank you! Especially for the quick pointers on tools to use. I did a > ktrace on eclipse and there were numerous lines similar to this > surrounded by file system related calls: > 54039 eclipse NAMI > "/usr/home/bsdmjl/.themes/RPanther3/gtk-2.0/button_round_blue.png" > > I tried disabling my GTK theme and suddenly Eclipse worked. It boots up > in seconds and doesn't freeze when typing. I guess I have to find a new > gtk theme that matches KDE's Baghira. (Or just ignore the eye candy :) > > I wonder if there's a bug in how Eclipse/Java handles GTK themes, or if > there's a problem with the RPanther theme itself? At least now I can > work around the problem. The bug is related to libzip and has been discussed many times on this and the java mailing list. I'm guessing you are using jdk 1.4 as this has been fixed for jdk 1.5. Cheers, Sean From owner-freebsd-eclipse@FreeBSD.ORG Sat Jan 28 22:31:28 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F55416A420 for ; Sat, 28 Jan 2006 22:31:28 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay0.av-mx.com (relay0.av-mx.com [137.118.16.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC62A43D48 for ; Sat, 28 Jan 2006 22:31:27 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.62] (HELO mx1.av-mx.com) by relay0.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 151218769 for freebsd-eclipse@freebsd.org; Sat, 28 Jan 2006 17:31:24 -0500 Received: (qmail 16189 invoked from network); 28 Jan 2006 22:31:24 -0000 Received: from dsl28197.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.197) by 0 with SMTP; 28 Jan 2006 22:31:24 -0000 X-CLIENT-IP: 216.227.115.197 X-CLIENT-HOST: dsl28197.ywave.com Message-ID: <43DBF0BA.4090303@ywave.com> Date: Sat, 28 Jan 2006 14:31:22 -0800 From: Micah User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Sean McNeil References: <43B181F4.6060400@ywave.com> <43D9A726.9090902@ywave.com> <43D9F032.7000908@ebs.gr> <43DA7C64.4030008@ywave.com> <1138477152.86610.4.camel@triton.mcneil.com> In-Reply-To: <1138477152.86610.4.camel@triton.mcneil.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org Subject: Re: Help with diagnosing eclipse freezes X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 22:31:28 -0000 Sean McNeil wrote: > On Fri, 2006-01-27 at 12:02 -0800, Micah wrote: >> Panagiotis Astithas wrote: >>> Micah wrote: >>>> I just tried building Eclipse with java 1.5 and the patch Michael >>>> Kastner mentioned earlier this week. /same/ problem. Since only >>>> Eclipse does this and it's been there across multiple versions of >>>> FreeBSD and JVMs, then it's either Eclipse or a really strange >>>> hardware problem that only affects Eclipse and not the hundreds of >>>> other ports I have installed. Could someone point me somewhere that >>>> has some reading on profiling or attaching a debugger to trap these >>>> freezes? >>> Try attaching to the eclipse process with a debugger when it freezes: >>> >>> % pgrep -lf java >>> 7186 /usr/local/jdk1.5.0/bin/java -Xms40m -Xmx256m -jar >>> /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher >>> /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2001b >>> -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar >>> /usr/local/eclipse/startup.jar >>> % gdb /usr/local/jdk1.5.0/bin/java 7186 >>> >>> >>> And from there on snoop around and see if you can find anything useful. >>> You could do the same thing with ktrace(1): >>> >>> % ktrace -p 7186 >>> >>> then use kdump(1) to view the processes activity. >>> In order to monitor the initial 3.5 min. delay, you coul start eclipse >>> from either ktrace or gdb and see if something weird goes on before >>> forking the java process. >>> >>> If you haven't tried yet with other thread implementations, do so. Use >>> libmap.conf(5) to specify either libc_r or libthr and see if it makes >>> any difference. Also make sure you are not having any DNS or >>> network-related problems (any non-default sysctl settings?). And for the >>> truly paranoid, make sure powerd is not changing the clock frequency for >>> some reason and if you are using ataidle or some such it is not spinning >>> down the disks at that time. Not that I think it is likely to happen, >>> but since we are grasping for straws... >>> >>> Cheers, >>> >>> Panagiotis >>> >> Thank you! Especially for the quick pointers on tools to use. I did a >> ktrace on eclipse and there were numerous lines similar to this >> surrounded by file system related calls: >> 54039 eclipse NAMI >> "/usr/home/bsdmjl/.themes/RPanther3/gtk-2.0/button_round_blue.png" >> >> I tried disabling my GTK theme and suddenly Eclipse worked. It boots up >> in seconds and doesn't freeze when typing. I guess I have to find a new >> gtk theme that matches KDE's Baghira. (Or just ignore the eye candy :) >> >> I wonder if there's a bug in how Eclipse/Java handles GTK themes, or if >> there's a problem with the RPanther theme itself? At least now I can >> work around the problem. > > The bug is related to libzip and has been discussed many times on this > and the java mailing list. I'm guessing you are using jdk 1.4 as this > has been fixed for jdk 1.5. > > Cheers, > Sean Nope, as I mentioned before I'm using jdk 1.5. With the stock jdk-1.5.0p2_3 from ports, Eclipse crashes before the splash screen ever shows. Applying the patch from http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html allows Eclipse to start but preserves the long freezes that occur with jdk1.4.2 with this particular gtk theme. Changing the theme fixes the problem. If it is the libzip bug, it's not completely fixed. Later, Micah