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

Segmentation Fault after new Commit #14

Closed
ChessMan14 opened this issue Dec 14, 2023 · 5 comments
Closed

Segmentation Fault after new Commit #14

ChessMan14 opened this issue Dec 14, 2023 · 5 comments

Comments

@ChessMan14
Copy link

Hi there, love the project, but I updated it today and it started segfaulting before the window appears.

GDB says the segfault has something to do with X:

Thread 1 "urn-gtk" received signal SIGSEGV, Segmentation fault.
0x00007ffff6f3a27f in XkbGetUpdatedMap () from /usr/lib/libX11.so.6

BTW, I'm using wayland (but I've tried xwayland too) on arch linux.

@paoloose
Copy link
Owner

paoloose commented Dec 14, 2023

Thanks for reporting :) I don't think this is related to latest commits since they basically just update documentation.

Maybe you are dealing with the same problem of this thread: #9

TL;DR: Wayland doesn't support global hotkeys, so your options are to disable them gsettings set wildmouse.urn global-hotkeys false or forcing an X11 backend:

GDK_BACKEND=x11 urn-gtk
# instead of just running urn-gtk

@ChessMan14
Copy link
Author

I've already been setting the gdk backend

@paoloose
Copy link
Owner

What about disabling global hotkeys?

@ChessMan14
Copy link
Author

For some reason, disabling global hotkeys, launching urn, closing it, and then enabling hotkeys seems to fix the crashing issue and allows global hotkeys to work.

@paoloose
Copy link
Owner

Weird. Well, feel free to reopen this if it happens again :)

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

No branches or pull requests

2 participants