FS#77260 - [egl-wayland] wayland object leakage leading to SIGSEGV

Attached to Project: Arch Linux
Opened by Robin Ebert (Molytho) - Wednesday, 25 January 2023, 16:55 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 25 January 2023, 22:21 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The library currently misses destroying two object on egldisplay termination. This leaves dangling pointers in libwayland-client after the library gets unloaded breaking firefox hardware rendering.

Additional info:
firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1759315
upstream pr: https://github.com/NVIDIA/egl-wayland/pull/74
The bug can be fix (at least for firefox/thunderbird) by applying the patch I attached until upstream fixes it

Steps to reproduce:
- use wayland on a nvidia setup
- open firefox
- about:support should say WebRender (Software) in the compositing row of graphics
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 25 January 2023, 22:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  egl-wayland 2:1.1.11-3

Loading...