Skip to content

crash in destroy_glx_drawable during shutdown

while working on xfce4-panel#711 (closed), I noticed this crash in coredumpctl list output. Apparently xfwm4 20230206T133954.475e3b94 crashed during shutdown:

Core was generated by `xfwm4'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  brw_release_texbuffer (pDRICtx=0x0, target=34037, dPriv=0x560ac5e10490) at ../src/mesa/drivers/dri/i965/brw_tex_image.c:504
504        struct brw_context *brw = pDRICtx->driverPrivate;
[Current thread is 1 (Thread 0x7fd295156a80 (LWP 1935))]
(gdb) bt
#0  brw_release_texbuffer (pDRICtx=0x0, target=34037, dPriv=0x560ac5e10490) at ../src/mesa/drivers/dri/i965/brw_tex_image.c:504
#1  0x0000560ac539d13d in destroy_glx_drawable (screen_info=0x560ac5e17fa0, buffer=<optimized out>) at compositor.c:1752
#2  0x0000560ac53a19be in compositorUnmanageScreen (screen_info=screen_info@entry=0x560ac5e17fa0) at compositor.c:5060
#3  0x0000560ac53bf952 in myScreenClose (screen_info=screen_info@entry=0x560ac5e17fa0) at screen.c:345
#4  0x0000560ac5393f5b in cleanUp () at main.c:210
#5  main (argc=<optimized out>, argv=<optimized out>) at main.c:767

It might be entirely unrelated to xfwm4, not sure how destroy_glx_drawable gets into brw_release_textbuffer.