Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362402 - java.lang.StackOverflowError when opening C++ project
Summary: java.lang.StackOverflowError when opening C++ project
Status: CLOSED DUPLICATE of bug 357256
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 10:47 EDT by vagran CLA
Modified: 2011-10-31 10:19 EDT (History)
2 users (show)

See Also:


Attachments
Error log (118.20 KB, application/octet-stream)
2011-10-29 10:48 EDT, vagran CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description vagran CLA 2011-10-29 10:47:17 EDT
Build Identifier: Build id: 20110916-0149

I have error "Internal error: java.lang.StackOverflowError" every time I open my C++ project or type any character in a specific C++ source file. From Java backtrace it is seen that there is an infinite recursion of org.eclipse.cdt.internal.core.dom.parser.cpp.ClassTypeHelper.collectPureVirtualMethods(ClassTypeHelper.java:856) method (error log will be attached).

Reproducible: Always

Steps to Reproduce:
1. Create CDT C++ project from the commit 2ac6debdd5acd2c63ddd7bdb0ba53d04017a1609 in this Git repository: git://ast-phoenix.git.sourceforge.net/gitroot/ast-phoenix/ast-phoenix
2. Open file phoenix/include/log.h in C++ editor (Probably KERNEL macro must be defined in project setting to reproduce the error).
3. Eclipse will report exception immediately or after something is changed in the file.
Comment 1 vagran CLA 2011-10-29 10:48:13 EDT
Created attachment 206165 [details]
Error log

Error log attached.
Comment 2 Markus Schorn CLA 2011-10-31 10:19:19 EDT

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