Performing verification for focal. I installed a fresh Focal desktop VM, and installed all updates.
sudo apt-cache policy xserver-common | grep Installed Installed: 2:1.20.13-1ubuntu1~20.04.19 I then installed a gstreamer stack: sudo apt install gstreamer1.0-vaapi gstreamer1.0-tools I then triggered the crash: gst-inspect-1.0 This doesn't reproduce on jammy as is, not on this mechanism anyway. I know the crash occurs as I can see it on: https://errors.ubuntu.com/?release=Ubuntu%2022.04&package=xorg- server&period=week After reading https://github.com/intel/libva/issues/700 I downloaded the libva source for focal 2.7.0-2, and backported the following patch: https://github.com/intel/libva/commit/317c0fbea5405a27bf58505a6bc6b1f6414beb71 The backport is: https://paste.ubuntu.com/p/nNy3rsZj8w/ I built this, and installed the test packages. I then run: gst-inspect-1.0 xserver doesn't crash, which is again a bit frustrating. I re-read https://github.com/intel/libva/issues/700 and came across the reproducer program: test-vaInitialize.c /* gcc -O0 -g test-vaInitialize.c -lva -lva-drm -o test-vaInitialize */ #include <fcntl.h> #include <va/va_drm.h> int main() { int major_version, minor_version; VADisplay va_dpy; VAStatus status; int fd; fd = open ("/dev/dri/card0", O_RDWR | O_CLOEXEC); va_dpy = vaGetDisplayDRM (fd); status = vaInitialize (va_dpy, &major_version, &minor_version); } I built it and ran it: gcc -O0 -g test-vaInitialize.c -lva -lva-drm -o test-vaInitialize DISPLAY=:0 ./test-vaInitialize This crashes the xserver, as we expect it to. Now we have a stable reproducer. I changed to a wayland session, enabled -proposed and installed xserver 2:1.20.13-1ubuntu1~20.04.20 I rebooted, and selected xorg session from gdm. I then tried to trigger the crash: gst-inspect-1.0 and DISPLAY=:0 ./test-vaInitialize and it completes as expected. xserver does not crash. The package in -proposed fixes the issue, happy to mark verified for focal. ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1861609 Title: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1861609/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp