Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs

From: Michael Welsh Duggan <[email-masked]>
Date: Tue, 30 Mar 2021 09:39:00 -0400

martin rudalics <[email-masked]> writes:

> And if you still have the old session in the debugger, please tell us
> what the value of old_selected_window is.

(gdb) p old_selected_window
$20 = XIL(0x5555587e9065)
(gdb) xtype
Lisp_Vectorlike
PVEC_WINDOW
(gdb) xwindow
$21 = (struct window *) 0x5555587e9060
84x59+0+0
(gdb) p *$21
$22 = {
  header = {
    size = 4611686018595323929
  },
  frame = XIL(0x555556e24f95),
  next = XIL(0x555556e96635),
  prev = XIL(0),
  parent = XIL(0),
  normal_lines = XIL(0x5555569f93cf),
  normal_cols = XIL(0x5555569f93c7),
  new_total = make_fixnum(14),
  new_normal = XIL(0x555557529fb7),
  new_pixel = make_fixnum(238),
  contents = XIL(0x5555578f43dd),
  old_buffer = XIL(0x5555578f43dd),
  start = XIL(0x5555587e9275),
  pointm = XIL(0x5555587e92a5),
  old_pointm = XIL(0x5555587e92d5),
  temslot = make_fixnum(0),
  vertical_scroll_bar = XIL(0x555556d55735),
  vertical_scroll_bar_type = XIL(0x30),
  horizontal_scroll_bar = XIL(0),
  horizontal_scroll_bar_type = XIL(0),
  display_table = XIL(0),
  dedicated = XIL(0),
  redisplay_end_trigger = XIL(0),
  combination_limit = XIL(0),
  window_parameters = XIL(0x555558f54443),
  mode_line_help_echo = XIL(0),
  current_matrix = 0x55555829bf90,
  desired_matrix = 0x55555944e010,
  prev_buffers = XIL(0x5555593f8003),
  next_buffers = XIL(0),
  use_time = 10045,
  sequence_number = 179,
  change_stamp = 759,
  pixel_left = 0,
  pixel_top = 0,
  left_col = 0,
  top_line = 0,
  pixel_width = 672,
  pixel_height = 995,
  old_pixel_width = 672,
  old_pixel_height = 995,
  old_body_pixel_width = 640,
  old_body_pixel_height = 978,
  total_cols = 84,
  total_lines = 59,
  hscroll = 0,
  min_hscroll = 0,
  hscroll_whole = 0,
  last_modified = 60,
  last_overlay_modified = 1,
  last_point = 127,
  base_line_number = 1,
  base_line_pos = 1,
  column_number_displayed = -1,
  nrows_scale_factor = 1,
  ncols_scale_factor = 1,
  cursor = {
    x = 0,
    y = 68,
    hpos = 0,
    vpos = 4
  },
  phys_cursor = {
    x = 0,
    y = 68,
    hpos = 0,
    vpos = 4
  },
  output_cursor = {
    x = 0,
    y = 68,
    hpos = 0,
    vpos = 4
  },
  last_cursor_vpos = 4,
  phys_cursor_type = FILLED_BOX_CURSOR,
  phys_cursor_width = 8,
  phys_cursor_ascent = 13,
  phys_cursor_height = 17,
  left_fringe_width = -1,
  right_fringe_width = -1,
  left_margin_cols = 0,
  right_margin_cols = 0,
  scroll_bar_width = -1,
  scroll_bar_height = -1,
  mode_line_height = 17,
  header_line_height = -1,
  tab_line_height = -1,
  window_end_pos = 0,
  window_end_vpos = 3,
  mini = false,
  horizontal = false,
  update_mode_line = false,
  last_had_star = true,
  start_at_line_beg = true,
  force_start = false,
  optional_new_start = false,
  phys_cursor_on_p = true,
  cursor_off_p = false,
  last_cursor_off_p = false,
  must_be_updated_p = false,
  pseudo_window_p = false,
  fringes_outside_margins = false,
  fringes_persistent = false,
  scroll_bars_persistent = false,
  window_end_valid = true,
  redisplay = false,
  suspend_auto_hscroll = false,
  vscroll = 0,
  window_end_bytepos = 0
}

-- 
Michael Welsh Duggan
([email-masked])