Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE freeze seen on Windows in remote mode - UI tests #28

Open
TheAmg opened this issue Aug 7, 2024 · 0 comments
Open

IDE freeze seen on Windows in remote mode - UI tests #28

TheAmg opened this issue Aug 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheAmg
Copy link
Contributor

TheAmg commented Aug 7, 2024

Describe the bug

Running the full UI test suite on windows will cause the IDE window to freeze and become unresponsive by the end of test case 31.

On closing the IDE and reopening without clean the following exception is seen -
[Doesn't happen if case is run in isolation, seen twice at the same point if the whole suite is run].

Freeze for 178 seconds
IDE KILLED! Sampled time: 152000ms, sampling rate: 100ms, GC time: 2134ms (1%), Class loading: 0%, cpu load: 2%

The stack is from the thread that was blocking EDT

com.intellij.diagnostic.Freeze
	at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
	at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
	at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:715)
	at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1047)
	at [email protected]/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:230)
	at com.insidious.plugin.client.NetworkSessionInstanceClient.getClassMethodAggregates(NetworkSessionInstanceClient.java:1111)
	at com.insidious.plugin.factory.InsidiousService.getClassMethodAggregates(InsidiousService.java:1564)
	at com.insidious.plugin.inlay.InsidiousInlayHintsCollector.collect(InsidiousInlayHintsCollector.java:176)
	at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:92)
	at com.intellij.codeInsight.hints.InlayHintsPass.doCollectInformation$lambda$0(InlayHintsPass.kt:47)
	at com.intellij.codeInsight.hints.InlayHintsPass$$Lambda$4276/0x0000000102106bf8.process(Unknown Source)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
	at com.intellij.concurrency.ApplierCompleter$$Lambda$7461/0x0000000102ee7668.run(Unknown Source)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1111)
	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
	at com.intellij.concurrency.ApplierCompleter$$Lambda$4286/0x0000000102109d40.run(Unknown Source)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
	at com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$813/0x0000000100981590.compute(Unknown Source)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:86)
	at [email protected]/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
	at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Reproduction steps

  1. Run full UI test suite on a Windows system

Expected behavior

For the UI freeze to not occur and the cases to proceed without issue.

Additional context

server_logs.txt.txt

@TheAmg TheAmg added the bug Something isn't working label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant