From owner-freebsd-java@FreeBSD.ORG Fri Dec 2 18:57:02 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 1706616A41F for ; Fri, 2 Dec 2005 18:57:02 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C7D43D5E for ; Fri, 2 Dec 2005 18:57:00 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so391870nzo for ; Fri, 02 Dec 2005 10:57:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WurzB+NhQmv+VBCdnkPSWHQlVrkH2RsdjoRnKKfvLn2uTQPwD5Rh5VEiGSbIQVCBWPXoZ8Jp/boKgCHOPuci9EcQ6Ldr29ShBEYNFX30b59Ozq5w8qhHIrCMmrin2H4JP55KOy9Y0aV83xm8yKnDgMD49KX98AuMXDHpEiaeQOU= Received: by 10.36.224.48 with SMTP id w48mr2777680nzg; Fri, 02 Dec 2005 10:57:00 -0800 (PST) Received: by 10.36.56.12 with HTTP; Fri, 2 Dec 2005 10:57:00 -0800 (PST) Message-ID: Date: Fri, 2 Dec 2005 15:57:00 -0300 From: Franco Bruno Borghesi To: Sean McNeil In-Reply-To: <1133547157.85322.3.camel@triton.mcneil.com> MIME-Version: 1.0 References: <1133464929.58726.3.camel@triton.mcneil.com> <439026D8.7080302@ebs.gr> <1133547157.85322.3.camel@triton.mcneil.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:57:02 -0000 2005/12/2, Sean McNeil : > > 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=3Dyes). > > >>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. > > > Yes, you are right, three of the last four hs_err_pid files contained the lines ... # Problematic frame: # C [libzip.so+0x7baa] inflateEnd+0x3a ... I've applied the other patch and I'm rebuilding jdk15 right now. Hope it works. Thanks for your help Sean.