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

Bug 339010

Summary: Eclipse with CDT crashed
Product: [Tools] CDT Reporter: Szõts Ákos <szotsaki>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact: Doug Schaefer <cdtdoug>
Severity: critical    
Priority: P3 CC: eclipse.sprigogin, malaperle
Version: 7.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Crash log, produced by Java none

Description Szõts Ákos CLA 2011-03-05 10:56:23 EST
Build Identifier: 20110301-1815

Eclipse crashed at a random time. I did nothing.
Here is the console output:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe1a8eaabd6, pid=3221, tid=140606968317712
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# j  org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTFunctionDeclarator.postAccept(Lorg/eclipse/cdt/core/dom/ast/ASTVisitor;)Z+14



-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.cpp.product
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi


Reproducible: Couldn't Reproduce
Comment 1 Szõts Ákos CLA 2011-03-05 10:57:19 EST
Created attachment 190472 [details]
Crash log, produced by Java
Comment 2 Sergey Prigogin CLA 2011-03-05 12:57:04 EST
The crash report says:
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
Comment 3 Marc-André Laperle CLA 2011-03-05 15:20:22 EST
Try adding
-XX:-UseCompressedOops
to eclipse.ini

See bug 333227.
Comment 4 Szõts Ákos CLA 2011-03-05 18:09:52 EST
It seems it's working with -XX:-UseCompressedOops. I had already used the other two -XX:CompileCommand commands, but those were "enough" to protect just against the startup crash.

Thank you for the tip.
Comment 5 Sergey Prigogin CLA 2011-03-05 21:06:59 EST

*** This bug has been marked as a duplicate of bug 333227 ***