-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Luanalysis freeezes CLion #42
Comments
I'm unable to access that link. Could you please provide some details? Like, a lot more details 😉 |
Sorry,apparently JetBrains people removed my YouTrack Request. There have been a few comments there. JetBrains people told me logs showed Luanalysis was in tight loop. I attach the same logs I sent to Jetbrains I am available for further tests, if needed. Thanks in Advance |
Just had a very quick look at those logs and I don't see any evidence of a tight loop. However, there is this blocking a thread:
I actually ran into this at one stage in the past, after upgrading IntelliJ version. I've not done enough research to claim with any degree of certainty, however it does look a lot like a bug in the JBR (Jetbrains' Java Runtime), or possibly the Kotlin compiler. The line in question is this: It's running the
I'm of the opinion there's a bug in something Jetbrains, either the JBR or the Kotlin compiler. However, that's not to say there isn't also something wrong with Luanalysis (e.g. something cyclical). I can't reproduce this (at the moment) in order to debug, but I'll have a think about the static initializers and see if I can identify any problem areas. |
So, I was able to reproduce the problem. Actually running Luanalysis tests, not an interactive IDE instance. I've refactored a bit to mitigate the issue, and I can no longer reproduce the problem. I can certainly see why static initialization was (and still is) rather complicated for the runtime. However my current understanding is that what was already there should have been working fine. |
Should I wait for next Luanalysis update or should I try re-enabling it now? |
You can wait for the next release, build master, or use the attached build: I should probably add that whilst |
Per your message on Discord, I've installed this temp fix. Certainly seems (a) not to crash Rider and (b) not to produce regular stack-overflow errors so that's great :) Is there a way to be notified when it becomes the 'live' JetBrains plugins version (so I know to switch over)? Thanks |
Environment
CLion completely freezes shortly after startup.
Please see: https://intellij-support.jetbrains.com/hc/en-us/requests/3094347
I "solved" the issue disabling Luanalysis plugin.
What should I do?
TiA!
Mauro
The text was updated successfully, but these errors were encountered: