Hyprland: Random crashes during screen sharing session

Hyprland Version

Hyprland, built from branch at commit 96d555e8e794627bfc561e294e148ab8a9961fcc dirty (). Tag: v0.29.1

Bug or Regression?

Bug

Description

When doing Screensharing (reproduced so far with Microsoft Teams) entire Hyprland session crashes in irregular intervals. The crash can usually happens within the first 5 minutes but can take up to an hour to be triggered.

Versions:

extra/xdg-desktop-portal-hyprland 0.5.0-1 (73.0 KiB 197.8 KiB) (Installed)
    xdg-desktop-portal backend for hyprland
extra/hyprland 0.29.1-1 (7.6 MiB 11.8 MiB) (Installed)
    a highly customizable dynamic tiling Wayland compositor

Hyprland, built from branch  at commit 96d555e8e794627bfc561e294e148ab8a9961fcc dirty ().
Tag: v0.29.1

How to reproduce

  • join a call on teams
  • start screensharing
  • “do stuff” and wait for the crash to happen.

Crash reports, logs, images, videos

Stack trace of thread 1492:
#0  0x00007fc7f7c8e83c n/a (libc.so.6 + 0x8e83c)
#1  0x00007fc7f7c3e668 raise (libc.so.6 + 0x3e668)
#2  0x00007fc7f7c264b8 abort (libc.so.6 + 0x264b8)
#3  0x000055f1ccae89dd _Z25handleUnrecoverableSignali (Hyprland + 0x8d9dd)
#4  0x00007fc7f7c3e710 n/a (libc.so.6 + 0x3e710)
#5  0x00007fc7f7c8e83c n/a (libc.so.6 + 0x8e83c)
#6  0x00007fc7f7c3e668 raise (libc.so.6 + 0x3e668)
#7  0x00007fc7f7c264b8 abort (libc.so.6 + 0x264b8)
#8  0x00007fc7f7c263dc n/a (libc.so.6 + 0x263dc)
#9  0x00007fc7f7c36d26 __assert_fail (libc.so.6 + 0x36d26)
#10 0x00007fc7f87dcf0a n/a (libwlroots.so.12032 + 0x3df0a)
#11 0x00007fc7f87dc3b7 n/a (libwlroots.so.12032 + 0x3d3b7)
#12 0x00007fc7f87d5edd wlr_render_texture_with_matrix (libwlroots.so.12032 + 0x36edd)
#13 0x00007fc7f8809c2e wlr_output_render_software_cursors (libwlroots.so.12032 + 0x6ac2e)
#14 0x000055f1ccbe261f _ZN13CHyprRenderer13renderMonitorEP8CMonitor (Hyprland + 0x18761f)
#15 0x000055f1ccb76bf0 _Z13handleWrappedP11wl_listenerPv (Hyprland + 0x11bbf0)
#16 0x00007fc7f875601e wl_signal_emit_mutable (libwayland-server.so.0 + 0xa01e)
#17 0x00007fc7f87f3829 n/a (libwlroots.so.12032 + 0x54829)
#18 0x00007fc7f7e7c9c7 drmHandleEvent (libdrm.so.2 + 0xe9c7)
#19 0x00007fc7f87ed9ee n/a (libwlroots.so.12032 + 0x4e9ee)
#20 0x00007fc7f8757ae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
#21 0x00007fc7f87582d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
#22 0x000055f1ccad8089 main (Hyprland + 0x7d089)
#23 0x00007fc7f7c27cd0 n/a (libc.so.6 + 0x27cd0)
#24 0x00007fc7f7c27d8a __libc_start_main (libc.so.6 + 0x27d8a)
#25 0x000055f1ccae61c5 _start (Hyprland + 0x8b1c5)

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 45 (14 by maintainers)

Most upvoted comments

as simon ser pointed out on irc, seems like https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3686 so it was fixed in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4356

so test after fcab2a435899f3848bc814ac4784d29e3169ea0b

I consider this fixed then

the logs about cursors are normal.

The stacktrace is… odd. I’ve asked on #wlroots in IRC, I’ll see if anyone has a clue, but this looks like wlroots imploding

probably should be a trace log.

Fixed