#1150275 mesa-libgallium: segfault in dri2_query_image

Package:
mesa-libgallium
Source:
mesa-libgallium
Description:
shared infrastructure for Mesa drivers
Submitter:
Daniel Kahn Gillmor
Date:
2026-10-07 20:39:02 UTC
Severity:
normal
#1150275#5
Date:
2026-10-07 20:37:40 UTC
From:
To:
I'm running impass on wayland with sway.

when i use "impass gui" it causes a gtk4 window to pop up.  typing
anything in the search box is supposed to cause a Gtk.Popover object
become visible with the autocompletion list.

If i type "o" in the impass context search box, impass crashes with a
segfault in libgallium's dri2_query_image().  I've included the
backtrace below.

Interestingly, if i type "j" in the impass context search box, it does
*not* crash.  So it might depend on the contents of the autocompletion
list, which obviously i can't share from a password manager in a public
report.

I don't think i've upgraded libgallium recently, so something else
likely changed, but i'm not sure what would have affected this.
Possible candidates from recent upgrades include:

 python3 (and associated libs) 3.14.7-4 → 3.14.8-1
 gobject-introspection (and associated libs) 1.86.0-6+b2 → 1.86.0-7

If anyone wants to try to create a narrower reproducer, the python
source that drives "impass gui" is here:

https://salsa.debian.org/debian/impass/-/blob/debian/unstable/impass/gui.py

Let me know if i can be of further help debugging!