-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Describe the bug
When running a Compose Multiplatform application on Linux, the application crashes (SIGSEGV) during video playback when using Microsoft's OpenJDK 21.0.9, but works correctly with the OpenJDK from the Linux distribution's software repositories.
Desktop (please complete the following information):
OS & version: Arch Linux
Desktop Environment: KDE
Window System: Wayland
MSFT Build of OpenJDK Version:
openjdk 21.0.9 2025-10-21 LTS
OpenJDK Runtime Environment Microsoft-12574458 (build 21.0.9+10-LTS)
OpenJDK 64-Bit Server VM Microsoft-12574458 (build 21.0.9+10-LTS, mixed mode, sharing)
Installation Method: AUR package (https://aur.archlinux.org/packages/microsoft-openjdk-21-bin)
To Reproduce:
Steps to reproduce the behavior:
- Install Microsoft OpenJDK 21.0.9 from AUR (microsoft-openjdk-21-bin)
- Run a Compose Multiplatform application that includes video playback functionality
- Navigate to the video playback feature in the application
- Start video playback
- Application crashes with SIGSEGV error
Expected behavior
The application should play videos without crashing, as it does when using the distribution's OpenJDK.
Screenshots, Logs etc
Crash log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fec998d80a1, pid=1377235, tid=1377425
#
# JRE version: OpenJDK Runtime Environment Microsoft-12574458 (21.0.9+10) (build 21.0.9+10-LTS)
# Java VM: OpenJDK 64-Bit Server VM Microsoft-12574458 (21.0.9+10-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libstdc++.so.6+0xd80a1] char32_t std::(anonymous namespace)::read_utf8_code_point<char>(std::(anonymous namespace)::range<char const, true>&, unsigned long)+0x11
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /home/xxxx/source/FlyNarwhal/composeApp/core.1377235)
#
# An error report file with more information is saved as:
# /home/xxxx/source/FlyNarwhal/composeApp/hs_err_pid1377235.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/microsoft/openjdk/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
> Task :composeApp:run FAILED
5 problems were found reusing the configuration cache.
- Task `:composeApp:buildAuthxVerifierBinary` of type `org.gradle.api.tasks.Exec`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.13/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:composeApp:generateAuthxVerifierSecret` of type `org.gradle.api.tasks.Exec`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.13/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:composeApp:prepareAuthxVerifierResources` of type `org.gradle.api.tasks.Copy`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.13/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:composeApp:prepareAuthxVerifier` of type `org.gradle.api.tasks.Copy`: cannot deserialize Gradle script object references as these are not supported with the configuration cache.
See https://docs.gradle.org/8.13/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:composeApp:prepareAuthxVerifier` of type `org.gradle.api.tasks.Copy`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.13/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
See the complete report at file:///home/xxxx/source/FlyNarwhal/build/reports/configuration-cache/3zuq3xgosupiygjmszk73qzws/8op59e95f4uwoc2oaqi078zp4/configuration-cache-report.html
[Incubating] Problems report is available at: file:///home/xxxx/source/FlyNarwhal/build/reports/problems/problems-report.html
s(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':composeApp:run'.
> Process 'command '/usr/lib/jvm/java-21-microsoft-openjdk/bin/java'' finished with non-zero ex16 actionable tasks: 2 executed, 14 up-to-date
Configuration cache entry reused with 5 problems.
it value 134
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.