Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348068 - JVM crash in AbstractTaskHyperlinkDetector.getTaskRepository(): guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp
Summary: JVM crash in AbstractTaskHyperlinkDetector.getTaskRepository(): guarantee(x_c...
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 349539 387592 397281 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-02 10:29 EDT by Alvaro Sanchez-Leon CLA
Modified: 2013-07-21 07:42 EDT (History)
8 users (show)

See Also:


Attachments
eclipse config + error logs (154.07 KB, application/x-zip-compressed)
2011-06-02 10:29 EDT, Alvaro Sanchez-Leon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.