bell-sw / Liberica

Free and 100% open source Progressive Java Runtime for modern Java™ deployments supported by a leading OpenJDK contributor
https://bell-sw.com/pages/libericajdk/
GNU General Public License v2.0
299 stars 28 forks source link

ARM M2: JavaFX crashes when second scene opened. #134

Open bowring opened 1 year ago

bowring commented 1 year ago

Liberica Java Version: 20.0.2 JavaFX Version: 20.0.2+1+b01 OS: Mac OS X 13.5

Issue details: JavaFX program runs fine on Mac Intel and on ARM M2 using Win11 via Parallels. It crashes on ARM M2 when opening a second scene that invokes services/tasks. To replicate bug: 1) clone https://github.com/CIRDLES/Tripoli 2) build and run TripoliApp using Liberica 20.0.2 Full 3) click menu: Session / Open Demonstration Session 4) double click any of the analyses that appear on the right to open Analysis Manager 5) click the bottom right button "Process / Plot blocks using MCMC" 6) note new window appears for an instant and then Java crashes. 7) using Intellij in debug mode, set a breakpoint at: line 634 of https://github.com/CIRDLES/Tripoli/blob/main/TripoliApp/src/main/java/org/cirdles/tripoli/gui/AnalysisManagerController.java 8) set a breakpoint at: line 77 of https://github.com/CIRDLES/Tripoli/blob/main/TripoliApp/src/main/java/org/cirdles/tripoli/gui/dataViews/plots/plotsControllers/mcmcPlots/MCMCPlotsWindow.java 9) follow steps 3-5 above 10) step over line 634 and subsequent lines (or just run to next breakpoint at line 77 in step 8) 11) executing line 77 from step 8 crashes Java 12) see attached logs:

replay_pid93645.log hs_err_pid93645.log

Thank you!

bowring commented 1 year ago

Followup - also true with Azul Zulu build. Is the problem purely with JavaFX?

bowring commented 11 months ago

Since no one has responded, I submitted to Oracle Java Bug Database.