Bug 214092 - regular JVM crash in org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith
Summary: regular JVM crash in org.eclipse.core.internal.dtree.DataTreeNode.forwardDelt...
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
: 218311 218734 218812 222757 223448 224314 227067 228401 229882 231508 235759 235833 238435 238522 238557 238642 238873 239039 241746 242680 242965 242973 243073 243267 244360 245784 246301 247119 247681 248836 249059 250521 256052 260566 263579 270376 270661 272119 273286 273893 273940 274663 274801 275492 277307 279932 281586 293887 298694 301724 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-02 06:26 EST by Michael Woski CLA
Modified: 2011-07-07 10:03 EDT (History)
64 users (show)

See Also:


Attachments
StackTrace (276.56 KB, text/plain)
2008-01-02 06:30 EST, Michael Woski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Woski CLA 2008-01-02 06:26:08 EST
Hi,

first I must say that this is likely to be a bug report for Sun, but I think this place isn't so bad either.

What I've discovered are quite regular JVM crashes with different JVMs from Sun (1.6.0_u3, 1.7.0-icedtea and 1.6.0.10). It supposedly happens when the affore mentioned org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith method gets compiled by the JVM, as you can see from the error log. Maybe some of you guys have more emphasis on Sun than I do.

bye M;chi

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002b684872bfda, pid=10120, tid=1084438864
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0-b09 mixed mode linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x1edfda]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00002aaac68a6c00):  JavaThread "CompilerThread1" daemon [_thread_in_native, id=10129, stack(0x0000000040933000,0x0000000040a34000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000

Registers:
RAX=0x0000000000000000, RBX=0x00002aaacb48fe18, RCX=0x00002aaae4270c08, RDX=0x0000000000000056
RSP=0x0000000040a2fbd0, RBP=0x0000000040a2fc40, RSI=0x00002aaae4270c08, RDI=0x00002aaacb48fe18
R8 =0x00002aaae4270c60, R9 =0x00002aaae4270c08, R10=0x00002aaae4270c08, R11=0x0000000000000000
R12=0x00002aaacb48fde0, R13=0x0000000000000000, R14=0x00002aaac68d0250, R15=0x0000000000000001
RIP=0x00002b684872bfda, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x0000000040a2fbd0)
0x0000000040a2fbd0:   00002aaacb6fed80 00000001ffffffff
0x0000000040a2fbe0:   00002aaae4270c08 00000002486d74f1
0x0000000040a2fbf0:   00002aaacb6fed70 0000000740a30800
0x0000000040a2fc00:   0000000040a308c8 01000000000005d1
0x0000000040a2fc10:   0000000040a30800 00002b6848d128b0
0x0000000040a2fc20:   0000000040a30800 0000000040a2fd90
0x0000000040a2fc30:   0000000040a2fd50 0000000040a2fd20
0x0000000040a2fc40:   0000000040a2fe60 00002b684872b51c
0x0000000040a2fc50:   0000000040a308c8 0000000040a2fe10
0x0000000040a2fc60:   00002aaacba94a00 0000000040a2fcf0
0x0000000040a2fc70:   00002aaae469a2b0 0000000000000000
0x0000000040a2fc80:   0000000040a2fd60 00002b684898f871
0x0000000040a2fc90:   00002aaacba94a00 00002aaac8000020
0x0000000040a2fca0:   0000000040a33950 0000000040a2fce0
0x0000000040a2fcb0:   00002b6848d2e5a0 00002aaadc201a20
0x0000000040a2fcc0:   0000000000000183 00002b6848b02792
0x0000000040a2fcd0:   0000000040110310 00002b6848b02861
0x0000000040a2fce0:   0000000040a33950 0000000040a2fd20
0x0000000040a2fcf0:   00002b6848d2e5a0 0000000000007fe8
0x0000000040a2fd00:   00002aaacb9fbde0 00002b6848b02792
0x0000000040a2fd10:   0000000040110310 00002b6848b02861
0x0000000040a2fd20:   00002b6848d128b0 00002b680000000e
0x0000000040a2fd30:   0000000040a321b0 0000000040a30800
0x0000000040a2fd40:   0000000000000ad0 00002aaac68a6f60
0x0000000040a2fd50:   000000000000000d 0000000040a321b0
0x0000000040a2fd60:   00002aaadc0faf00 00002b68486d6f00
0x0000000040a2fd70:   00002aaacb47d7a0 00000000000005d2
0x0000000040a2fd80:   0000000040a2fe10 00002aaadc55ab10
0x0000000040a2fd90:   000000000000000c 0000000040a321b0
0x0000000040a2fda0:   00002aaadc2a9140 00002aaacba03de0
0x0000000040a2fdb0:   00002aaae5179900 00002aaae517a5d0
0x0000000040a2fdc0:   00002aaac83719f0 0000000040a30920 

Instructions: (pc=0x00002b684872bfda)
0x00002b684872bfca:   48 89 cf 41 ff 95 80 00 00 00 48 89 df 49 89 c5
0x00002b684872bfda:   8b 00 41 21 44 24 38 41 8b 45 04 21 43 04 41 8b 

Stack: [0x0000000040933000,0x0000000040a34000],  sp=0x0000000040a2fbd0,  free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x1edfda]
V  [libjvm.so+0x1ed51c]
V  [libjvm.so+0x241995]
V  [libjvm.so+0x23e485]
V  [libjvm.so+0x1dde77]
V  [libjvm.so+0x246368]
V  [libjvm.so+0x245d06]
V  [libjvm.so+0x5c41b9]
V  [libjvm.so+0x5be0c1]
V  [libjvm.so+0x4e2caa]


