IntelliJ (2024.1) Random Crash Several Times a Day with Data Loss

Answered

Ever since upgrading to IntelliJ 2024.1, it has been crashing 2-3 times daily, after which  recent edits are lost (I'm now having to press ‘Save’ several times for fear of data loss.

 

I have submitted all the crash reports to IntelliJ, with the latest one being https://ea.jetbrains.com/browser/ea_reports/25638440 

Is there a known issue? Are there available workarounds?

Here's part of the crash report (full version is attached in the report above):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000019fdfc6ac, pid=66322, tid=259
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.10+8-1207.12-jcef (17.0.10+8) (build 17.0.10+8-b1207.12)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.10+8-1207.12-jcef (17.0.10+8-b1207.12, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C  [libobjc.A.dylib+0x86ac]  objc_release+0x8
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
0
3 comments

It seems that this is could be the cause: https://youtrack.jetbrains.com/issue/JBR-6817/SIGSEGV-0xb-at-libawtlwawt.dylib0x8e618-MTLGCDestroyMTLGraphicsConfigblockinvoke0x20

 

Will attempt this to see if it solves the issue

(Recommendation from the thread)

* Set `-Dsun.java2d.metal=false` in Help > Edit Custom VM Options
* Restart IDE

1

Hello,

Looks like the issue you mentioned. Please let us know if setting VM option helps.

0

Hello.

 

Yes, it seems to be this problem. After setting it, I haven't experienced the crash again.

0

Please sign in to leave a comment.