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