Bug 2160405 - Opening an AWT FileDialog crashes the JVM
Summary: Opening an AWT FileDialog crashes the JVM
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: java-17-openjdk
Version: 37
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-12 10:05 UTC by ptitjes
Modified: 2023-12-07 14:53 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-07 14:53:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Crash log (168.07 KB, text/plain)
2023-01-12 10:05 UTC, ptitjes
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github JetBrains compose-jb issues 2249 0 None open [compose-gradle-plugin] run task makes AWT segfault 2023-01-12 10:05:07 UTC

Description ptitjes 2023-01-12 10:05:07 UTC
Description of problem:
When opening an AWT FileDialog inside Compose for Desktop on a OpenJDK 17.0.5 JVM, the JVM crashes on Cairo call.

Version-Release number of selected component (if applicable):

Fedora 37 / Wayland
Kernel 6.0.18-300.fc37.x86_64
JRE version: OpenJDK Runtime Environment (Red_Hat-17.0.5.0.8-1.fc37) (17.0.5+8) (build 17.0.5+8)
Java VM: OpenJDK 64-Bit Server VM (Red_Hat-17.0.5.0.8-1.fc37) (17.0.5+8, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

How reproducible:
Clone the reproduction repository: https://github.com/ptitjes/repro-compose-issue-2249

Steps to Reproduce:
1. At the root of the repository, run `./gradlew run`.
2. A window opens with an "Open" button. Click on the "Open" button.

Actual results:
The JVM crashes.

Expected results:
A native GTK file dialog opens.

Additional info:
Works correctly on Arch and Ubuntu 22.04.

Comment 1 ptitjes 2023-01-12 10:05:42 UTC
Created attachment 1937557 [details]
Crash log

Comment 2 Aoife Moloney 2023-11-23 00:57:33 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2023-12-07 14:53:58 UTC
Fedora Linux 37 entered end-of-life (EOL) status on 2023-12-05.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.