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

Bug 215047

Summary: [Directory parsing] Cyclically linked directories cause Eclipse to hang and then to crash with an out-of-memory exception
Product: [Tools] CDT Reporter: Thomas . <spam-receiver>
Component: cdt-parserAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 4.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Thomas . CLA 2008-01-11 11:17:25 EST
Build ID: I20070621-1340

Steps To Reproduce:
1. Create cyclically linked directories, e.g.:
> ll  /usr/local/boost_1_33_1
lrwxrwxrwx   1 boost_1_33_1 -> /usr/local/boost_1_33_1
drwxrwxr-x  48 include
drwxrwxr-x   2 lib

2. Add this directory to a CDT project

3. Try "Refresh workspace" or "Index->Rebuild"


More information:
I work within a workspace, which is located on my WinXP PC.
The workspace contains projects, which are located on a Unix ClearCase server, and (like the boost part) on a Unix server connected via Samba.
The main project consists of more than 55,000 files.

The cyclic softlinks were a mistake, but Eclipse must handle this.
Comment 1 Markus Schorn CLA 2008-05-28 09:49:27 EDT
Could also be a duplicate of bug 232426

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