Current CompileTask:
C2:1408      org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode; (469 bytes)


---------------  P R O C E S S  --------------- ....
Comment 1 Michael Woski CLA 2008-01-02 06:30:41 EST
Created attachment 85987 [details]
StackTrace

I have a couple of them ... Always with the same frame (relative to the JVM of course) and the same compiler thread
Comment 2 John Arthorne CLA 2008-01-02 10:28:33 EST
Please report to VM vendor.
Comment 3 Martin Aeschlimann CLA 2008-02-13 03:33:02 EST
*** Bug 218734 has been marked as a duplicate of this bug. ***
Comment 4 Martin Aeschlimann CLA 2008-02-13 03:33:55 EST
From bug 218734:

Please try with a Sun JRE on version 1.5.0.x or 1.6.0.3 (don't try 1.6.0.4 and
I think 1.6.0.5 is at risk too).
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
Comment 5 Martin Aeschlimann CLA 2008-02-13 11:55:14 EST
*** Bug 218812 has been marked as a duplicate of this bug. ***
Comment 6 Mik Kersten CLA 2008-02-19 01:22:46 EST
*** Bug 218311 has been marked as a duplicate of this bug. ***
Comment 7 Steffen Pingel CLA 2008-02-25 13:52:52 EST
*** Bug 219699 has been marked as a duplicate of this bug. ***
Comment 8 Tom Nichols CLA 2008-03-14 16:23:50 EDT
*** Bug 222757 has been marked as a duplicate of this bug. ***
Comment 9 Luzius Meisser CLA 2008-03-27 08:47:08 EDT
*** Bug 224314 has been marked as a duplicate of this bug. ***
Comment 10 Martin Aeschlimann CLA 2008-04-01 10:39:11 EDT
*** Bug 223448 has been marked as a duplicate of this bug. ***
Comment 11 Eric Moffatt CLA 2008-04-22 10:08:52 EDT
*** Bug 227067 has been marked as a duplicate of this bug. ***
Comment 12 Eric Moffatt CLA 2008-04-24 16:26:20 EDT
*** Bug 228401 has been marked as a duplicate of this bug. ***
Comment 13 Chris Schneider CLA 2008-04-24 23:02:30 EDT
The workaround is listed in the Java bug report, I'm confirming here that it does in fact work.  You have to tweak your eclipse.ini file.  You have to add "-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith".

