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

Segfaults #6

Open
stephancb opened this issue Oct 27, 2021 · 1 comment
Open

Segfaults #6

stephancb opened this issue Oct 27, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@stephancb
Copy link

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.

@Suavesito-Olimpiada
Copy link
Member

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

@Suavesito-Olimpiada Suavesito-Olimpiada self-assigned this Oct 27, 2021
@Suavesito-Olimpiada Suavesito-Olimpiada added the bug Something isn't working label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants