Bug 350401 - Always crashes on load
Summary: Always crashes on load
Status: CLOSED DUPLICATE of bug 333227
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.0   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-06-27 03:10 EDT by Sandis CLA
Modified: 2011-06-27 15:59 EDT (History)
1 user (show)

See Also:


Attachments
crashreport (215.20 KB, text/plain)
2011-06-27 03:11 EDT, Sandis CLA
no flags Details
crashreport 2 (74.39 KB, text/plain)
2011-06-27 03:12 EDT, Sandis CLA
no flags Details

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