From owner-freebsd-java@FreeBSD.ORG Fri Dec 2 18:12:40 2005 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 DBED016A41F for ; Fri, 2 Dec 2005 18:12:39 +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 DA11543D5A for ; Fri, 2 Dec 2005 18:12:38 +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 69C97F25B3; Fri, 2 Dec 2005 10:12:38 -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 85112-04; Fri, 2 Dec 2005 10:12:37 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 718FAF1AD7; Fri, 2 Dec 2005 10:12:37 -0800 (PST) From: Sean McNeil To: Franco Bruno Borghesi In-Reply-To: References: <1133464929.58726.3.camel@triton.mcneil.com> <439026D8.7080302@ebs.gr> Content-Type: text/plain Date: Fri, 02 Dec 2005 10:12:37 -0800 Message-Id: <1133547157.85322.3.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Cc: Panagiotis Astithas , FreeBSD-Java Subject: Re: Eclipse dies on 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: Fri, 02 Dec 2005 18:12:40 -0000 On Fri, 2005-12-02 at 14:16 -0300, Franco Bruno Borghesi wrote: > > > 2005/12/2, Panagiotis Astithas : > Sean McNeil wrote: > > On Thu, 2005-12-01 at 16:12 -0300, Franco Bruno Borghesi > wrote: > > > >>Hi everyone. > >> > >>I'm having problems with eclipse on my new amd64 > installation. Eclipse hangs > >>for a couple of minutes and then I get a window telling me > that java > >>crashed. > >> > >>This is a random problem, and I haven't found a way to > reproduce it. It just > >>happens. > >>I've tryied rebuilding eclipse, but it didn't help (used > WITHOUT_CAIRO=yes). > >>I've attached the log files generated in my home directory. > Maybe someone > >>could give me a hint. > >> > >>Console reports: > >>pid 33465 (java), uid 1000: exited on signal 6 (core dumped) > >>pid 8299 (java), uid 1000: exited on signal 6 (core dumped) > >> > >>System Detail: > >>*FreeBSD taz.oficina 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue > Nov 29 17:10:44 > >>ART 2005 root@taz.oficina:/usr/obj/usr/src/sys/TAZ amd64 > >> > >>*java version "1.5.0-p2" > >>Java(TM) 2 Runtime Environment, Standard Edition (build > >>1.5.0-p2-root_29_nov_2005_17_58) > >>Java HotSpot(TM) 64-Bit Server VM (build > 1.5.0-p2-root_29_nov_2005_16_21, > >>mixed mode) > > > > > > I used to have this same kind of thing happen to me until I > fixed java. > > Please look at the java@ mailing list. There are two > proposed solutions > > in there regarding libz namespace conflicts that have been > floating > > around for quite a while, yet neither of these solutions > have been > > implemented in the port. It is pretty crucial for eclipse > as it uses > > gtk extensively which relies on libz. Take a look at: > > > > > http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004570.html > > > > Cheers, > > Sean > > FWIW, I've been running (on i386) with Mikhail's patches for > the last > couple of months in my day job and I have encountered zero > problems. > > Cheers, > Panagiotis > > > I've been using unpatched jdk15 for a couple of months too on i386 > (athlon XP) and it worked without problems. This week I changed my > computer to an Atlon64 and started a fresh installation, and that's > when problems started. > > Yesterday I applied this patch > (http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004487.html) because the other proposed patch failed. Recompiled jdk15 and reinstaled. > > Eclipse just hanged, so I will try to apply the other patch > (http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004476.html) and recompile jdk15 again. > > I attached today's hs_err-pid file. Do you still think this is a > libzip.so problem? This is the most likely candidate, but there are also might be incompatibilities between the i386 and amd64 versions of a workspace. Make sure you rm -rf .eclipse and use a fresh workspace. Another thing people have been asking is to try using the default gnome theme.