Community
Participate
Working Groups
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 --------------- ....
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
Please report to VM vendor.
*** Bug 218734 has been marked as a duplicate of this bug. ***
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
*** Bug 218812 has been marked as a duplicate of this bug. ***
*** Bug 218311 has been marked as a duplicate of this bug. ***
*** Bug 219699 has been marked as a duplicate of this bug. ***
*** Bug 222757 has been marked as a duplicate of this bug. ***
*** Bug 224314 has been marked as a duplicate of this bug. ***
*** Bug 223448 has been marked as a duplicate of this bug. ***
*** Bug 227067 has been marked as a duplicate of this bug. ***
*** Bug 228401 has been marked as a duplicate of this bug. ***
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
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
*** Bug 231508 has been marked as a duplicate of this bug. ***
*** Bug 235833 has been marked as a duplicate of this bug. ***
*** Bug 235759 has been marked as a duplicate of this bug. ***
*** Bug 238435 has been marked as a duplicate of this bug. ***
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.
(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.
*** Bug 238642 has been marked as a duplicate of this bug. ***
(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.
*** Bug 239039 has been marked as a duplicate of this bug. ***
*** Bug 238873 has been marked as a duplicate of this bug. ***
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>
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
*** Bug 238557 has been marked as a duplicate of this bug. ***
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).
*** Bug 238522 has been marked as a duplicate of this bug. ***
*** Bug 242680 has been marked as a duplicate of this bug. ***
*** Bug 243073 has been marked as a duplicate of this bug. ***
*** Bug 242973 has been marked as a duplicate of this bug. ***
*** Bug 242965 has been marked as a duplicate of this bug. ***
*** Bug 243267 has been marked as a duplicate of this bug. ***
*** Bug 241746 has been marked as a duplicate of this bug. ***
*** Bug 244360 has been marked as a duplicate of this bug. ***
*** Bug 245784 has been marked as a duplicate of this bug. ***
*** Bug 246301 has been marked as a duplicate of this bug. ***
*** Bug 247119 has been marked as a duplicate of this bug. ***
*** Bug 247681 has been marked as a duplicate of this bug. ***
*** Bug 248836 has been marked as a duplicate of this bug. ***
*** Bug 250521 has been marked as a duplicate of this bug. ***
*** Bug 249059 has been marked as a duplicate of this bug. ***
*** Bug 256052 has been marked as a duplicate of this bug. ***
fixed - see duplicate bug
*** Bug 260566 has been marked as a duplicate of this bug. ***
*** Bug 263579 has been marked as a duplicate of this bug. ***
*** Bug 270376 has been marked as a duplicate of this bug. ***
*** Bug 270661 has been marked as a duplicate of this bug. ***
*** Bug 272119 has been marked as a duplicate of this bug. ***
*** Bug 273286 has been marked as a duplicate of this bug. ***
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>
*** Bug 273940 has been marked as a duplicate of this bug. ***
*** Bug 274801 has been marked as a duplicate of this bug. ***
*** Bug 274663 has been marked as a duplicate of this bug. ***
*** Bug 275492 has been marked as a duplicate of this bug. ***
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!)
*** Bug 273893 has been marked as a duplicate of this bug. ***
*** Bug 277307 has been marked as a duplicate of this bug. ***
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.
*** Bug 279932 has been marked as a duplicate of this bug. ***
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.
*** Bug 281586 has been marked as a duplicate of this bug. ***
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).
Sun JDK 1.6.0.16 under Linux have this bug again. Downgrade to 1.6.0.15 fixes issue.
*** Bug 293887 has been marked as a duplicate of this bug. ***
*** Bug 298694 has been marked as a duplicate of this bug. ***
*** Bug 301724 has been marked as a duplicate of this bug. ***
*** Bug 229882 has been marked as a duplicate of this bug. ***