Subject: bug#55672: 29.0.50; Emacs crashes when calling start-process-shell-command xdg-open with process-connection-type set to nil

From: Po Lu <[email-masked]>
Date: Fri, 27 May 2022 21:11:38 +0800

Ihor Radchenko <[email-masked]> writes:

> (gdb) p *event
> $1 = {
>   type = 0,
>   display = 0x5555597f27a0,
>   resourceid = 29360175,
>   serial = 628,
>   error_code = 143 '\217',
>   request_code = 138 '\212',
>   minor_code = 20 '\024'
> }
> (gdb) 

That's a BadGlyph error from a RenderAddGlyphs request, which Emacs does
not make itself.  What happens if you delete this part of xterm.c?

  #if defined USE_XCB && defined USE_CAIRO_XCB
  #define USE_CAIRO_XCB_SURFACE
  #endif