Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339010 - Eclipse with CDT crashed
Summary: Eclipse with CDT crashed
Status: RESOLVED DUPLICATE of bug 333227
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0.2   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 10:56 EST by Szõts Ákos CLA
Modified: 2011-03-05 21:06 EST (History)
2 users (show)

See Also:


Attachments
Crash log, produced by Java (111.15 KB, application/octet-stream)
2011-03-05 10:57 EST, Szõts Ákos CLA
no flags Details

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