eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.08k stars 444 forks source link

[Bug]: Infinit indexing on looping symlinks #3396

Closed AJenbo closed 3 weeks ago

AJenbo commented 1 month ago

What happened?

Some packages (like orchestra/testbench) may symlink the vendor folder, causing an infinitly nested folder structure, leaving CodeLite stuck trying to analyze the files and eventually consuming all memory.

I'm not 100% sure but I think this happens somewhere in the parser since it appears to finish the "scanning for workspace files" step before getting stuck, though the file list never appears in the workspace panel.

Version

Other

Operating system

Linux

Steps to reproduce

No response

Relevant log output

17.0.0 & 17.10.0