emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland


From: Eval EXEC
Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland
Date: Fri, 06 Sep 2024 03:01:31 +0800

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Eval EXEC <execvy@gmail.com>
>> Cc: Eli Zaretskii <eliz@gnu.org>,  Gerd Möllmann
>>  <gerd.moellmann@gmail.com>,
>>   emacs-devel@gnu.org
>> Date: Fri, 06 Sep 2024 01:05:47 +0800
>> 
>> (gdb) frame 24
>> #24 0x0000000000692cd8 in fix_frame (f=0x7fe4284bb270, ss=0x7ffd2708ff28) at 
>> /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/igc.c:2068
>> 2068            Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f);
>> (gdb) p f
>> $1 = (struct frame *) 0x7fe4284bb270
>> (gdb) p f->output_data
>> $2 = {
>>   tty = 0x0,
>>   x = 0x0,
>>   w32 = 0x0,
>>   ns = 0x0,
>>   pgtk = 0x0,
>>   haiku = 0x0,
>>   android = 0x0
>> }
>
> Thanks.  What about
>
>   (gdb) p f->terminal
>
> What does that print?

And p *f is
(gdb) print *f
$5 = {
  header = {
    gc_header = {
      v = 355330876449,
      gcaligned = 33 '!'
    },
    size = 4611686018595381274
  },
  name = XIL(0x7fe4284bb504),
  icon_name = XIL(0),
  title = XIL(0),
  parent_frame = XIL(0),
  last_mouse_device = XIL(0),
  focus_frame = XIL(0),
  root_window = XIL(0),
  selected_window = XIL(0x7fe4284bb52d),
  old_selected_window = XIL(0),
  minibuffer_window = XIL(0),
  param_alist = XIL(0x7fe4284bb753),
  scroll_bars = XIL(0),
  condemned_scroll_bars = XIL(0),
  menu_bar_items = XIL(0),
  face_hash_table = XIL(0x7fe4284bb76d),
  menu_bar_vector = XIL(0),
  buffer_predicate = XIL(0),
  buffer_list = XIL(0),
  buried_buffer_list = XIL(0),
  tab_bar_window = XIL(0),
  desired_tab_bar_string = XIL(0),
  current_tab_bar_string = XIL(0),
  tool_bar_position = XIL(0x153b8),
  font_data = XIL(0),
  tab_bar_items = XIL(0),
  tool_bar_items = XIL(0),
  face_cache = 0x0,
  image_cache = 0x0,
  last_tab_bar_item = -1,
  menu_bar_items_used = 0,
  current_pool = 0x0,
  desired_pool = 0x0,
  desired_matrix = 0x0,
  current_matrix = 0x0,
  glyphs_initialized_p = false,
  resized_p = false,
  default_face_done_p = true,
  already_hscrolled_p = true,
  updated_p = true,
  minimize_tab_bar_window_p = false,
  external_tool_bar = false,
  fonts_changed = false,
  cursor_type_changed = false,
  redisplay = false,
  external_menu_bar = false,
  visible = 0,
  iconified = false,
  garbaged = false,
  wants_modeline = false,
  auto_raise = false,
--Type <RET> for more, q to quit, c to continue without paging--c
  auto_lower = false,
  no_split = true,
  explicit_name = true,
  window_change = true,
  window_state_change = false,
  mouse_moved = false,
  pointer_invisible = false,
  frozen_window_starts = false,
  output_method = output_x_window,
  tooltip = true,
  want_fullscreen = FULLSCREEN_NONE,
  vertical_scroll_bar_type = vertical_scroll_bar_none,
  horizontal_scroll_bars = false,
  undecorated = false,
  override_redirect = false,
  skip_taskbar = false,
  no_focus_on_map = false,
  no_accept_focus = false,
  z_group = z_group_none,
  no_special_glyphs = false,
  can_set_window_size = true,
  after_make_frame = false,
  tab_bar_redisplayed = true,
  tab_bar_resized = true,
  tool_bar_redisplayed = false,
  tool_bar_resized = false,
  inhibit_horizontal_resize = false,
  inhibit_vertical_resize = false,
  face_change = false,
  inhibit_clear_image_cache = false,
  new_size_p = false,
  was_invisible = false,
  select_mini_window_flag = false,
  change_stamp = 1,
  number_of_windows = 0,
  tab_bar_lines = 0,
  tab_bar_height = 0,
  n_tab_bar_rows = 0,
  n_tab_bar_items = 0,
  tool_bar_lines = 0,
  tool_bar_height = 0,
  n_tool_bar_rows = 0,
  n_tool_bar_items = 0,
  decode_mode_spec_buffer = 0x36c3bd0 "s\206\375\002",
  insert_line_cost = 0x0,
  delete_line_cost = 0x0,
  insert_n_lines_cost = 0x0,
  delete_n_lines_cost = 0x0,
  text_cols = 80,
  text_lines = 36,
  text_width = 1280,
  text_height = 1332,
  total_cols = 64,
  total_lines = 36,
  pixel_width = 1012,
  pixel_height = 78,
  new_width = 1284,
  new_height = 1336,
  left_pos = 530,
  top_pos = 214,
  win_gravity = 1,
  size_hint_flags = 4,
  border_width = 1,
  child_frame_border_width = -1,
  internal_border_width = 2,
  right_divider_width = 0,
  bottom_divider_width = 0,
  left_fringe_width = 0,
  right_fringe_width = 0,
  fringe_cols = 0,
  menu_bar_lines = 0,
  menu_bar_height = 0,
  column_width = 16,
  line_height = 37,
  terminal = 0x0,
  output_data = {
    tty = 0x0,
    x = 0x0,
    w32 = 0x0,
    ns = 0x0,
    pgtk = 0x0,
    haiku = 0x0,
    android = 0x0
  },
  font_driver_list = 0x0,
  wait_event_type = 0,
  desired_cursor = FILLED_BOX_CURSOR,
  cursor_width = 1,
  blink_off_cursor = DEFAULT_CURSOR,
  blink_off_cursor_width = 0,
  config_scroll_bar_width = 0,
  config_scroll_bar_cols = 1,
  config_scroll_bar_height = 0,
  config_scroll_bar_lines = 0,
  cost_calculation_baud_rate = 19200,
  alpha = {-1, -1},
  alpha_background = 1,
  gamma = 0,
  extra_line_spacing = 0,
  background_pixel = 4279900698,
  foreground_pixel = 4293585642,
  conversion = {
    actions = 0x0,
    compose_region_start = XIL(0),
    compose_region_end = XIL(0),
    compose_region_overlay = XIL(0),
    field = XIL(0),
    batch_edit_count = 0,
    batch_edit_flags = 0
  }
}
(gdb) print *f
$6 = {
  header = {
    gc_header = {
      v = 355330876449,
      gcaligned = 33 '!'
    },
    size = 4611686018595381274
  },
  name = XIL(0x7fe4284bb504),
  icon_name = XIL(0),
  title = XIL(0),
  parent_frame = XIL(0),
  last_mouse_device = XIL(0),
  focus_frame = XIL(0),
  root_window = XIL(0),
  selected_window = XIL(0x7fe4284bb52d),
  old_selected_window = XIL(0),
  minibuffer_window = XIL(0),
  param_alist = XIL(0x7fe4284bb753),
  scroll_bars = XIL(0),
  condemned_scroll_bars = XIL(0),
  menu_bar_items = XIL(0),
  face_hash_table = XIL(0x7fe4284bb76d),
  menu_bar_vector = XIL(0),
  buffer_predicate = XIL(0),
  buffer_list = XIL(0),
  buried_buffer_list = XIL(0),
  tab_bar_window = XIL(0),
  desired_tab_bar_string = XIL(0),
  current_tab_bar_string = XIL(0),
  tool_bar_position = XIL(0x153b8),
  font_data = XIL(0),
  tab_bar_items = XIL(0),
  tool_bar_items = XIL(0),
  face_cache = 0x0,
  image_cache = 0x0,
  last_tab_bar_item = -1,
  menu_bar_items_used = 0,
  current_pool = 0x0,
  desired_pool = 0x0,
  desired_matrix = 0x0,
  current_matrix = 0x0,
  glyphs_initialized_p = false,
  resized_p = false,
  default_face_done_p = true,
  already_hscrolled_p = true,
  updated_p = true,
  minimize_tab_bar_window_p = false,
  external_tool_bar = false,
  fonts_changed = false,
  cursor_type_changed = false,
  redisplay = false,
  external_menu_bar = false,
  visible = 0,
  iconified = false,
  garbaged = false,
  wants_modeline = false,
  auto_raise = false,
--Type <RET> for more, q to quit, c to continue without paging--c
  auto_lower = false,
  no_split = true,
  explicit_name = true,
  window_change = true,
  window_state_change = false,
  mouse_moved = false,
  pointer_invisible = false,
  frozen_window_starts = false,
  output_method = output_x_window,
  tooltip = true,
  want_fullscreen = FULLSCREEN_NONE,
  vertical_scroll_bar_type = vertical_scroll_bar_none,
  horizontal_scroll_bars = false,
  undecorated = false,
  override_redirect = false,
  skip_taskbar = false,
  no_focus_on_map = false,
  no_accept_focus = false,
  z_group = z_group_none,
  no_special_glyphs = false,
  can_set_window_size = true,
  after_make_frame = false,
  tab_bar_redisplayed = true,
  tab_bar_resized = true,
  tool_bar_redisplayed = false,
  tool_bar_resized = false,
  inhibit_horizontal_resize = false,
  inhibit_vertical_resize = false,
  face_change = false,
  inhibit_clear_image_cache = false,
  new_size_p = false,
  was_invisible = false,
  select_mini_window_flag = false,
  change_stamp = 1,
  number_of_windows = 0,
  tab_bar_lines = 0,
  tab_bar_height = 0,
  n_tab_bar_rows = 0,
  n_tab_bar_items = 0,
  tool_bar_lines = 0,
  tool_bar_height = 0,
  n_tool_bar_rows = 0,
  n_tool_bar_items = 0,
  decode_mode_spec_buffer = 0x36c3bd0 "s\206\375\002",
  insert_line_cost = 0x0,
  delete_line_cost = 0x0,
  insert_n_lines_cost = 0x0,
  delete_n_lines_cost = 0x0,
  text_cols = 80,
  text_lines = 36,
  text_width = 1280,
  text_height = 1332,
  total_cols = 64,
  total_lines = 36,
  pixel_width = 1012,
  pixel_height = 78,
  new_width = 1284,
  new_height = 1336,
  left_pos = 530,
  top_pos = 214,
  win_gravity = 1,
  size_hint_flags = 4,
  border_width = 1,
  child_frame_border_width = -1,
  internal_border_width = 2,
  right_divider_width = 0,
  bottom_divider_width = 0,
  left_fringe_width = 0,
  right_fringe_width = 0,
  fringe_cols = 0,
  menu_bar_lines = 0,
  menu_bar_height = 0,
  column_width = 16,
  line_height = 37,
  terminal = 0x0,
  output_data = {
    tty = 0x0,
    x = 0x0,
    w32 = 0x0,
    ns = 0x0,
    pgtk = 0x0,
    haiku = 0x0,
    android = 0x0
  },
  font_driver_list = 0x0,
  wait_event_type = 0,
  desired_cursor = FILLED_BOX_CURSOR,
  cursor_width = 1,
  blink_off_cursor = DEFAULT_CURSOR,
  blink_off_cursor_width = 0,
  config_scroll_bar_width = 0,
  config_scroll_bar_cols = 1,
  config_scroll_bar_height = 0,
  config_scroll_bar_lines = 0,
  cost_calculation_baud_rate = 19200,
  alpha = {-1, -1},
  alpha_background = 1,
  gamma = 0,
  extra_line_spacing = 0,
  background_pixel = 4279900698,
  foreground_pixel = 4293585642,
  conversion = {
    actions = 0x0,
    compose_region_start = XIL(0),
    compose_region_end = XIL(0),
    compose_region_overlay = XIL(0),
    field = XIL(0),
    batch_edit_count = 0,
    batch_edit_flags = 0
  }
}

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]