Here is my whole file for reference.  I haven't checked to see if the location matters, but I do know that this works.  In addition, there's no speed difference that I can detect.

-showsplash
/builds/I200804091425/org.eclipse.releng.eclipsebuilder/eclipse/buildConfigs/sdk/packager/jartmp/eclipse/win32.win32.x86_64/eclipse/org.eclipse.platform
--launcher.XXMaxPermSize
256m
-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080303.jar
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.100.v20080303
-vmargs
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-Xms2048m
-Xmx4096m
Comment 14 Ugo Matrangolo CLA 2008-05-04 06:46:01 EDT
Hi,

using Ubuntu 8.04/64bit I had to add :

-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>

also.

Hope this helps,
Ugo
Comment 15 Guy Gurfinkel CLA 2008-05-27 11:42:16 EDT
*** Bug 231508 has been marked as a duplicate of this bug. ***
Comment 16 Nathan Baker CLA 2008-06-05 14:11:29 EDT
*** Bug 235833 has been marked as a duplicate of this bug. ***
Comment 17 John Arthorne CLA 2008-06-19 09:42:44 EDT
*** Bug 235759 has been marked as a duplicate of this bug. ***
Comment 18 Udo Rader CLA 2008-06-25 17:29:11 EDT
*** Bug 238435 has been marked as a duplicate of this bug. ***
Comment 19 Mauro Molinari CLA 2008-06-26 04:50:48 EDT
The problem also occurs in Windows XP x64 with 64-bit Eclipse 3.4 and Sun JDK 1.6.0 update 5 and 6 (64 bit versions). It does not occur with 1.5.0 update 15.

In one of my carsh log there's the following:
Current CompileTask:
C2:3472      org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding.<init>(Lorg/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding;Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;)V (596 bytes)

So, I think comment #14 is important, too.

Sun says that the fixed has been delivered for "hs11" and "hs13"... Does anyone know what this mean? Does it mean Java 7?

Mauro.
Comment 20 Ismael Juma CLA 2008-06-27 00:03:36 EDT
(In reply to comment #19)
> Sun says that the fixed has been delivered for "hs11" and "hs13"... Does anyone
> know what this mean? Does it mean Java 7?

You did not paste the full information. It says "hs13(b02), hs11(b13)".

If you look at the output of java -version for b25 of Java 6 update 10:

java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)

and for b29 of Java 7:

java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b29)
Java HotSpot(TM) Server VM (build 13.0-b02, mixed mode)

The HotSpot line gives the information you're looking for. The fix is already available in the latest build of Java 7 and should be available in the next build of Java 6 update 10 that includes a new build of HotSpot.

