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

pywlroots 0.15.24: Keyboard.set_keymap causes segmentation fault #120

Closed
heuer opened this issue May 12, 2023 · 3 comments
Closed

pywlroots 0.15.24: Keyboard.set_keymap causes segmentation fault #120

heuer opened this issue May 12, 2023 · 3 comments

Comments

@heuer
Copy link
Contributor

heuer commented May 12, 2023

I know, wlroots 0.15 is old, but systems like Debian still ship with the old version and projects like Qtile rely on the pywlroots 0.15.x.

Code to reproduce the problem: python -m tiny

tiny won't show up but deliver a segmentation fault.

Change the line in https://github.com/flacjacket/pywlroots/blob/v0.15.x/tiny/server.py#L355 to

print('before set_keymap')
keyboard.set_keymap(keymap)
print('after set_keymap')

And you'll see that "after set_keymap" is never printed.

I haven't tested pywlroots versions < 0.15.24

@heuer
Copy link
Contributor Author

heuer commented May 12, 2023

I haven't tested pywlroots versions < 0.15.24

Now tested versions 0.15.23 down to 0.15.19. All suffer from the same problem.

@heuer
Copy link
Contributor Author

heuer commented May 12, 2023

Utilized wlroots-dev version:

~> apt list --installed | grep libwlroots

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libwlroots-dev/testing,unstable,now 0.15.1-6 amd64  [installiert]
libwlroots10/testing,unstable,now 0.15.1-6 amd64  [Installiert,automatisch]

@heuer
Copy link
Contributor Author

heuer commented May 13, 2023

I guess you can mark this issue as "Invalid". I get the same error on wlroots 0.16 / pywlroots 0.16.
I still haven't figured out what's going wrong there though

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