bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#63614: 29.0.91; PGTK Emacs crashes after clearing the clipboard


From: Leonardo Hernández Hernández
Subject: bug#63614: 29.0.91; PGTK Emacs crashes after clearing the clipboard
Date: Sun, 21 May 2023 06:42:30 +0000

> What is:
> 

> (gdb) p x_display_list
> 

> ?
> 

> And thanks in advance.

(gdb) p x_display_list 

$1 = (struct pgtk_display_info *) 0x563f090c1b80
(gdb) p *x_display_list 

$2 = {next = 0x0, terminal = 0x563f08fd4b08, {gdpy = 0x563f08f0c620, display = 
0x563f08f0c620}, name_list_element = 0x563f08e6f3c3, reference_count = 1, x_id 
= 1, 

  x_id_name = 0x563f0908b5e0 "emacs@gentoo", n_fonts = 5, smallest_char_width = 
2, smallest_font_height = 15, bitmaps = 0x0, bitmaps_size = 0, bitmaps_last = 
0, resx = 96, resy = 96, 

  grabbed = 0, n_planes = 32, color_p = 1, icon_bitmap_id = -2, root_window = 
42, rdb = 0x0, vertical_scroll_bar_cursor = 0x563f09044e00, 
horizontal_scroll_bar_cursor = 0x563f090abc90, 

  mouse_highlight = {mouse_face_beg_row = -1, mouse_face_beg_col = -1, 
mouse_face_beg_x = 0, mouse_face_end_row = -1, mouse_face_end_col = -1, 
mouse_face_end_x = 0, mouse_face_window = 0x0, 

    mouse_face_face_id = 0, mouse_face_overlay = 0x0, mouse_face_mouse_frame = 
0x0, mouse_face_mouse_x = 0, mouse_face_mouse_y = 0, mouse_face_past_end = 
false, mouse_face_defer = false, 

    mouse_face_hidden = false}, highlight_frame = 0x0, x_focus_frame = 0x0, 
x_focus_event_frame = 0x0, last_mouse_frame = 0x0, last_mouse_motion_frame = 
0x0, last_mouse_motion_x = 0, 

  last_mouse_motion_y = 0, last_mouse_glyph = {x = 0, y = 0, width = 0, height 
= 0}, last_mouse_movement_time = 0, last_user_time = 50116744, 
last_mouse_scroll_bar = 0x0, 

  invisible_cursor = 0x563f090b7c90, xg_cursor = 0x563f090c6ad0, devices = 
0x563f090c5a10, last_mouse_glyph_frame = 0x0, last_click_event = 0x0, im = 
{context = 0x563f090d6e00, 

    focused_frame = 0x0}, scroll = {acc_x = 0, acc_y = 0, x_per_char = 1, 
y_per_line = 1}, connection = 4}



I have been testing and seems that this happens when
both `-O3` and `-march=native` exist in CFLAGS, if I turn `-O3`
into `-O2` or remove `-march=native` then it does not crashes.
This is most likely a bug in gcc rather than emacs, right?,
in case you required it, my gcc version is:
gcc (Gentoo Hardened 13.1.1_p20230513 p2) 13.1.1 20230513

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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