intellij-elixir icon indicating copy to clipboard operation
intellij-elixir copied to clipboard

IntelliJ hangs with unusual popup when editing large doc block

Open maxmarcon opened this issue 1 year ago • 2 comments

Describe the bug

When editing a large doc block, IntelliJ hangs showing an unusual popup that offers you to "dump threads".

To Reproduce Steps to reproduce the behavior:

  1. Unzip and open this Elixir file: scratch_315.ex.zip
  2. Try to edit the doc block for the function
  3. Pretty soon, IntelliJ should hang with the screenshot below. Notice the small popup with the "dump threads" option (no idea what this is, never seen it before)

Screenshots image

Logs idea-logs-20220824-114738123917161004888237.zip

Desktop:

  • OS: MacOS
  • Version 12.5.1

Erlang:

  • Installer asdf
  • Version 24

Elixir:

  • Installer asdf
  • Version 1.13.4

Plugin:

  • Version 13.2.0

maxmarcon avatar Aug 24 '22 15:08 maxmarcon

I've never seen the Dump Threads options either, but I assume it dumps all the threads like the automated system for when the UI hangs and make the threadDump folders that I can use for performance debugging, so yeah, click dump threads next time and attach a zip of the thread dumps.

KronicDeth avatar Aug 30 '22 23:08 KronicDeth

Sorry I realize this wasn't clear from my message: the dump thread button doesn't work, if I click on it nothing happens. All I can do is kill and restart IntelliJ. I attached the IntelliJ logs to my message. I initially filed the bug report to JetBrains, they looked at those logs and concluded it was probably the plugin, so that's why I reopened it here. Are the logs enough to debug the problem or do you need something else?

maxmarcon avatar Aug 31 '22 10:08 maxmarcon