Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer fails from java.lang.StackOverflowError(CDT indexer problems)
Indexer fails from java.lang.StackOverflowError [message #903001] Tue, 21 August 2012 11:06 Go to next message
nathanael van vorst is currently offline nathanael van vorst
Messages: 2
Registered: August 2012
Junior Member
I am working with a large code base (10K+ cc/h files -- each with a hundreds to thousands of lines). I get hundreds of stack overflows while running the indexer. Increasing my JVM stack size to 64M and my memory to 8G reduced the number of stack overflows and allowed me index more files, but hundreds of stack overflows still occur. Eventually the indexer gives up because there were too many errors.

I looked on bugzilla and I didn't see this exact issue. I didn't file a new bug because I cannot post the code I am working on (which causes the problems). However, if someone can help me get an environment up where I can debug this I am more than willing to fix it for everyone. This issue causes me a lot of heartburn.

Attached are a few example errors from my log.
  • Attachment: e1.txt
    (Size: 44.60KB, Downloaded 66 times)
  • Attachment: e2.txt
    (Size: 10.59KB, Downloaded 65 times)
  • Attachment: e3.txt
    (Size: 8.59KB, Downloaded 70 times)

[Updated on: Tue, 21 August 2012 11:18]

Report message to a moderator

Re: Indexer fails from java.lang.StackOverflowError [message #903091 is a reply to message #903001] Tue, 21 August 2012 18:46 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny Shifrin
Messages: 202
Registered: July 2009
Senior Member
I would suggest opening a bug for this issue (even if you can't provide a code that reproduces this issue). In the past I opened bugs with exceptions during indexer (I could not provide the code as well) and they were fixed. Many time exception stack provides enough information for solving the problem.

Thanks,
Yevgeny
Re: Indexer fails from java.lang.StackOverflowError [message #903284 is a reply to message #903091] Wed, 22 August 2012 16:26 Go to previous message
nathanael van vorst is currently offline nathanael van vorst
Messages: 2
Registered: August 2012
Junior Member
Thanks Yevgeny. I have created a new bug -- for those interested it is at: https://bugs.eclipse.org/bugs/show_bug.cgi?id=387823 .
Previous Topic:No c++ preferences
Next Topic:Strange C++ Standard Library Problem
Goto Forum:
  


Current Time: Wed Aug 27 09:05:54 EDT 2014

Powered by FUDForum. Page generated in 0.10797 seconds