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

Segfault on xkb map not found #4303

Closed
brandsimon opened this issue Jul 3, 2019 · 4 comments
Closed

Segfault on xkb map not found #4303

brandsimon opened this issue Jul 3, 2019 · 4 comments

Comments

@brandsimon
Copy link

Version: 1.1.1-3 (archlinux)
Debuglog: https://gist.github.com/brandsimon/e979d676724b1be818d26025681b918f
Config: I used the default config, just replaced $term with xfce4-terminal

How to reproduce:
I just try to use the absolute path for an xkb file, but any not existing file should do:

swaymsg input 1:1:AT_Translated_Set_2_keyboard xkb_layout /usr/share/X11/xkb/symbols/us

Stack trace:

Core was generated by `sway -c sway_config -d'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff2c7f25433 in xkb_keymap_ref () from /usr/lib/libxkbcommon.so.0
[Current thread is 1 (Thread 0x7ff2c68223c0 (LWP 25745))]
(gdb) bt full
#0  0x00007ff2c7f25433 in xkb_keymap_ref () at /usr/lib/libxkbcommon.so.0
#1  0x00007ff2c7f25471 in xkb_state_new () at /usr/lib/libxkbcommon.so.0
#2  0x000055a0d0078a3f in  ()
#3  0x000055a0d0095e89 in  ()
#4  0x000055a0d0096407 in  ()
#5  0x000055a0d0097603 in  ()
#6  0x00007ff2c800f7f2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#7  0x00007ff2c800e39c in wl_display_run () at /usr/lib/libwayland-server.so.0
#8  0x000055a0d005653c in  ()
#9  0x00007ff2c860eee3 in __libc_start_main () at /usr/lib/libc.so.6
#10 0x000055a0d005698e in  ()
@emersion
Copy link
Member

emersion commented Jul 3, 2019

This stack trace is missing debug information. Please compile sway manually (or install sway-git from AUR, if you're using Arch).

@Emantor
Copy link
Contributor

Emantor commented Jul 3, 2019

You are also probably interested in #3999.

@RedSoxFan
Copy link
Member

This should be fixed by #4173

@brandsimon
Copy link
Author

@RedSoxFan Great, thank you very much!
@Emantor Thank you for the hint! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants