JuliaGraphics / NativeFileDialog.jl

mlabbe/nativefiledialog julia wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segfaults

stephancb opened this issue · comments

julia> using NativeFileDialog
[ Info: Precompiling NativeFileDialog [e1fe445b-aa65-4df4-81c1-2041507f0fd4]

julia> pick_file()
xkbcommon: ERROR: failed to add default include path /workspace/destdir/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /workspace/destdir/share/X11/xkb

signal (11): Segmentation fault
in expression starting at REPL[8]:1
xkb_context_ref at /workspace/srcdir/libxkbcommon-0.9.1/build/../src/context.c:156
xkb_keymap_new at /workspace/srcdir/libxkbcommon-0.9.1/build/../src/keymap-priv.c:65
...

This is Fedora release 34 (Thirty Four). Both julia-1.6.3 and julia-1.7rc2 segfault.

I installed NativeFileDialog, and the test executables test_opendialog etc. then work as expected. That installation creates only a static library libnfd.a.

This looks like a problem related to this, basically it cannot found xkbcommon. It is weird given that xkbcommon is included in GTK3_jll as a dependency. I'll look into it later, maybe through a VM with fedora.

Thanks! :D