From owner-freebsd-java@FreeBSD.ORG Thu Aug 19 20:24:23 2004 Return-Path: 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 2285E16A4CE for ; Thu, 19 Aug 2004 20:24:23 +0000 (GMT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id E63EF43D48 for ; Thu, 19 Aug 2004 20:24:21 +0000 (GMT) (envelope-from past@netmode.ntua.gr) Received: from netmode.ece.ntua.gr (dolly.netmode.ece.ntua.gr [147.102.13.10]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i7JKOE0A087114; Thu, 19 Aug 2004 23:24:14 +0300 (EEST) (envelope-from past@netmode.ntua.gr) Received: from [147.102.229.10] (ppp-229-010.dialup.ntua.gr [147.102.229.10]) by netmode.ece.ntua.gr (8.12.10/8.12.8) with ESMTP id i7JKODjI007671; Thu, 19 Aug 2004 23:24:14 +0300 (EEST) (envelope-from past@netmode.ntua.gr) Message-ID: <41250C5D.4020900@netmode.ntua.gr> Date: Thu, 19 Aug 2004 23:23:57 +0300 From: Panagiotis Astithas User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derek Young References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: java@freebsd.org Subject: Re: java/eclipse dies starting up X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 20:24:23 -0000 Derek Young wrote: > I've had the same problem, and complained earlier. > It started with gcc 3.4, after I recompiled every > port and binary on my system. > > If you want more fun try doing it WITH_MOTIF on > the eclipse build, and you will get malloc error > messages complaining about junk porters :) I've seen both error reports, but I just found the time to try to reproduce them. I have -current from August 11th (post gcc 3.4), gtk-2.4.4_1 and just rebuilt eclipse. The gtk version of eclipse works like a charm for me. No sig 10's whatsoever. I haven't upgraded gtk to 2.4.7 (and other stuff) yet, but I' ll try it soonish. The motif version works too, although I do get the malloc warnings. Using the 'A' malloc flag shows that they come from the java binary (not rebuilt with gcc 3.4 in my case). The trace I get is kind of crappy, so I'll try rebuilding jdk14 with the new compiler. In any case the problems are never in eclipse code, but either in gtk or java (or some system bug - gcc, ld, threads, etc.). Some suggestions off the top of my head: - check for bad memory (sig 10) - try using binary packages for gtk, eclipse, etc. - try using an older binary package of jdk14, if you have one around - eliminate any strange make.conf settings, such as compiler optimizations and rebuild Cheers, Panagiotis