From owner-freebsd-eclipse@FreeBSD.ORG Mon May 9 17:01:01 2011 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FDA0106564A for ; Mon, 9 May 2011 17:01:01 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E58FB8FC0A for ; Mon, 9 May 2011 17:01:00 +0000 (UTC) Received: by wwc33 with SMTP id 33so5581079wwc.31 for ; Mon, 09 May 2011 10:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XHxE1QM55oJwrdRMe6zESTTEL1/r1l6WJuTapndfnuY=; b=iGNtp2AA9BdxfFP4zDLrCMsFXxRy/NoaJPJGOhi2oiTgVeEFLzdS5kKYa1HoWj86nm +tk7G1JTFk+DDE7MMje2QE/2l3Zg74kVLjKl3tL70IOVvnFsFk9R84oJMF26Y8cDK3SP 5tEj6LeU6sTQhQrGnpCsgjP6NVMJrUgHg4jeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=b5nkyorl2kwtkNV+dXzMPllav+oFsBuA4JA6p/MW+KPyhDYthwdiCDpYOZwlndut7P gbPYpq4JN/mpRdnxmr3uNaHNVStds841aazZvJdKzvgBYLy6z8CIZCeO5FWTj7HaBIKK 9GiTEdyp+MqflC/fAS2jrepatW+0Lq+pNHC9o= MIME-Version: 1.0 Received: by 10.216.237.102 with SMTP id x80mr3051697weq.111.1304960459445; Mon, 09 May 2011 10:00:59 -0700 (PDT) Received: by 10.216.36.144 with HTTP; Mon, 9 May 2011 10:00:59 -0700 (PDT) In-Reply-To: <201105091735.36939.c47g@gmx.at> References: <201105091735.36939.c47g@gmx.at> Date: Mon, 9 May 2011 12:00:59 -0500 Message-ID: From: Brandon Gooch To: Christian Gusenbauer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-eclipse@freebsd.org Subject: Re: eclipse crashes on current/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, 09 May 2011 17:01:01 -0000 On Mon, May 9, 2011 at 10:35 AM, Christian Gusenbauer wrote: > Hi! > > I'm quite new to the Java world, but I'd like to learn Java, so I thought= , I > give eclipse a chance and compiled/installed it. After starting eclipse I > clicked on the "javadoc" tab in the bottom half of the eclipse window and > after a few seconds eclipse crashed :-(. I'm a newb myself, and just began working with eclipse (and Java). I'm experiencing similar crashes. I haven't done any debugging of the issue, but I found a work-around: $ eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=3D/dev/null or setting it in eclipse.ini (somewhere after the -vmargs line): cat /usr/local/lib/eclipse/eclipse.ini [SNIP] -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=3D/dev/null [SNIP] ...works for me. What it does EXACTLY is unknown to me at this point, although I assume it's disabling whatever functionality it would otherwise obtain from libxul (perhaps using some other method of detecting the components required, or using something internally). > The core dump contains hundreds of > > #178 0x0000000847550595 in NS_GetComponentManager_P () > =A0 from /usr/local/lib/libxul/libxul.so > #179 0x0000000847550595 in NS_GetComponentManager_P () > =A0 from /usr/local/lib/libxul/libxul.so > #180 0x0000000847550595 in NS_GetComponentManager_P () > =A0 from /usr/local/lib/libxul/libxul.so > #181 0x0000000847550595 in NS_GetComponentManager_P () > =A0 from /usr/local/lib/libxul/libxul.so > > entries and the top of the call stack looks like this: > > #1631 0x00007fffffbfd568 in ?? () > #1632 0x000000080000000c in ?? () > #1633 0x0000000806292080 in ?? () > #1634 0x0000000802f3b5a0 in ?? () > #1635 0x00007fffffbfd4e8 in ?? () > #1636 0x00007fffffbfd3d0 in ?? () > #1637 0x000000080184dbc2 in JavaCalls::call_helper () > =A0 from /data/local/openjdk6/jre/lib/amd64/server/libjvm.so > Previous frame inner to this frame (corrupt stack?) > > So what's up with eclipse/libxul? > > Thanks, > Christian. I'm actually seeing the JVM crash (java.core is generated), so perhaps the subtleties of our issues differ a bit, but let me know if the above suggestion works. Thanks! -Brandon