AsciidocFX
AsciidocFX copied to clipboard
Crash on Debian 9 (Stretch - testing in soft freaze)
Hello,
I downloaded the application and tryed to start it.
It failed
[AsciidocFX] ./AsciidocFX 11:40:15
Gtk-Message: Failed to load module "canberra-gtk-module"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f61a3334ef8, pid=5048, tid=0x00007f61b9e60700
#
# JRE version: OpenJDK Runtime Environment (8.0_111-b14) (build 1.8.0_111-8u111-b14-3-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libjfxwebkit.so+0x1883ef8]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ieugen/local/programe/AsciidocFX/hs_err_pid5048.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
I have uploaded the log file in case it helps: hs_err_pid5048.txt
Hello, I suppose it could be a JDK bug.
Firstly, I think you can try AsciidocFX on Oracle JDK. In addition to that, you can try to install http://askubuntu.com/questions/342202/failed-to-load-module-canberra-gtk-module-but-already-installed , related to this output. Gtk-Message: Failed to load module "canberra-gtk-module".
@rahmanusta : Thanks for the quick reply and the canberra pointer. I don't have Oracle JDK yet. Do you know if AsccidocFX is working/tested on OpenJFX? I use mostly free software on my systems.
I suppose it should work with OpenJDK. It could be a OpenJDK bug or a system issue. Could you please try canberra first to see what is happening.
Thanks.
@rahmanusta It works if I download the version with bundled JRE. Hoewever I know there are legal issues with distributing the JRE [1] . FYI, I thought you should know.
p.s. Making the uild pass on OpenJDK would be cool :)
[1] http://opensource.stackexchange.com/questions/4824/is-it-legal-to-bundle-oracles-jre-with-an-open-source-program/4826
Thank you @ieugen, I will try to move OpenJDK. Where can I find OpenJDK builds?
I don't have a lot of expertise, but I found these links that might be helpful:
[1] https://github.com/libgdx/libgdx/wiki/Bundling-a-JRE - > https://github.com/alexkasko/openjdk-unofficial-builds [2] https://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm [3] https://github.com/javafx-maven-plugin/javafx-maven-plugin
I hope it helps.
p.s. I know JavaFx apps use javapfxackager as a way to distribute apps.
not sure if this is related, but just tried installing on Ubuntu 16.04. The "with" and "without" packages didn't seem to be working, so I just built from github, and tried. My immdeiate goal was slides, so tried that. Ok, but next step was open the asciidoc cheatsheet (nice); renders and ... boom!
I did install oracle-java8 (didn't know if OpenJDK was the initial limitation).
This segv was:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f6b325b4589, pid=12485, tid=0x00007f6aeedfe700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libfontconfig.so.1+0x19589]
#
# Failed to write core dump. 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:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x00007f6bb05ee800): JavaThread "ForkJoinPool-1-worker-10" daemon [_thread_in_native, id=12673, stack(0x00007f6aeecfe000,0x00007f6aeedff000)]
...
Let me know if you'd like the log file...
Can you please try v1.7.0 https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.7.0 ?