Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2009 19:24:06 GMT
From:      Arle <root@cooltrainer.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/138581: java/eclipse 3.4.2 crashes with SIGSEGV when compiling DataTreeNode.forwardDeltaWith on diablo-jdk16
Message-ID:  <200909061924.n86JO69D041445@www.freebsd.org>
Resent-Message-ID: <200909061930.n86JU1pZ019815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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     jnr@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 freebsd-java@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909061924.n86JO69D041445>