Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » JRE segfault after using Eclipse hot-keys (Eclipse is crashing due to a segfault in the JRE at varying intervals after using CTRL-SHIFT-<foo>)
JRE segfault after using Eclipse hot-keys [message #639815] Wed, 17 November 2010 22:38 Go to previous message
Mike Edenfield is currently offline Mike EdenfieldFriend
Messages: 1
Registered: November 2010
Junior Member
I recently installed Eclipse (3.5) and the CDT (the latest v6) onto a 64-bit Linux laptop. Whenever I try to edit C/C++ code for any length of time, the IDE crashes due to a segfault in the JRE. The callstack indicates that the crash is in:

org.eclipse.cdt.internal.ui.test.CReconciler.process()

I can usually trigger the crash to occur more quickly if I use any of the global Eclipse hotkeys, like CTRL-SHIFT-S to Save All, or CTRL-SHIFT-F to auto-format, but the actual crash doesn't happen until some indeterminate time later (though always while typing code).

Here an excerpt from one of the JRE crash dumps; I can provide the entire crash dump file if needed.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2abee79bd6, pid=6008, tid=139821242803984
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b06 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.9.1
# Distribution: Built on Gentoo Base System release 1.12.13 (Wed Oct 13 10:13:23 CEST 2010)
# Problematic frame:
# j  org.eclipse.cdt.internal.core.dom.parser.c.CASTCompoundStatement.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+54
#

Stack: [0x00007f2aab726000,0x00007f2aab827000],  sp=0x00007f2aab824bf0,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
j  org.eclipse.cdt.internal.core.dom.parser.c.CASTCompoundStatement.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+54
j  org.eclipse.cdt.internal.core.dom.parser.c.CASTIfStatement.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+74
j  org.eclipse.cdt.internal.core.dom.parser.c.CASTCompoundStatement.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+54
j  org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionDefinition.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+98
j  org.eclipse.cdt.internal.core.dom.parser.ASTTranslationUnit.accept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+70
j  org.eclipse.cdt.internal.core.dom.parser.c.CASTTranslationUnit.resolveAmbiguities()V+8
j  org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.resolveAmbiguities()V+16
j  org.eclipse.cdt.internal.core.dom.parser.AbstractGNUSourceCodeParser.parse()Lorg/eclipse/cdt/core/dom/ast/IASTTranslationUnit;+84
j  org.eclipse.cdt.core.dom.parser.AbstractCLikeLanguage.getASTTranslationUnit(Lorg/eclipse/cdt/core/parser/CodeReader;Lorg/eclipse/cdt
/core/parser/IScannerInfo;Lorg/eclipse/cdt/core/dom/ICodeReaderFactory;Lorg/eclipse/cdt/core/index/IIndex;ILorg/eclipse/cdt/core/parser
/IParserLogService;)Lorg/eclipse/cdt/core/dom/ast/IASTTranslationUnit;+104
j  org.eclipse.cdt.internal.core.model.TranslationUnit.getAST(Lorg/eclipse/cdt/core/index/IIndex;ILorg/eclipse/core/runtime/IProgressMo
nitor;)Lorg/eclipse/cdt/core/dom/ast/IASTTranslationUnit;+187
j  org.eclipse.cdt.internal.core.model.CModelBuilder2.parse(Z)V+116
j  org.eclipse.cdt.internal.core.model.TranslationUnit.parseUsingCModelBuilder(Ljava/util/Map;ZLorg/eclipse/core/runtime/IProgressMonit
or;)V+11
j  org.eclipse.cdt.internal.core.model.TranslationUnit.parse(Ljava/util/Map;Lorg/eclipse/core/runtime/IProgressMonitor;)V+33
j  org.eclipse.cdt.internal.core.model.TranslationUnit.buildStructure(Lorg/eclipse/cdt/internal/core/model/OpenableInfo;Lorg/eclipse/co
re/runtime/IProgressMonitor;Ljava/util/Map;Lorg/eclipse/core/resources/IResource;)Z+9
j  org.eclipse.cdt.internal.core.model.Openable.generateInfos(Lorg/eclipse/cdt/internal/core/model/CElementInfo;Ljava/util/Map;Lorg/ecl
ipse/core/runtime/IProgressMonitor;)V+85
j  org.eclipse.cdt.internal.core.model.CElement.openWhenClosed(Lorg/eclipse/cdt/internal/core/model/CElementInfo;Lorg/eclipse/core/runt
ime/IProgressMonitor;)V+21
j  org.eclipse.cdt.internal.core.model.TranslationUnit.makeConsistent(ZLorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/cdt/cor
e/dom/ast/IASTTranslationUnit;+56
j  org.eclipse.cdt.internal.core.model.ReconcileWorkingCopyOperation.executeOperation()V+89
j  org.eclipse.cdt.internal.core.model.CModelOperation.execute()V+15
j  org.eclipse.cdt.internal.core.model.CModelOperation.run(Lorg/eclipse/core/runtime/IProgressMonitor;)V+25
j  org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(Lorg/eclipse/core/runtime/IProgressMonitor;)V+32
j  org.eclipse.cdt.internal.core.model.WorkingCopy.reconcile(ZZLorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/cdt/core/dom/as
t/IASTTranslationUnit;+27
j  org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(Z)V+62
j  org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(Lorg/eclipse/jface/text/IRegion;)V+2
j  org.eclipse.cdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Lorg/eclipse/jface/text/IRegion;)V+20
j  org.eclipse.cdt.internal.ui.text.CCompositeReconcilingStrategy.reconcile(Lorg/eclipse/jface/text/IRegion;)V+17
j  org.eclipse.jface.text.reconciler.MonoReconciler.process(Lorg/eclipse/jface/text/reconciler/DirtyRegion;)V+45
j  org.eclipse.cdt.internal.ui.text.CReconciler.process(Lorg/eclipse/jface/text/reconciler/DirtyRegion;)V+12
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:gcov plugin for Windows ?
Next Topic:debugger (grrrrrrr)
Goto Forum:
  


Current Time: Sun Jun 25 17:38:58 GMT 2017

Powered by FUDForum. Page generated in 0.02816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software