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

From: Ihor Radchenko <[email-masked]>
Date: Fri, 27 May 2022 18:13:22 +0800

(gdb) up 6
#6 0x00007ffff6c7dcfe in cairo_xcb_surface_create () from
/usr/lib64/libcairo.so.2
(gdb) up
#7 0x00005555556fb83b in x_begin_cr_clip (f=0x555556c49ce0, gc=0x0) at
xterm.c:4681
4681 surface = cairo_xcb_surface_create (FRAME_DISPLAY_INFO
(f)->xcb_connection,
(gdb) p *f->output_data.x
$1 = {
  toolbar_top_height = 0,
  toolbar_bottom_height = 0,
  toolbar_left_width = 0,
  toolbar_right_width = 0,
  border_tile = 6291486,
  normal_gc = 0x55555703f7e0,
  reverse_gc = 0x55555979fc40,
  cursor_gc = 0x5555589f9450,
  window_desc = 6291481,
  draw_desc = 6291482,
  picture = 0,
  need_buffer_flip = true,
  icon_desc = 0,
  parent_desc = 14713974,
  user_time_window = 6291481,
  icon_bitmap = 1,
  font = 0x5555561057b0,
  baseline_offset = 0,
  fontset = 2,
  cursor_pixel = 4278190080,
  border_pixel = 4278190080,
  mouse_pixel = 4278190080,
  cursor_foreground_pixel = 4294967295,
  scroll_bar_foreground_pixel = 18446744073709551615,
  scroll_bar_background_pixel = 18446744073709551615,
  text_cursor = 6291466,
  nontext_cursor = 6291467,
  modeline_cursor = 6291469,
  hand_cursor = 6291470,
  hourglass_cursor = 6291468,
  horizontal_drag_cursor = 6291471,
  vertical_drag_cursor = 6291472,
  current_cursor = 6291466,
  left_edge_cursor = 6291473,
  top_left_corner_cursor = 6291474,
  top_edge_cursor = 6291475,
  top_right_corner_cursor = 6291476,
  right_edge_cursor = 6291477,
  bottom_right_corner_cursor = 6291478,
  bottom_edge_cursor = 6291479,
  bottom_left_corner_cursor = 6291480,
  hourglass_window = 0,
  wm_hints = {
    flags = 39,
    input = 1,
    initial_state = 1,
    icon_pixmap = 6291488,
    icon_window = 0,
--Type <RET> for more, q to quit, c to continue without paging--c
    icon_x = 0,
    icon_y = 0,
    icon_mask = 6291490,
    window_group = 0
  },
  display_info = 0x5555562d7980,
  saved_menu_event = 0x0,
  hourglass_p = false,
  explicit_parent = false,
  asked_for_visible = true,
  has_been_visible = true,
  wait_for_wm = true,
  alpha_identical_p = true,
  xic = 0x55555c4c79f0,
  xic_style = 1032,
  xic_xfs = 0x0,
  basic_frame_counter = 6291492,
  extended_frame_counter = 0,
  pending_basic_counter_value = {
    hi = 0,
    lo = 0
  },
  current_extended_counter_value = {
    hi = 0,
    lo = 0
  },
  sync_end_pending_p = false,
  ext_sync_end_pending_p = false,
  black_relief = {
    gc = 0x0,
    pixel = 18446744073709551615
  },
  white_relief = {
    gc = 0x0,
    pixel = 18446744073709551615
  },
  relief_background = 0,
  focus_state = 0,
  move_offset_top = 0,
  move_offset_left = 0,
  cr_context = 0x0,
  cr_surface_desired_width = 674,
  cr_surface_desired_height = 593,
  preedit_size = 0,
  preedit_chars = 0x0,
  preedit_active = false,
  preedit_caret = 0,
  xi_masks = 0x555556bafc90,
  num_xi_masks = 2
}
(gdb)