Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348068

Summary: JVM crash in AbstractTaskHyperlinkDetector.getTaskRepository(): guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
Product: z_Archived Reporter: Alvaro Sanchez-Leon <alvaro.sanchez-leon>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: christian.campo, igor.novakovic, opensource, p1, Szymon.Brandys, thomas.ehrnhoefer, tinnitus007, tomasz.zarna
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
eclipse config + error logs none

Description Alvaro Sanchez-Leon CLA 2011-06-02 10:29:20 EDT
Created attachment 197229 [details]
eclipse config + error logs

Eclipse crashes with no apparent trigger while editing or browsing a Mylyn task.

See logs for segmentation error files and Eclipse configuration.
Comment 1 Steffen Pingel CLA 2011-06-16 06:50:57 EDT
That looks like this JVM bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2210012

#  Internal Error (c1_Optimizer.cpp:271), pid=6944, tid=8260
#  guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp

Current CompileTask:
C1:2402912 2993      org.eclipse.mylyn.tasks.ui.AbstractTaskHyperlinkDetector.getTaskRepository(Lorg/eclipse/jface/text/ITextViewer;)Lorg/eclipse/mylyn/tasks/core/TaskRepository; (120 bytes
)

vm_info: Java HotSpot(TM) Client VM (20.0-b11) for windows-x86 JRE (1.6.0_25-b06), built on Apr 14 2011 01:04:32 by "java_re" with MS VC++ 7.1 (VS2003)
Comment 2 Steffen Pingel CLA 2011-06-16 06:51:52 EDT
*** Bug 349539 has been marked as a duplicate of this bug. ***
Comment 3 Steffen Pingel CLA 2011-06-16 06:52:59 EDT
Please try updating to the latest JVM and reopen if you are still seeing the crashes.
Comment 4 Thomas Ehrnhoefer CLA 2011-07-14 14:35:52 EDT
I am seeing this too. Updated to 
JRE version: 6.0_26-b03
but still the same :(
Comment 5 Thomas Ehrnhoefer CLA 2011-07-14 14:37:01 EDT
I can't figure out if/when the fix is supposed to have been released. On the Oracle bug it says "Release Fixed  7(b143)", but I can't find anything in the past release notes
Comment 6 Thomas Ehrnhoefer CLA 2011-07-14 14:41:48 EDT
(In reply to comment #5)
> I can't figure out if/when the fix is supposed to have been released. On the
> Oracle bug it says "Release Fixed  7(b143)", but I can't find anything in the
> past release notes
Oh, it appears it's only fixed in Java 7

I am running with the -server (server compiler) as there seem to be people saying that might be a workaround...
Comment 7 Thomas Ehrnhoefer CLA 2011-08-05 11:55:48 EDT
Switching to Java 7 seemed to have resolved this for me
Comment 8 Adam Taras CLA 2011-09-19 07:08:41 EDT
(In reply to comment #7)
> Switching to Java 7 seemed to have resolved this for me
I had the same problem with Eclipse 3.7 on a Windows 7 x64 machine using the 32-Bit JRE version 1.6.0_27-b07. Switching to the 32-Bit JRE version 1.7.0-b147 resolved the problem also for me.
Comment 9 Steffen Pingel CLA 2013-01-01 09:54:27 EST
*** Bug 397281 has been marked as a duplicate of this bug. ***
Comment 10 Steffen Pingel CLA 2013-06-04 08:40:41 EDT
*** Bug 387592 has been marked as a duplicate of this bug. ***
Comment 11 Richard Harding CLA 2013-07-21 07:42:35 EDT
A last update (as promised in Bug 387592) - since changing my JVM to Java 7, the problem has gone.