atom feed1 message in org.freebsd.freebsd-javajava/138581: java/eclipse 3.4.2 crash...
FromSent OnAttachments
ArleSep 6, 2009 12:23 pm 
Subject:java/138581: java/eclipse 3.4.2 crashes with SIGSEGV when compiling DataTreeNode.forwardDeltaWith on diablo-jdk16
From:Arle (ro@cooltrainer.org)
Date:Sep 6, 2009 12:23:43 pm
List:org.freebsd.freebsd-java

Number: 138581 Category: java Synopsis: java/eclipse 3.4.2 crashes with SIGSEGV when compiling
DataTreeNode.forwardDeltaWith on diablo-jdk16 Confidential: no Severity: non-critical Priority: low Responsible: freebsd-java State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Sun Sep 06 19:30:01 UTC 2009 Closed-Date: Last-Modified: Originator: Arle Release: 7.2-STABLE Organization: Environment: FreeBSD Emi.cooltrainer.org 7.2-STABLE FreeBSD 7.2-STABLE #15: Fri Sep 4
02:40:56 EDT 2009 jn@Emi.cooltrainer.org:/usr/obj/usr/src/sys/Emi i386 Description:

Eclipse 3.4.2 crashes with the following terminal output on diablo-jdk16:

# # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x340c303d, pid=37571, tid=0x34b406a0 # # Java VM: Diablo Java HotSpot(TM) Server VM (10.0-b23 mixed mode bsd-x86) # Problematic frame: # V [libjvm.so+0x1c303d] # # An error report file with more information is saved as: # /usr/home/jnr/hs_err_pid37571.log # # Please submit bug reports to free@FreeBSD.org # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # [thread 870323600 also had an error]

It produces a much longer error report (I can attach if necessary) that points
out the actual problem:

Current CompileTask: C2:819
org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/interna

How-To-Repeat: This is anecdotal, but the problem did not manifest on a stock Eclipse
installation. Adding an external JAR to the classpath, SWT in my case, triggered
the crash repeatedly. Fix:

In /usr/local/eclipse/eclipse.ini

Add the following after -vmargs:

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

Release-Note: Audit-Trail: Unformatted: