[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
This bug was fixed in the package xorg-server - 2:21.1.12-1ubuntu1.3 --- xorg-server (2:21.1.12-1ubuntu1.3) noble; urgency=medium * If a client application has not called DRI2ScreenInit(), DRI2Authenticate() and DRI2CreateDrawable2() cause the X server to crash. This patch adds some sanity checks to ensure the X server stays running. (LP: #1861609) - d/p/lp1861609-dri2-Protect-against-dri2ClientPrivate-assertio.patch -- Matthew Ruffell Tue, 04 Mar 2025 17:58:03 +1300 ** Changed in: xorg-server (Ubuntu Oracular) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
This bug was fixed in the package xorg-server - 2:21.1.4-2ubuntu1.7~22.04.14 --- xorg-server (2:21.1.4-2ubuntu1.7~22.04.14) jammy; urgency=medium * If a client application has not called DRI2ScreenInit(), DRI2Authenticate() and DRI2CreateDrawable2() cause the X server to crash. This patch adds some sanity checks to ensure the X server stays running. (LP: #1861609) - d/p/lp1861609-dri2-Protect-against-dri2ClientPrivate-assertio.patch -- Matthew Ruffell Tue, 04 Mar 2025 18:21:58 +1300 ** Changed in: xorg-server (Ubuntu Jammy) Status: Fix Committed => Fix Released ** Changed in: xorg-server (Ubuntu Noble) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
This bug was fixed in the package xorg-server - 2:21.1.13-2ubuntu1.3 --- xorg-server (2:21.1.13-2ubuntu1.3) oracular; urgency=medium * If a client application has not called DRI2ScreenInit(), DRI2Authenticate() and DRI2CreateDrawable2() cause the X server to crash. This patch adds some sanity checks to ensure the X server stays running. (LP: #1861609) - d/p/lp1861609-dri2-Protect-against-dri2ClientPrivate-assertio.patch -- Matthew Ruffell Tue, 04 Mar 2025 17:31:15 +1300 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
This bug was fixed in the package xorg-server - 2:1.20.13-1ubuntu1~20.04.20 --- xorg-server (2:1.20.13-1ubuntu1~20.04.20) focal; urgency=medium * If a client application has not called DRI2ScreenInit(), DRI2Authenticate() and DRI2CreateDrawable2() cause the X server to crash. This patch adds some sanity checks to ensure the X server stays running. (LP: #1861609) - d/p/lp1861609-dri2-Protect-against-dri2ClientPrivate-assertio.patch -- Matthew Ruffell Tue, 04 Mar 2025 18:35:23 +1300 ** Changed in: xorg-server (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Performing verification for Oracular. I created a fresh Oracular VMn and upgraded all packages. xserver is at version: sudo apt-cache policy xserver-common | grep Installed Installed: 2:21.1.13-2ubuntu1.2 I then installed a gstreamer stack: sudo apt install gstreamer1.0-vaapi gstreamer1.0-tools I then triggered the crash: gst-inspect-1.0 and xserver crashed as expected. I then try and log in, and I can't even log in anymore due to the thumbnailer calling gstreamer and xserver immediately crashes. I changed to a wayland session, enabled -proposed and installed xserver 2:21.1.13-2ubuntu1.3. I rebooted, and selected xorg session from gdm. I can log in now, and the desktop comes up as normal. I then tried to trigger the crash: gst-inspect-1.0 and it completes as expected. The package in -proposed fixes the issue, happy to mark verified for oracular. ** Tags removed: verification-needed-oracular ** Tags added: verification-done-oracular -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
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 #include 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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Performing verification for Noble. I created a fresh Noble VMn and upgraded all packages. xserver is at version: sudo apt-cache policy xserver-common | grep Installed Installed: 2:21.1.12-1ubuntu1.2 I then installed a gstreamer stack: sudo apt install gstreamer1.0-vaapi gstreamer1.0-tools I then triggered the crash: gst-inspect-1.0 and xserver crashed as expected. I then try and log in, and I can't even log in anymore due to the thumbnailer calling gstreamer and xserver immediately crashes. I changed to a wayland session, enabled -proposed and installed xserver 2:21.1.12-1ubuntu1.3 I rebooted, and selected xorg session from gdm. I can log in now, and the desktop comes up as normal. I then tried to trigger the crash: gst-inspect-1.0 and it completes as expected. I agree with Doug, the package in -proposed fixes the issue, happy to mark verified for noble. ** Tags removed: verification-needed-noble ** Tags added: verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Performing verification for jammy. I installed a fresh Jammy desktop VM, and installed all updates. sudo apt-cache policy xserver-common | grep Installed Installed: 2:21.1.4-2ubuntu1.7~22.04.13 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 jammy 2.14.0-1, 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 now xserver crashes as we would expect. I also can't log in now either due to xserver crashing. So we can now reproduce the crash. I changed to a wayland session, enabled -proposed and installed xserver 2:21.1.4-2ubuntu1.7~22.04.14 I rebooted, and selected xorg session from gdm. I can log in now, and the desktop comes up as normal. I then tried to trigger the crash: gst-inspect-1.0 and it completes as expected. xserver does not crash. The package in -proposed fixes the issue, happy to mark verified for jammy. ** Bug watch added: github.com/intel/libva/issues #700 https://github.com/intel/libva/issues/700 ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
I can confirm that in an Ubuntu MATE 24.04 VMware VM with "Accelerate 3D graphics" disabled, the version currently in noble-proposed fixes the issue. Same with Xubuntu 24.04. `gst-inspect-1.0` no longer crashes when I have xserver-xorg-core version 2:21.1.12-1ubuntu1.3 from noble-proposed installed. Testing performed with Ubuntu MATE: - Create a VMware VM, make sure "Accelerate 3D graphics" is disabled - Install Ubuntu MATE 24.04.2 from ISO, check all the boxes for optional stuff when installing it - Fully update it with `sudo apt update; sudo apt dist-upgrade` - `sudo apt install gstreamer1.0-tools` - Confirm the crash is still happening: `gst-inspect-1.0` - Enable -proposed, then `sudo apt update` - `sudo apt install xserver-xorg-core/noble-proposed` - Reboot - Confirm it doesn't crash anymore: `gst-inspect-1.0` Testing performed with Xubuntu: - Create a VMware VM, make sure "Accelerate 3D graphics" is disabled - Install Xubuntu 24.04.2 from ISO, check all the boxes for optional stuff when installing it - Fully update it with `sudo apt update; sudo apt dist-upgrade` - Confirm the crash is still happening: the first time you try to log in after rebooting, it crashes back to the login screen, and then subsequent login attempts work fine - Enable -proposed, then `sudo apt update` - `sudo apt install xserver-xorg-core/noble-proposed` - Reboot - Confirm that the first login attempt always works now -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Hello linex83, or anyone else affected, Accepted xorg-server into oracular-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xorg- server/2:21.1.13-2ubuntu1.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- oracular to verification-done-oracular. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-oracular. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: xorg-server (Ubuntu Oracular) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-oracular ** Changed in: xorg-server (Ubuntu Noble) Status: In Progress => Fix Committed ** Tags added: verification-needed-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Uploaded to O, N, J and F. To the SRU Team: I do understand that F is going to ESM very soon, and you likely don't want to change F very much this late in its lifecycle, but if you look at https://errors.ubuntu.com/?release=Ubuntu%2020.04&package=xorg- server&period=week for the last week, we see the bug at Number 3 and 6, so fixing this would have a real impact on end users for some time to come. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V3 Patch for focal that is rebased ontop of the latest security update. ** Patch added: "Debdiff for xorg-server on focal V3" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5861998/+files/lp1861609_focal_v3.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V3 Patch for jammy that is rebased ontop of the latest security update. ** Patch added: "Debdiff for xorg-server on jammy V3" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5861997/+files/lp1861609_jammy_v3.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V3 Patch for noble that is rebased ontop of the latest security update. ** Patch added: "Debdiff for xorg-server on noble V3" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5861996/+files/lp1861609_noble_v3.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V3 Patch for oracular that is rebased ontop of the latest security update. ** Patch removed: "Debdiff for xorg-server on oracular" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858914/+files/lp1861609_oracular_v2.debdiff ** Patch removed: "Debdiff for xorg-server on Noble" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858915/+files/lp1861609_noble_v2.debdiff ** Patch removed: "Debdiff for xorg-server on Jammy" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858916/+files/lp1861609_jammy_v2.debdiff ** Patch removed: "Debdiff for xorg-server on Focal" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858917/+files/lp1861609_focal_v2.debdiff ** Patch added: "Debdiff for xorg-server on oracular V3" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5861995/+files/lp1861609_oracular_v3.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
This bug was fixed in the package xorg-server - 2:21.1.16-1ubuntu1 --- xorg-server (2:21.1.16-1ubuntu1) plucky; urgency=medium * Merge from Debian. * lp1861609-dri2-Protect-against-dri2ClientPrivate-assertio.patch: Dropped, upstream. -- Timo Aaltonen Wed, 26 Feb 2025 15:02:02 +0200 ** Changed in: xorg-server (Ubuntu Plucky) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V2 debdiff for oracular that reflects origin to upstreamed patch. ** Patch removed: "Debdiff for xorg-server on oracular" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852296/+files/lp1861609_oracular.debdiff ** Patch removed: "Debdiff for xorg-server on Noble" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852297/+files/lp1861609_noble.debdiff ** Patch removed: "Debdiff for xorg-server on Jammy" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852298/+files/lp1861609_jammy.debdiff ** Patch removed: "Debdiff for xorg-server on Focal" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852299/+files/lp1861609_focal.debdiff ** Patch added: "Debdiff for xorg-server on oracular" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858914/+files/lp1861609_oracular_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
It just got merged! https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1608 commit a0834009cfb10b8982a1f2b47b8ed00de254c2c3 From: Doug Brown Date: Mon, 15 Jul 2024 19:44:23 -0700 Subject: dri2: Protect against dri2ClientPrivate assertion failures Link: https://gitlab.freedesktop.org/xorg/xserver/-/commit/a0834009cfb10b8982a1f2b47b8ed00de254c2c3 ** Description changed: [Impact] A very common crash in Xorg occurs when an application you are trying to launch - does not call DRI2ScreenInit() before calling DRI2Authenticate() or - DRI2CreateDrawable2(). + does not call DRI2ScreenInit() before calling DRI2Authenticate() or + DRI2CreateDrawable2(). This brings down the entire Xserver, and you lose all work. This isn't just a single application, common ones are gstreamer1.0-vaapi either invoked as gst-inspect-1.0 or through file manager thumbnailers, Intel libva, and more. The solution is to make DRI2Authenticate() and DRI2CreateDrawable2() more robust to not having had DRI2ScreenInit() called, and to pass the error up instead of just crashing on the assert. Stack traces from logs: Xorg: ../../../../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed. (EE) (EE) Backtrace: (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14c) [0x587abb9686dc] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x747466445650] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0x11c) [0x7474664a3f5c] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x1e) [0x74746644559e] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xdf) [0x747466428902] (EE) unw_get_proc_name failed: no unwind info found [-10] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x74746642881e] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x47) [0x74746643bb87] (EE) 7: /usr/lib/xorg/Xorg (DRIMoveBuffersHelper+0xb13) [0x587abb90de23] (EE) 8: /usr/lib/xorg/Xorg (DRI2Authenticate+0xce) [0x587abb9108de] (EE) 9: /usr/lib/xorg/Xorg (DRI2GetParam+0x6d9) [0x587abb9116f9] (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x3fc) [0x587abb7a004c] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3b3) [0x587abb7a5623] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x88) [0x74746642a3b8] (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x8b) [0x74746642a47b] (EE) 14: /usr/lib/xorg/Xorg (_start+0x25) [0x587abb789685] (EE) (EE) Fatal server error: (EE) Caught signal 6 (Aborted). Server aborting #0 _XReply (dpy=dpy@entry=0x5558dce0, rep=rep@entry=0x7fffd6f0, extra=extra@entry=0, discard=discard@entry=0) - at ../../src/xcb_io.c:680 + at ../../src/xcb_io.c:680 #1 0x7752a3d0 in VA_DRI2Authenticate (dpy=dpy@entry=0x5558dce0, window=1046, magic=magic@entry=1) - at ../va/x11/va_dri2.c:225 + at ../va/x11/va_dri2.c:225 #2 0x77c138ed in va_drm_authenticate_x11 (fd=fd@entry=6, magic=magic@entry=1) at ../va/drm/va_drm_auth_x11.c:140 #3 0x77c135d5 in va_drm_authenticate (fd=6, magic=1) at ../va/drm/va_drm_auth.c:37 #4 0x77c134bd in va_DisplayContextConnect (pDisplayContext=) at ../va/drm/va_drm.c:62 #5 va_DisplayContextGetDriverNames (pDisplayContext=, drivers=0x7fffd890, num_drivers=0x7fffd884) - at ../va/drm/va_drm.c:79 + at ../va/drm/va_drm.c:79 #6 0x7781729e in va_new_opendriver (dpy=0x5558d310) at ../va/va.c:681 #7 vaInitialize - (dpy=dpy@entry=0x5558d310, major_version=major_version@entry=0x7fffdb34, minor_version=minor_version@entry=0x7fffdb30) at ../va/va.c:743 + (dpy=dpy@entry=0x5558d310, major_version=major_version@entry=0x7fffdb34, minor_version=minor_version@entry=0x7fffdb30) at ../va/va.c:743 #8 0x77f496d0 in vaapi_initialize (dpy=0x5558d310) at ../gst-libs/gst/vaapi/gstvaapiutils.c:113 #9 0x77f6db73 in supports_vaapi (fd=6) at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:77 #10 get_default_device_path (display=0x555892a0 [GstVaapiDisplayDRM|vaapidisplaydrm1]) - at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:140 + at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:140 #11 set_device_path (device_path=, display=0x555892a0 [GstVaapiDisplayDRM|vaapidisplaydrm1]) - at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:181 + at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:181 #12 gst_vaapi_display_drm_open_display (display=0x555892a0 [GstVaapiDisplayDRM|vaapidisplaydrm1], name=) - at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:247 + at ../gst-libs/gst/vaapi/gstvaapidisplay_drm.c:247 #13 0x77f4a68b in gst_vaapi_display_create - (data=0x0, init_type=GST_VAAPI_DISPLAY_INIT_FROM_DISPLAY_NAME, display=0x555892a0 [GstVaapiDisplayDRM|vaapidisplaydrm1]) - at ../gst-libs/gst/vaapi/gstvaapidisplay.c:965 + (data=0x0, init_type=GST_VAAPI_DISPLAY_INIT_FROM_DISPLAY_NAME, display=0x555892a0 [GstVaapiDis
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V2 debdiff for jammy that reflects origin to upstreamed patch. ** Patch added: "Debdiff for xorg-server on Jammy" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858916/+files/lp1861609_jammy_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V2 debdiff for focal that reflects origin to upstreamed patch. ** Patch added: "Debdiff for xorg-server on Focal" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858917/+files/lp1861609_focal_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
V2 debdiff for noble that reflects origin to upstreamed patch. ** Patch added: "Debdiff for xorg-server on Noble" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5858915/+files/lp1861609_noble_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
** Changed in: xorg-server Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Hi Sean, Unlikely for 24.04.2 sorry. I am still trying to get the autopkgtests to pass for plucky. This should make 25.04 though. Will be out as soon as I can get it out. Thanks, Matthew -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Do you anticipate this being fixed in time for 24.04.2? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Attached is a debdiff for oracular which fixes this issue. ** Patch added: "Debdiff for xorg-server on oracular" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852296/+files/lp1861609_oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Debdiff for xorg-server on focal which solves this issue. I think its important enough to fix before focal archive closure. ** Patch added: "Debdiff for xorg-server on Focal" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852299/+files/lp1861609_focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Attached is a debdiff for jammy which solves this issue. ** Patch added: "Debdiff for xorg-server on Jammy" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852298/+files/lp1861609_jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Debdiff for xorg-server on noble which solves this issue. ** Patch added: "Debdiff for xorg-server on Noble" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5852297/+files/lp1861609_noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861609] Re: Xorg crashes with assertion failure at dixGetPrivateAddr: Assertion `key->initialized' failed
Attached is a debdiff for plucky which fixes this issue. ** Patch added: "Debdiff for xorg-server on plucky" https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609/+attachment/5851997/+files/lp1861609_plucky.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs