From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: leohdz172--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63614: 29.0.91; PGTK Emacs crashes after clearing the clipboard Date: Sun, 21 May 2023 06:42:30 +0000 Message-ID: <1-L11jIKHZOoqLUROn1fMky-gf5pl87IatbwpLAEKeXDUvWuLzH2ZiyFQKYiF-jXpnQu9hA5KUQfGgtnDH88AdqtIDS09oBXdF1rkycNSy4=@proton.me> References: <253496c1-088b-b54f-3c64-1cc563e70f24@proton.me> <87lehi1p7x.fsf@yahoo.com> <87h6s61d5y.fsf@yahoo.com> Reply-To: Leonardo =?UTF-8?Q?Hern=C3=A1ndez_?= =?UTF-8?Q?Hern=C3=A1ndez?= Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------6102322b6e4b17dd1c5e3f6cba486b611628eee9257684cf070455d99021425a"; charset=utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29100"; mail-complaints-to="usenet@ciao.gmane.io" To: Po Lu , "63614@debbugs.gnu.org" <63614@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 21 09:33:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q0dZE-0007Lg-27 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 09:33:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0dYy-0004OI-9t; Sun, 21 May 2023 03:33:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0dYu-0004N7-2M for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0dYt-0004Oq-RO for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0dYt-0000vt-NI for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 03:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leonardo =?UTF-8?Q?Hern=C3=A1ndez_?= =?UTF-8?Q?Hern=C3=A1ndez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 May 2023 07:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63614 X-GNU-PR-Package: emacs Original-Received: via spool by 63614-submit@debbugs.gnu.org id=B63614.16846543513513 (code B ref 63614); Sun, 21 May 2023 07:33:03 +0000 Original-Received: (at 63614) by debbugs.gnu.org; 21 May 2023 07:32:31 +0000 Original-Received: from localhost ([127.0.0.1]:59962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0dYL-0000uU-MS for submit@debbugs.gnu.org; Sun, 21 May 2023 03:32:31 -0400 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]:51063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0cmG-0007rc-Vi for 63614@debbugs.gnu.org; Sun, 21 May 2023 02:42:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=aearql5ne5cwbcr3sxkpvcpnyy.protonmail; t=1684651362; x=1684910562; bh=rnwzeYGuwRpV2x9krPH69qOHQ7egNPERdrXWKNLhr0U=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=UOB4TY0klH9Oj6pE2JdsfTq6Y5ZmI99LYGHkGDhR0D0pjDOYbyILnfqrZNXM/9ur7 8a4hNqG8IobSiS0kzzIYr7OBIGLS6F2rgRxmkyRkUWEeHLZ9RIRYxydeFN2xznzbjB DpjT1JmgQ9E1gYftocIB6UoP3ra1icetUNJrRFQO/OpfCLZrtV9dpA82a1L+CvitS6 aWVF/FqGj4tlh1VRpyRUMYbZmk0CL9zVXvwfZJHTRrlRc9bPkAainB/HyxNFTLtwsY xRqBv4fHXlD92idyxeojp78TnVWHLcE2WfsgUJSmNT4c0na2R76YxrB5E+neGAfMGt dJ10ZNWQh/DzA== In-Reply-To: <87h6s61d5y.fsf@yahoo.com> Feedback-ID: 45473059:user:proton X-Mailman-Approved-At: Sun, 21 May 2023 03:32:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262091 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------6102322b6e4b17dd1c5e3f6cba486b611628eee9257684cf070455d99021425a Content-Type: multipart/mixed;boundary=---------------------338b4ab2e863d808b0914c3102e9703c -----------------------338b4ab2e863d808b0914c3102e9703c Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 > What is: > = > (gdb) p x_display_list > = > ? > = > And thanks in advance. (gdb) p x_display_list = $1 =3D (struct pgtk_display_info *) 0x563f090c1b80 (gdb) p *x_display_list = $2 =3D {next =3D 0x0, terminal =3D 0x563f08fd4b08, {gdpy =3D 0x563f08f0c62= 0, display =3D 0x563f08f0c620}, name_list_element =3D 0x563f08e6f3c3, refe= rence_count =3D 1, x_id =3D 1, = x_id_name =3D 0x563f0908b5e0 "emacs@gentoo", n_fonts =3D 5, smallest_cha= r_width =3D 2, smallest_font_height =3D 15, bitmaps =3D 0x0, bitmaps_size = =3D 0, bitmaps_last =3D 0, resx =3D 96, resy =3D 96, = grabbed =3D 0, n_planes =3D 32, color_p =3D 1, icon_bitmap_id =3D -2, ro= ot_window =3D 42, rdb =3D 0x0, vertical_scroll_bar_cursor =3D 0x563f09044e= 00, horizontal_scroll_bar_cursor =3D 0x563f090abc90, = mouse_highlight =3D {mouse_face_beg_row =3D -1, mouse_face_beg_col =3D -= 1, mouse_face_beg_x =3D 0, mouse_face_end_row =3D -1, mouse_face_end_col =3D= -1, mouse_face_end_x =3D 0, mouse_face_window =3D 0x0, = mouse_face_face_id =3D 0, mouse_face_overlay =3D 0x0, mouse_face_mouse= _frame =3D 0x0, mouse_face_mouse_x =3D 0, mouse_face_mouse_y =3D 0, mouse_= face_past_end =3D false, mouse_face_defer =3D false, = mouse_face_hidden =3D false}, highlight_frame =3D 0x0, x_focus_frame =3D= 0x0, x_focus_event_frame =3D 0x0, last_mouse_frame =3D 0x0, last_mouse_= motion_frame =3D 0x0, last_mouse_motion_x =3D 0, = last_mouse_motion_y =3D 0, last_mouse_glyph =3D {x =3D 0, y =3D 0, width= =3D 0, height =3D 0}, last_mouse_movement_time =3D 0, last_user_time =3D = 50116744, last_mouse_scroll_bar =3D 0x0, = invisible_cursor =3D 0x563f090b7c90, xg_cursor =3D 0x563f090c6ad0, devic= es =3D 0x563f090c5a10, last_mouse_glyph_frame =3D 0x0, last_click_event =3D= 0x0, im =3D {context =3D 0x563f090d6e00, = focused_frame =3D 0x0}, scroll =3D {acc_x =3D 0, acc_y =3D 0, x_per_ch= ar =3D 1, y_per_line =3D 1}, connection =3D 4} I have been testing and seems that this happens when both `-O3` and `-march=3Dnative` exist in CFLAGS, if I turn `-O3` into `-O2` or remove `-march=3Dnative` 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 -----------------------338b4ab2e863d808b0914c3102e9703c-- --------6102322b6e4b17dd1c5e3f6cba486b611628eee9257684cf070455d99021425a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCgAnBYJkab01CZDlOIl+4RuWJBYhBK6mpyw3dPExGRjOc+U4iX7h G5YkAADqlAgArjWBoIMAqVFdMY3LrReUcg1pIZYfdiGLENGYqyMgOeXbdFbH CBBvyIMmZAIF6oUjHPzZ8mC8PSGD9/H3D6EMbp0f8ULPjmssiFO99uz/xSP/ fhu7FuWIiK2z/mPusuHWSVZXAtu+ZoI5NEH6wd9DaZIvgZFsDXsBrf8M94lX N1VEgPAtjDp3H472AILDxB1LdcXHFyxRoo79rF2PdBgEdDMPCAiFqGDVbpCD H+3g3OnSFE4L+nVaWEtilE5edjUwC5QlW4DrNEZfsbv53DdjUEAgaWPD86E4 T50A64Yxp2uThsCfnWI6h54+AwCve6GGqkGyonIE/H9mf8bPy/yBSQ== =8uSz -----END PGP SIGNATURE----- --------6102322b6e4b17dd1c5e3f6cba486b611628eee9257684cf070455d99021425a--