For the record I have tested b29 of Java 7 for a few hours and was unable to reproduce the problem so it does look like it was really fixed.
Comment 21 Jerome Lanneluc CLA 2008-06-27 05:11:57 EDT
*** Bug 238642 has been marked as a duplicate of this bug. ***
Comment 22 Mauro Molinari CLA 2008-06-27 08:06:16 EDT
(In reply to comment #20)
> (In reply to comment #19)
> > Sun says that the fixed has been delivered for "hs11" and "hs13"... Does anyone
> > know what this mean? Does it mean Java 7?
> 
> You did not paste the full information. It says "hs13(b02), hs11(b13)".
[cut]
> 
> For the record I have tested b29 of Java 7 for a few hours and was unable to
> reproduce the problem so it does look like it was really fixed.


Ok, thank you Ismael!

Mauro.

Comment 23 Paul Webster CLA 2008-07-02 09:01:59 EDT
*** Bug 239039 has been marked as a duplicate of this bug. ***
Comment 24 John Arthorne CLA 2008-07-02 16:08:56 EDT
*** Bug 238873 has been marked as a duplicate of this bug. ***
Comment 25 Alain O'Dea CLA 2008-07-07 10:23:35 EDT
On Ubuntu Hardy Heron adding the following lines to the bottom of eclipse.ini makes the SIGSEGV crash go away for me:
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
Comment 26 Max Bowsher CLA 2008-07-08 09:10:57 EDT
A couple more entries needed on that workaround if using CDT:
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
Comment 27 Eric Moffatt CLA 2008-07-14 15:34:30 EDT
*** Bug 238557 has been marked as a duplicate of this bug. ***
Comment 28 Ismael Juma CLA 2008-07-15 10:19:40 EDT
For those who are interested in testing, build 27 of Java 6 Update 10 should include the fix for this bug:

http://download.java.net/jdk6/

It may make sense to test this build before Java 6 Update 10 goes final in case the problem is not totally fixed (it has worked fine for me so far).
Comment 29 bsquare Mising name CLA 2008-07-17 08:09:33 EDT
*** Bug 238522 has been marked as a duplicate of this bug. ***
Comment 30 Paul Webster CLA 2008-07-31 09:27:39 EDT
*** Bug 242680 has been marked as a duplicate of this bug. ***
Comment 31 Remy Suen CLA 2008-08-04 14:14:58 EDT
*** Bug 243073 has been marked as a duplicate of this bug. ***
Comment 32 Kent Johnson CLA 2008-08-05 11:24:26 EDT
*** Bug 242973 has been marked as a duplicate of this bug. ***
Comment 33 Kent Johnson CLA 2008-08-05 11:26:51 EDT
*** Bug 242965 has been marked as a duplicate of this bug. ***
Comment 34 Olivier Thomann CLA 2008-08-06 08:40:08 EDT
*** Bug 243267 has been marked as a duplicate of this bug. ***
Comment 35 Boris Bokowski CLA 2008-08-15 14:38:49 EDT
*** Bug 241746 has been marked as a duplicate of this bug. ***
Comment 36 Paul Webster CLA 2008-08-18 15:03:20 EDT
*** Bug 244360 has been marked as a duplicate of this bug. ***
Comment 37 Remy Suen CLA 2008-08-31 08:42:58 EDT
*** Bug 245784 has been marked as a duplicate of this bug. ***
Comment 38 Oleg Besedin CLA 2008-09-05 09:49:06 EDT
*** Bug 246301 has been marked as a duplicate of this bug. ***
Comment 39 Remy Suen CLA 2008-09-12 02:55:32 EDT
*** Bug 247119 has been marked as a duplicate of this bug. ***
Comment 40 Remy Suen CLA 2008-09-18 08:01:50 EDT
*** Bug 247681 has been marked as a duplicate of this bug. ***
Comment 41 Remy Suen CLA 2008-09-27 11:39:28 EDT
*** Bug 248836 has been marked as a duplicate of this bug. ***
Comment 42 Remy Suen CLA 2008-10-11 13:44:33 EDT
*** Bug 250521 has been marked as a duplicate of this bug. ***
Comment 43 Michael Spector CLA 2008-11-17 10:47:41 EST
*** Bug 249059 has been marked as a duplicate of this bug. ***
Comment 44 Remy Suen CLA 2008-11-21 04:57:32 EST
*** Bug 256052 has been marked as a duplicate of this bug. ***
Comment 45 Gadi Goldbarg CLA 2008-11-23 09:37:22 EST
fixed - see duplicate bug
Comment 46 Boris Bokowski CLA 2009-02-03 16:34:45 EST
*** Bug 260566 has been marked as a duplicate of this bug. ***
Comment 47 Remy Suen CLA 2009-02-03 22:57:31 EST
*** Bug 263579 has been marked as a duplicate of this bug. ***
Comment 48 Kevin Barnes CLA 2009-03-30 10:06:28 EDT
*** Bug 270376 has been marked as a duplicate of this bug. ***
Comment 49 Felipe Heidrich CLA 2009-04-07 10:06:37 EDT
*** Bug 270661 has been marked as a duplicate of this bug. ***
Comment 50 Kevin Barnes CLA 2009-04-07 10:26:37 EDT
*** Bug 270661 has been marked as a duplicate of this bug. ***
Comment 51 Kevin Barnes CLA 2009-04-14 08:50:04 EDT
*** Bug 272119 has been marked as a duplicate of this bug. ***
Comment 52 Kevin Barnes CLA 2009-04-23 09:03:20 EDT
*** Bug 273286 has been marked as a duplicate of this bug. ***
Comment 53 David Green CLA 2009-04-27 16:27:00 EDT
in case it helps anyone, here are the things that I add to my eclipse.ini:

-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,java/text/SimpleDateFormat,subParseZoneString
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
Comment 54 Robert Elliot CLA 2009-04-27 16:51:22 EDT
*** Bug 273940 has been marked as a duplicate of this bug. ***
Comment 55 Kevin Barnes CLA 2009-05-04 08:34:12 EDT
*** Bug 274801 has been marked as a duplicate of this bug. ***
Comment 56 Paul Hassinger CLA 2009-05-08 10:59:25 EDT
*** Bug 274663 has been marked as a duplicate of this bug. ***
Comment 57 Remy Suen CLA 2009-05-08 14:43:28 EDT
*** Bug 275492 has been marked as a duplicate of this bug. ***
Comment 58 Eddie Galvez CLA 2009-05-08 14:50:48 EDT
well well... this bug again. I just recently filed the Eclipse 3.5M7 crashes on Mac OSX Cocoa 64bit bug, and it became this (I must saw I recognized the method)... I am shocked that this isn't fixed yet in major vm's out there (like the latest leopard one!)
Comment 59 Thomas Watson CLA 2009-05-12 12:46:24 EDT
*** Bug 273893 has been marked as a duplicate of this bug. ***
Comment 60 Kevin Barnes CLA 2009-05-21 09:53:06 EDT
*** Bug 277307 has been marked as a duplicate of this bug. ***
Comment 61 Felipe Heidrich CLA 2009-05-22 17:00:42 EDT
The apple crash seem to be fixed with the "Java for Mac OS X 10.5 Update 4 Developer Preview (9M3063)" available for free download in the apple developer connection site.
NOTE: so far I've only done a small amount of testing, but no crashes yet.
Comment 62 Kevin Barnes CLA 2009-06-11 09:53:46 EDT
*** Bug 279932 has been marked as a duplicate of this bug. ***
Comment 63 Kevin Barnes CLA 2009-06-24 10:59:36 EDT
Apple has shipped the update to the Java 6 VM. If you're running a fully patched Leopard, Java 6 should not have this bug anymore.
Comment 64 Remy Suen CLA 2009-06-25 18:51:09 EDT
*** Bug 281586 has been marked as a duplicate of this bug. ***
Comment 65 Louis CLA 2009-06-30 09:24:50 EDT
with mac os x 1.5 with last java update (1.6.0.13), no more problem. It works.
I had the problem with launching eclipse from eclipse (app conf).
Comment 66 Aleks Revo CLA 2009-08-30 14:44:50 EDT
Sun JDK 1.6.0.16 under Linux have this bug again.
Downgrade to 1.6.0.15 fixes issue.
Comment 67 Remy Suen CLA 2009-11-02 07:10:19 EST
*** Bug 293887 has been marked as a duplicate of this bug. ***
Comment 68 Henry Chan CLA 2009-12-31 23:55:13 EST
*** Bug 298694 has been marked as a duplicate of this bug. ***
Comment 69 Paul Webster CLA 2010-02-03 14:15:14 EST
*** Bug 301724 has been marked as a duplicate of this bug. ***
Comment 70 John Arthorne CLA 2011-07-07 09:58:34 EDT
*** Bug 229882 has been marked as a duplicate of this bug. ***