Crashes firefox - patch needed

Task Info (Flyspray)
Opened By Marcin Rzeźnicki (mrzeznicki)
Task ID 72241
Type Bug Report
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2021-09-26 09:49:15 UTC
Status Assigned
Assignee Maxime Gauduin (Alucryd)

Details

Description:

The current version will crash Firefox tab if used to provide HW video acceleration as described in https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration The reason for this is described here: https://bugzilla.mozilla.org/show_bug.cgi?id=1693073#c17. One of the libva-vdpau-driver clones was patched specifically to prevent this: https://github.com/xtknight/vdpau-va-driver-vp9/pull/14 I believe this patch needs to be ported to the package

Additional info:

Steps to reproduce:

  1. Configure VA-API to use libva-vdpau-driver
  2. Enable HW acceleration in Firefox https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration
  3. Visit Netflix
  4. Examine the coredump produced by the crashing tab Program terminated with signal SIGSEGV, Segmentation fault. Stack trace of thread 8671: #0 0x00007f38465ff090 XDisplayString (libX11.so.6 + 0x2f090) #1 (closed) 0x00007f382efd6c07 __vaDriverInit_1_10 (vdpau_drv_video.so + 0x6c07) #2 0x00007f3827041c7f n/a (libva.so.2 + 0x3c7f) #3 0x00007f382704783a vaInitialize (libva.so.2 + 0x983a) #4 0x00007f3840bf0b59 n/a (libxul.so + 0x674db59) #5 0x00007f3840bf0e72 n/a (libxul.so + 0x674de72) #6 0x00007f3840bf14a6 n/a (libxul.so + 0x674e4a6) #7 0x00007f3840bc76d8 n/a (libxul.so + 0x67246d8) #8 0x00007f383f363375 n/a (libxul.so + 0x4ec0375) #9 0x00007f383edfade8 n/a (libxul.so + 0x4957de8) #10 0x00007f383e55fbdf n/a (libxul.so + 0x40bcbdf) #11 0x00007f383dfcf0a5 n/a (libxul.so + 0x3b2c0a5) #12 0x00007f383e541b7b n/a (libxul.so + 0x409eb7b) #13 0x00007f383ee81d8d n/a (libxul.so + 0x49ded8d) #14 0x00007f383ee8188c n/a (libxul.so + 0x49de88c) #15 0x00007f38483e7008 n/a (libnspr4.so + 0x2b008) #16 0x00007f3848952259 start_thread (libpthread.so.0 + 0x9259) #17 0x00007f38484fd5e3 __clone (libc.so.6 + 0xfe5e3)