[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Luna & Mars CDT hangs during content assist
|
The state of the ³main² thread would be more interesting. That would be
where the hang is happening. Actually attaching the whole thread state
output to the bug would help too.
Doug.
On 2015-08-20, 11:06 AM, "cdt-dev-bounces@xxxxxxxxxxx on behalf of
Bossert, Andre" <cdt-dev-bounces@xxxxxxxxxxx on behalf of anb0s@xxxxxxxx>
wrote:
>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(SafeStringInte
>rner.java:34)
> at
>org.eclipse.cdt.core.settings.model.ACSettingEntry.<init>(ACSettingEntry.j
>ava:21)
> at
>org.eclipse.cdt.core.settings.model.ACPathEntry.<init>(ACPathEntry.java:38
>)
> at
>org.eclipse.cdt.core.settings.model.CIncludePathEntry.<init>(CIncludePathE
>ntry.java:31)
> at
>org.eclipse.cdt.core.settings.model.util.CDataUtil.createEntry(CDataUtil.j
>ava:352)
> at
>org.eclipse.cdt.core.settings.model.util.CDataUtil.createResolvedEntry(CDa
>taUtil.java:253)
> at
>org.eclipse.cdt.core.settings.model.util.CDataUtil.resolveEntries(CDataUti
>l.java:156)
> at
>org.eclipse.cdt.core.settings.model.util.CDataUtil.resolveEntries(CDataUti
>l.java:165)
> at
>org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettings
>ScannerInfoProvider.convertToLocations(LanguageSettingsScannerInfoProvider
>.java:253)
> at
>org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettings
>ScannerInfoProvider.getScannerInformation(LanguageSettingsScannerInfoProvi
>der.java:119)
> at
>org.eclipse.cdt.internal.core.language.settings.providers.LanguageSettings
>ScannerInfoProvider.getScannerInformation(LanguageSettingsScannerInfoProvi
>der.java:1)
> at
>org.eclipse.cdt.internal.core.model.TranslationUnit.getScannerInfo(Transla
>tionUnit.java:1057)
> at
>org.eclipse.cdt.internal.core.pdom.indexer.ProjectIndexerInputAdapter.getB
>uildConfiguration(ProjectIndexerInputAdapter.java:157)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.getScannerInfo(Abst
>ractIndexerTask.java:1013)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(Abstra
>ctIndexerTask.java:897)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractInd
>exerTask.java:554)
> at
>org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.run(PDOMIndexer
>Task.java:161)
> at
>org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuild
>Task.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(Writab
>leCIndex.java:121)
> at
>org.eclipse.cdt.internal.core.pdom.YieldableIndexLock.acquire(YieldableInd
>exLock.java:40)
> at
>org.eclipse.cdt.internal.core.pdom.PDOMWriter.storeSymbolsInIndex(PDOMWrit
>er.java:311)
> at
>org.eclipse.cdt.internal.core.pdom.PDOMWriter.addSymbols(PDOMWriter.java:2
>73)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.writeToIndex(Abstra
>ctIndexerTask.java:1279)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseFile(AbstractI
>ndexerTask.java:1094)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.parseLinkage(Abstra
>ctIndexerTask.java:898)
> at
>org.eclipse.cdt.internal.core.pdom.AbstractIndexerTask.runTask(AbstractInd
>exerTask.java:554)
> at
>org.eclipse.cdt.internal.core.pdom.indexer.PDOMIndexerTask.run(PDOMIndexer
>Task.java:161)
> at
>org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuild
>Task.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
>_______________________________________________
>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