PatS
PatS

Reputation: 11524

IntelliJ crashes when navigating to a markdown file

I'm working in an environment where I'm forced to use the community version (IDEA 2024.1) and when I navigate to a Markdown file (*.md) (e.g., Readme.md) file, IntelliJ crashes.

I was able to reproduce this in a brand new project, just creating the Markdown file

src/main/java/com/example/Readme.md

and then trying to open it inside of IntelliJ.

Since I've always used the Ultimate verison (and never seen this) I'm not sure if this is a problem with only the community version or not.

I'm not able to send the actual log files but when I did a tail -f on the idea.log file only two lines were printed before IntelliJ crashed.

2025-02-25 . . . WARN - #c.i.s.ComponentManagerImpl - com.intellij.ui.jcef.JBCefApp$Holder <clinit> requests com.intellij.ui.jcef.JBCefAppCache instance. Class initialization must not depend on services.  Consider using instance of the service on-demand instead.

2025-02-25 . . . FATAL:suid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly.  Rather than run without sandboxing I'm aborting now.  You need to make sure that /home/user1/.apps/intellij/jbr/lib/chrome/sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

NOTE: I don't have root on this this host (a shared dev host), so I'm not able to make that file suid root.

Upvotes: 0

Views: 24

Answers (1)

PatS
PatS

Reputation: 11524

A work around was to rename all of the *.md files to *.md.txt using the following

find . -type f | grep '\.md$' | xargs -n1 -I{} mv {} {}.txt

IntelliJ support has stated that this bug has been fixed in the latest IntelliJ release 2024.3.

Upvotes: 0

Related Questions