corretto / corretto-8

Amazon Corretto 8 is a no-cost, multi-platform, production-ready distribution of OpenJDK 8
GNU General Public License v2.0
2.11k stars 221 forks source link

macOS v12.1 x86 - java quit unexpectedly #435

Open gerhard opened 1 year ago

gerhard commented 1 year ago

Describe the bug

Running a viewer.jnlp for iDRAC 7 via OpenWebStart 1.7.0 on macOS v12.1 x86 results in:

java quit unexpectedly

To Reproduce

Given:

image

Opening the viewer.jnlp results in the folllowing error:

image

Expected behavior

I was expecting the iDRAC 7 virtual console to start view WebStart.

Additional context

2022-12-09_00:38:54.59-ows-stage2.log

navyxliu commented 1 year ago

hi, @gerhard Could you also paste the hotspot crash report (hs_err_your_pid.log)? Frames 8-13 are ??? in the screenshot because they are java frames. The HS crash report will indicate you whereabout in java.

From my reading, your application crashed because your java calls a native library 'SkyLight'. SLWindowListCopyWindowInfo failed to dispatch a dynamic function. Do you know what that library is? MacOS native debugger would be helpful to diagnose this issue.

gerhard commented 1 year ago

Hi @navyxliu,

I don't know where to find hs_err_your_pid.log, but I have attached the full java error, all 1.6k lines: java-corretto-8-crash.txt

This is the best explanation that I could find re SkyLight: https://eclecticlight.co/2020/06/08/windowserver-display-compositor-and-input-event-router/