启动 Jetpack Compose 应用程序时的核心转储

Core dump while staring a Jetpack Compose Application

我正在使用 Kubuntu 20.10 并尝试使用 Intellij Ultimate 2020.3 运行 项目示例 Compose-jb。用 gradle 构建后,我尝试 运行 这个例子,但每次都会出现以下错误:

 Task :run FAILED

 A fatal error has been detected by the Java Runtime Environment:

  SIGSEGV (0xb) at pc=0x00007fdcc01cad88, pid=6176, tid=6212

 JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12-Ubuntu-1)
 Java VM: OpenJDK 64-Bit Server VM (14.0.2+12-Ubuntu-1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
 Problematic frame:
 C  [libGLX.so.0+0x6d88]  glXCreateContext+0x18

我已经尝试过使用不同的 Jetpack Compose 项目和不同版本的 JDK,但每次都会出现相同的错误。

有谁知道如何解决这个问题?

从 Intellij 的 Flatpack 版本切换到从 Jetbrains Toolbox 安装的版本可以解决问题。