IDE freezes when opening any markdown file
See original GitHub issueWith latest version of IJ and the plugin on macos 10.13.3, the IDE is freezing more or less always (8 out of 10) when opening a markdown file while using the javafx preview mode. From the logs this might be relevant:
"AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: WAITING
on java.util.concurrent.CountDownLatch$Sync@2a4dee35
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:337)
at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:307)
at com.vladsch.idea.multimarkdown.editor.javafx.JavaFxHtmlPanel.<init>(JavaFxHtmlPanel.kt:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.vladsch.idea.multimarkdown.editor.javafx.JavaFxHtmlPanelProvider.createHtmlPanel(JavaFxHtmlPanelProvider.kt:87)
at com.vladsch.idea.multimarkdown.editor.PreviewFileEditorBase$setUpPanel$1.run(PreviewFileEditorBase.kt:444)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:246)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:417)
at com.intellij.util.Alarm$Request.access$700(Alarm.java:344)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:384)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:424)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.j(IdeEventQueue.java:822)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
When using the JB provided markdown plugin with the fx preview.
Issue Analytics
- State:
- Created 6 years ago
- Comments:28 (15 by maintainers)
Top Results From Across the Web
Opening any Markdown file freezes IntelliJ IDEA - YouTrack
Create or open any markdown file. What is the expected result? Able to edit markdown file. What happens instead? IDEA freezes and I...
Read more >Visualstudio crashes when loading markdown file
When loading a the README.md (markdown file), VS crashes. The problematic markdown file is attached. Seems like the combination of a codeblock, ...
Read more >RStudio hanging when loading my .Rmd file
I made a few changes today and RStudio crashed while executing one of cells. When I try to reload the .Rmd file, it...
Read more >Rstudio sometimes freezes a few seconds after opening or ...
Rstudio intermittently freezes a few seconds after opening an RMD file, or (in cases where the RMD file was loaded on startup), after...
Read more >Running code from a markdown file in rstudio crashes ... - Reddit
However, if I try and run a line of code from my script using cmd+enter nothing happens - no progress indicator, no way...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have same problem with Markdown support plugin. OS: Ubuntu 19 Phpstorm: 2019.1.3
After switching to Markdown navigation all works fine
Thank you for the encouraging feedback.
Wait till you try the next version. It is ultra fast compared to previous releases and has a ton of bug fixes, including some intermittent ones that I could not reproduce for two years.
I cannot wait to have an EAP release so others can enjoy the speed gain and performance, while I take a short break to catch up on sleep. 😄