Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38192 - [eclipse-cdt] Indexer runs out memory and makes Eclipse GUI unresponsive

Attached to Project: Community Packages
Opened by Dan Liew (delcypher) - Thursday, 19 December 2013, 15:15 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 18 January 2014, 17:29 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When trying to index a large codebase (LLVM, clang and compiler-rt) Eclipse-CDT runs out of memory and the application appears to hang, after a while the program does become responsive again but I gave up trying to let it index.

I ran as

$ eclipse -consolelog -debug 2>&1 | tee eclipse.log

to gather debug output. I have truncated the log (original ~91MB in size) because it was huge.

Additional info:
* Eclipse 4.3.1-1
* Eclipse CDT 8.2.1-1
* gcc 4.8.2
* Truncated log output is attached.

Steps to reproduce:
1. Obtain source code

cd /some/folder
wget http://llvm.org/releases/3.3/llvm-3.3.src.tar.gz
tar -xvf llvm-3.3.src.tar.gz
cd llvm-3.3.src/tools
wget http://llvm.org/releases/3.3/cfe-3.3.src.tar.gz
tar -xvf cfe-3.3.src.tar.gz
mv cfe-3.3.src clang
cd ../projects
wget http://llvm.org/releases/3.3/compiler-rt-3.3.src.tar.gz
tar -xvf compiler-rt-3.3.src.tar.gz
mv compiler-rt-3.3.src compiler-rt

2. Run Eclipse
3. File > New > Makefile project with existing code. Point Eclipse to the /some/folder/llvm-3.3src folder
3. Select toolchain as "GNU Autotools chain"
4. Let Eclipse try to index the source code
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 18 January 2014, 17:29 GMT
Reason for closing:  Upstream
Additional comments about closing:  Upstream has a bug report about this from 2009. No signs of this being fixed any time soon.
Comment by Alexander F. Rødseth (xyproto) - Monday, 23 December 2013, 21:47 GMT
Please report this upstream to the Eclipse CDT developers and, if you wish, include a link to the bug report here. Thanks.
Comment by Alexander F. Rødseth (xyproto) - Monday, 23 December 2013, 21:49 GMT
Btw, does this happen to be the same issue as  FS#38177 ?
Comment by Dan Liew (delcypher) - Wednesday, 08 January 2014, 13:34 GMT
It appears this bug was already reported upstream [1]. It's an old bug so I'm guessing it's not going to be fixed :(


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=280196
Comment by Dan Liew (delcypher) - Wednesday, 08 January 2014, 13:35 GMT
 FS#38177  is a different issue
Comment by Alexander F. Rødseth (xyproto) - Saturday, 18 January 2014, 17:28 GMT
Right. It doesn't seem like anything has happened related to this for five years.

I'll close this bug as "Upstream". If this (and other bugs related to eclipse-cdt) are sufficiently problematic (over time), I'll consider moving it to AUR.

Loading...