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

Bug 350401

Summary: Always crashes on load
Product: [Tools] CDT Reporter: Sandis <sandiskr>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact: Doug Schaefer <cdtdoug>
Severity: critical    
Priority: P3 CC: malaperle
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
crashreport
none
crashreport 2 none

Description Sandis CLA 2011-06-27 03:10:57 EDT
Build Identifier: newest (can not see)

Downloaded newest Eclipse C++ IDE files from eclipse.org/downloads, both 32bit and 64bit editions, both Linux and GTK. They all crash in the same manner - eclipse starts, asks for workspace, opens workspace interface, C++ indexer starts working and after some seconds eclipse throws a java error.

As I experimented, the problems arise only when project with files exists. I managed to switch to new empty workspace and no problems occured. I created project - everything is stable. As soon as I copied 2 cpp and 1 h files from old workspace and refreshed the project - eclipse crashed with previous errors.

There are two different problematic frames that occur:
j  org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics.expandUsingDeclarationsAndRemoveObjects([Lorg/eclipse/cdt/core/dom/ast/IBinding;Z)[Lorg/eclipse/cdt/core/dom/ast/IBinding;+49
and
V  [libjvm.so+0x691afb]
I will attach both samples of crash reports.
 
Interesting bit: I have also Eclipse Helios PHP IDE and it does not crash at all.

Ubuntu x86_64 11.04, updated to latest from repositories
Java: SE Runtime Environment (build 1.6.0_24-b07),
Java HotSpot 64bit Server VM (build 19.1-b02, mixed mode)


Reproducible: Always

Steps to Reproduce:
1. launch eclipse c++
2. have project with cpp and h files in workspace
3. see eclipse c++ crash
Comment 1 Sandis CLA 2011-06-27 03:11:51 EDT
Created attachment 198624 [details]
crashreport
Comment 2 Sandis CLA 2011-06-27 03:12:37 EDT
Created attachment 198625 [details]
crashreport 2
Comment 3 Marc-André Laperle CLA 2011-06-27 10:42:43 EDT
Can you try the workaround in bug 333227 comment 7 ?
Comment 4 Sandis CLA 2011-06-27 15:56:32 EDT
(In reply to comment #3)
> Can you try the workaround in bug 333227 comment 7 ?

tried, it seems to work. thanks!
Comment 5 Marc-André Laperle CLA 2011-06-27 15:59:04 EDT

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