Closed Bug 1805468 Opened 2 years ago Closed 2 years ago

Firefox crashes randomly with VDPAU

Categories

(Core :: Widget: Gtk, defect)

Firefox 107
defect

Tracking

()

RESOLVED DUPLICATE of bug 1787182

People

(Reporter: luiz.felipe, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

Using firefox normally

Actual results:

Firefox crashed with core dump:

Process 201753 (firefox) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 201753:
                                                   #0  0x00007f3d8f69f874 XDisplayString (libX11.so.6 + 0x2b874)
                                                   #1  0x00007f3d8e41ea1d __vaDriverInit_1_13 (vdpau_drv_video.so + 0xda1d)
                                                   #2  0x00007f3d82387c9c n/a (libva.so.2 + 0x3c9c)
                                                   #3  0x00007f3d8238cdf1 vaInitialize (libva.so.2 + 0x8df1)
                                                   #4  0x00007f3d8ad50f77 n/a (libxul.so + 0x8750f77)
                                                   #5  0x00007f3d8ad51b4e n/a (libxul.so + 0x8751b4e)
                                                   #6  0x00007f3d86b6cf2e n/a (libxul.so + 0x456cf2e)
                                                   #7  0x00007f3d86b6a56d n/a (libxul.so + 0x456a56d)
                                                   #8  0x00007f3d86b5c505 n/a (libxul.so + 0x455c505)
                                                   #9  0x00007f3d86b5b6bd n/a (libxul.so + 0x455b6bd)
                                                   #10 0x000055babd5c51dc n/a (firefox + 0x551dc)
                                                   #11 0x00007f3d9143c290 n/a (libc.so.6 + 0x23290)
                                                   #12 0x00007f3d9143c34a __libc_start_main (libc.so.6 + 0x2334a)
                                                   #13 0x000055babd5d50e5 _start (firefox + 0x650e5)
                                                   ELF object binary architecture: AMD x86-64

Expected results:

Nothing

Just want to note that I couldn't find a reliable way to reproduce this. It happened multiple times this week but seemingly at random times with different sites/activities.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please uninstall deprecated libva-vdpau-driver: It doesn't support vaGetDisplayDRM and crashes.

(Darkspirit from bug 1758473 comment #9)

It might be this one: https://salsa.debian.org/multimedia-team/attic/vdpau-video/-/blob/63450ffea86143d418c6e83cb8d2828d3a7beb25/src/vdpau_driver.c#L188

const char * const x11_dpy_name = XDisplayString(driver_data->x11_dpy);

https://bugs.archlinux.org/task/72241#comments

vaGetDisplayDRM() doesn't fill ->x11_dpy

VAAPI should be blocked for vdpau_drv_video.so.
vdpau_drv_video.so is deprecated and has been removed from Debian.
Debian Buster (oldstable) was the last release that had a package for it: https://packages.debian.org/oldstable/vdpau-va-driver
https://tracker.debian.org/pkg/vdpau-video
https://salsa.debian.org/multimedia-team/attic/vdpau-video

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1787182
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.