[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Luna & Mars CDT hangs during content assist
|
Hi Marc,
thank you! I have now tried "Launch the JDK's jvisualvm tool" method
and see that indexer is running (15 Minutes now, it tooks over 30
Minutes for whole project):
...
"Worker-8" #42 prio=5 os_prio=0 tid=0x000000001abc9800 nid=0x764
runnable [0x00000000285de000]
java.lang.Thread.State: RUNNABLE
at java.lang.String.intern(Native Method)
at org.eclipse.cdt.internal.core.SafeStringInterner.safeIntern(SafeStringInterner.java:34)
at org.eclipse.cdt.core.settings.model.ACSettingEntry.<init>(ACSettingEntry.java:21)
at org.eclipse.cdt.core.settings.model.ACPathEntry.<init>(ACPathEntry.java:38)
at org.eclipse.cdt.core.settings.model.CIncludePathEntry.<init>(CIncludePathEntry.java:31)
at org.eclipse.cdt.core.settings.model.util.CDataUtil.createEntry(CDataUtil.java:352)
at org.eclipse.cdt.core.settings.model.util.CDataUtil.createResolvedEntry(CDataUtil.java:253)
at org.eclipse.cdt.core.settings.model.util.CDataUtil.resolveEntries(CDataUtil.java:156)
at org.eclipse.cdt.core.settings.model.util.CDataUtil.resolveEntries(CDataUtil.java:165)
at org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettingsScannerInfoProvider.convertToLocations(LanguageSettingsScannerInfoProvider.java:253)
at org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettingsScannerInfoProvider.getScannerInformation(LanguageSettingsScannerInfoProvider.java:119)
at org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettingsScannerInfoProvider.getScannerInformation(LanguageSettingsScannerInfoProvider.java:1)
at org.eclipse.cdt.internal.core.model.TranslationUnit.getScannerInfo(TranslationUnit.java:1057)
at org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.getBuildConfiguration(ProjectIndexerInputAdapter.java:157)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.getScannerInfo(AbstractIndexerTask.java:1013)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(AbstractIndexerTask.java:897)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractIndexerTask.java:554)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.run(PDOMIndexerTask.java:161)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:90)
at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:149)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
...
Now just tried to navigate to the one class where symbols are already
indexed (colored :) and use "variable->" to trigger the content assist
and it hangs. The Worker-Thread now goes to TIMED_WAITING state:
...
"Worker-8" #42 prio=5 os_prio=0 tid=0x000000001abc9800 nid=0x764 in
Object.wait() [0x00000000285de000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.cdt.internal.core.pdom.PDOM.acquireWriteLock(PDOM.java:1038)
- locked <0x00000000ab2a2c78> (a java.lang.Object)
at org.eclipse.cdt.internal.core.index.WritableCIndex.acquireWriteLock(WritableCIndex.java:121)
at org.eclipse.cdt.internal.core.pdom.YieldableIndexLock.acquire(YieldableIndexLock.java:40)
at org.eclipse.cdt.internal.core.pdom.PDOMWriter.storeSymbolsInIndex(PDOMWriter.java:311)
at org.eclipse.cdt.internal.core.pdom.PDOMWriter.addSymbols(PDOMWriter.java:273)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.writeToIndex(AbstractIndexerTask.java:1279)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseFile(AbstractIndexerTask.java:1094)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(AbstractIndexerTask.java:898)
at org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractIndexerTask.java:554)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.run(PDOMIndexerTask.java:161)
at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:90)
at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:149)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
...
Max be the waiting time is very long...
I will investigate further on monday and file a bug request with more
information
Andre
2015-08-20 16:11 GMT+02:00 Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx>:
> Hi Andre,
>
> If it's a hang in Java code, this might help you:
> https://wiki.eclipse.org/How_to_report_a_deadlock
>
> It can also be a hang in native code (GTK, Webkit, etc).
>
> If you need more help, I suggest that you create a bug on Bugzilla and we can try to narrow it down further.
>
> Hope this helps,
> Marc-Andre
> ________________________________________
> From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Bossert, Andre [anb0s@xxxxxxxx]
> Sent: Thursday, 20 August 2015 8:30 AM
> To: CDT General developers list.
> Subject: [cdt-dev] Luna & Mars CDT hangs during content assist
>
> Hello,
>
> we have updated our Kepler Eclipse Distributions to Luna (now testing
> Mars too) and faces now complete Eclipse hangs im one try to use
> content assist e.g. -> or . or Ctrl+Space. The projects are the same
> from Kepler version but reindexed. I cannot see any crashes in
> log-files an console (-debug). Is there an option how to see from user
> point of view what's going wrong? In small projects it works, I cannot
> provide source code...
>
> --
> Regards
> Andre (anb0s)
> eMail: anb0s@xxxxxxxx
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
--
Regards
Andre (anb0s)
eMail: anb0s@xxxxxxxx