Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native file chooser dialog crashes in Linux Mint #17

Closed
berry120 opened this issue Jul 24, 2018 · 5 comments

Comments

@berry120
Copy link
Member

commented Jul 24, 2018

As reported by a few separate users now.

(Need to fire up Mint in a VM and confirm. Seems ok in standard Ubuntu.)

@berry120 berry120 self-assigned this Jul 24, 2018

@berry120 berry120 added this to the 2019.0 milestone Jul 24, 2018

@berry120

This comment has been minimized.

Copy link
Member Author

commented Jul 24, 2018

(This may just be the case in the new snap build.)

@ipikles

This comment has been minimized.

Copy link
Contributor

commented Jul 24, 2018

This might be unrelevant, but when I compile your code on master branch against JDK 10 I, too, encounter a crash. If I run 2018.1 version (prebuilt official release, using JRE 10) all file chooser menus works just fine. The fact that official release worked made me doubt myself, my java installation and JDK 10. But in hope these issues are related and might prove use for you, here are some crash logs.

First of all, actual crash happens, in this case, /Quelea/src/main/java/org/quelea/data/ScheduleSaver.java:61
File selectedFile = chooser.showSaveDialog(QueleaApp.get().getMainWindow());

INFO: Created main window.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f86679f9770, pid=24779, tid=24821
#
# JRE version: Java(TM) SE Runtime Environment (10.0.2+13) (build 10.0.2+13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0.2+13, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libpthread.so.0+0x9770]  pthread_mutex_lock+0x0
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to /home/lauri/code/Quelea/Quelea/dist/core.24779)
#
# An error report file with more information is saved as:
# /home/lauri/code/Quelea/Quelea/dist/hs_err_pid24779.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.
#
Aborted (core dumped)

hs_err_pid24779.log

$ uname -a
Linux avadon 4.14.56-1-MANJARO #1 SMP PREEMPT Tue Jul 17 13:20:49 UTC 2018 x86_64 GNU/Linux
$ java -version
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
@berry120

This comment has been minimized.

Copy link
Member Author

commented Jul 24, 2018

@ipikles

This comment has been minimized.

Copy link
Contributor

commented Jul 24, 2018

After hours of work and googling I got it work!

You must add JVM option -DVLCJ_INITX=no

For more details, see caprica/vlcj-javafx#10

@berry120

This comment has been minimized.

Copy link
Member Author

commented Jul 24, 2018

@berry120 berry120 closed this Jul 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.