[Wayland] Qtile crashes after exiting program that played fullscreen video
See original GitHub issueWhen using for instance Firefox or mpv to play a fullscreen video, Qtile (current git master) crashes when exiting the program. So in the case of mpv Qtile crashes immediately after the video, but in the case of Firefox I can play multiple Youtube videos and it will only crash after exiting Firefox. In both programs I can also toggle endlessly between fullscreen and windowed (tiled) without problems.
I’ve reproduced this problem after checking out a fresh copy of the git repo by using the wephyr
script in the repo after setting up a development environment with dev.sh
from the repo.
This is the traceback causing the crash after exiting Firefox:
Exception ignored from cffi callback <function notify_func at 0x7fdde8862b00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7fdde8862b00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7fdde8862b00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7fdde8862b00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
free(): invalid next size (fast)
And this is the traceback after exiting mpv:
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
Exception ignored from cffi callback <function notify_func at 0x7f09e513eb00>:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pywayland/server/listener.py", line 32, in notify_func
data = listener._signal._data_wrapper(data)
File "/usr/lib/python3.10/site-packages/wlroots/wlr_types/surface.py", line 26, in __init__
self.commit_event = Signal(ptr=ffi.addressof(self._ptr.events.commit))
AttributeError: cdata 'void *' has no attribute 'events'
free(): invalid size
Issue Analytics
- State:
- Created 2 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Totally messed up fullscreen · Issue #729 · qtile/qtile - GitHub
Play video and click on fullscreen. Actual results: Fullscreen window is somewhere below, because focus is returned to the different window. I ...
Read more >Wayland - ArchWiki - Arch Linux
Wayland is a display server protocol. It is aimed to become the successor of the X Window System. You can find a comparison...
Read more >Using exclusive fullscreen on Wayland causes crash on startup
Start Veloren through airshipper. Enter multiplayer. Choose exclusive fullscreen in settings. Quit. Restart. Relevant logs and/or screenshots.
Read more >Qtile Documentation - Read the Docs
Stable versions of Qtile are currently packaged for Arch Linux. To install this package, run: pacman -S qtile. Please see the ArchWiki for...
Read more >106713 – Freezing on fullscreen when using Wayland and/or ...
If I start F1 2017 (Vulkan) on Plasma on Wayland in fullscreen mode ... But once the games tries to play the into...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@m-col I don’t see an option to reopen this issue, but I’m afraid it’s not fixed. I’m now running the current git master with pywayland 0.4.11 and pywlroots 0.15.9.
This should be fixed now with v0.4.11 of pywayland. Please re-open if you update to pywayland and find that it is not fixed.