corretto / corretto-21

GNU General Public License v2.0
73 stars 19 forks source link

JRE crashes with EXCEPTION_ACCESS_VIOLATION after closing a JavaFX application using IntelliJ. #44

Open jamhour1g opened 9 months ago

jamhour1g commented 9 months ago

Describe the bug

JRE crashes with EXCEPTION_ACCESS_VIOLATION after closing a dialog in JavaFX.

To Reproduce

Just open a dialog in JavaFX and close(interrupt) the dialog from the IDE. Note: it doesn't happen with all dialogs just this one

How to Reproduce video

Expected behavior

For the dialog and the app to stop and return code 130 (since it's an interruption of the running process ) without the JRE throwing an exception

Platform information

OS: Windows 11
Version : corretto-21.0.2

Error report file:

hs_err_pid17808.log

Source code

Available upon request if there is an issue with JRE and the code might help.

Note: This app is only a basic GUI for interacting with a database for a database course at the university.

lutkerd commented 9 months ago

The crash appears to be in the OpenJFX Glass module native code and not in Corretto. Have you tried the latest OpenJFX 21.0.2 build? It looks like you might still be in 21.0.1+6.

Stack: [0x000000a008000000,0x000000a008100000],  sp=0x000000a0080ff3b0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [glass.dll+0x26587]
jamhour1g commented 9 months ago

The crash appears to be in the OpenJFX Glass module native code and not in Corretto. Have you tried the latest OpenJFX 21.0.2 build? It looks like you might still be in 21.0.1+6.

Stack: [0x000000a008000000,0x000000a008100000],  sp=0x000000a0080ff3b0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [glass.dll+0x26587]

I tested it with OpenJFX 21.0.1+6, and the issue persists. Anyhow, I appreciate your assistance. I'm going to submit a bug report to the OpenJFX Repository.