asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.86k stars 297 forks source link

Consistent Crash on macOS Ventura #598

Closed rucotec closed 2 months ago

rucotec commented 11 months ago

Installed AsciidocFX first with homebrew, deinstalled, downloaded the DMG directly from github, but the result was always the same: The menubar is intitialized, 1-2 seconds later a large window is opened with some content inside. Window stays open for a second (not enough time to what's in there) then the app crashes hard. Here is the beginning of the log (full file attached) hs_err_pid79156.log.zip


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00004624bfe04c04, pid=79156, tid=259
#
# JRE version: OpenJDK Runtime Environment Temurin-20.0.1+9 (20.0.1+9) (build 20.0.1+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-20.0.1+9 (20.0.1+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C  0x00004624bfe04c04
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Dfile.encoding=UTF-8 -Dinstall4j.launcherId=24 -Dinstall4j.swt=false -Dexe4j.moduleName=/Applications/AsciidocFX/AsciidocFX.app -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -Xms256M -Xmx1024M --enable-preview -Djava.awt.headless=false -Dsun.java2d.metal=true -Djavafx.autoproxy.disable=true -Dorg.apache.xml.dtm.DTMManager=org.apache.xml.dtm.ref.DTMManagerDefault --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene.layout=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene.text=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.event=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.reflect=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.beans=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.binding=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-opens=javafx.base/com.sun.javafx.collections=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.scenario.effect.impl.prism=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.css=ALL-UNNAMED --add-opens=javafx.base/com.sun.javafx.collections=javafx.web --add-opens=javafx.controls/javafx.scene.control=ALL-UNNAMED --add-exports=javafx.base/com.sun.javafx.property=ALL-UNNAMED --add-exports=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-modules=ALL-MODULE-PATH --add-modules=javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web -Di4j.ownBundlePath=/Applications/AsciidocFX/AsciidocFX.app -Di4j.jreBundle=/Applications/AsciidocFX/AsciidocFX.app/../.install4j/jre.bundle com.install4j.runtime.launcher.MacLauncher

Host: "MacBookPro16,1" x86_64 2400 MHz, 16 cores, 64G, Darwin 22.5.0, macOS 10.16 (22F82)
Time: Mon Jul 24 18:05:47 2023 CEST elapsed time: 6.233860 seconds (0d 0h 0m 6s)
rahmanusta commented 8 months ago

Please try https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.8.6

rucotec commented 8 months ago

Just tried it, unfortunately still crashing. Attached are all the logs incl. the Apple crash dump. Hope you can make sense of these. Maybe the issue is with Apple?



On 14 Oct 2023, at 11:48, Rahman Usta @.***> wrote:

Please try https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.8.6

— Reply to this email directly, view it on GitHub https://github.com/asciidocfx/AsciidocFX/issues/598#issuecomment-1762780219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFMS6WKBWO5IHRN6YKTK73X7JNVLAVCNFSM6AAAAAA2V2NMZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRSG44DAMRRHE. You are receiving this because you authored the thread.

Markus Ruggiero

rucotec GmbH web https://rucotec.ch Leonhardsberg 1 email @.*** 4051 Basel / Switzerland mobile +41 79 508 4701

rahmanusta commented 8 months ago

Can you attach the new logs? The issue is connected to openjdk or open javafx.

You install with the AsciidocFX_Mac.dmg, not the AsciidocFX_Mac_M1.dmg right?

rucotec commented 8 months ago

I did attach the logs when replying by mail. Seems they got lost. So here again right now answering in Github:

Intel Mac, installed the Intel version https://github.com/asciidocfx/AsciidocFX/releases/download/v1.8.6/AsciidocFX_Mac.dmg

asciidocfx.log hs_err_pid63981.log asciidocfx_apple_crash.log

rahmanusta commented 8 months ago

Thank you, I reported the issue to the openjdk team. Let's see how it goes.

rseifried commented 7 months ago

same for me. Ventura 13.6.1 I had to go back to version 1.7.4.

rucotec commented 2 months ago

Just tried V1.8.9 ! Success! It works. Thanks to whoever fixed it!

rahmanusta commented 2 months ago

I’m glad that it works!