From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu 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: Mon, 22 May 2023 09:11:52 +0800 Message-ID: <87ilclyxt3.fsf@yahoo.com> References: <253496c1-088b-b54f-3c64-1cc563e70f24@proton.me> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34468"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63614@debbugs.gnu.org To: Leonardo =?UTF-8?Q?Hern=C3=A1ndez?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 22 03:13:19 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 1q0u6w-0008m8-Uj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 May 2023 03:13:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0u6h-00023a-Rw; Sun, 21 May 2023 21:13:03 -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 1q0u6g-00023G-GP for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 21:13:02 -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 1q0u6g-0005vV-9F for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 21:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0u6g-00027F-4e for bug-gnu-emacs@gnu.org; Sun, 21 May 2023 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 May 2023 01:13:02 +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.16847179308070 (code B ref 63614); Mon, 22 May 2023 01:13:02 +0000 Original-Received: (at 63614) by debbugs.gnu.org; 22 May 2023 01:12:10 +0000 Original-Received: from localhost ([127.0.0.1]:33051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0u5q-000266-4h for submit@debbugs.gnu.org; Sun, 21 May 2023 21:12:10 -0400 Original-Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:45094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0u5n-00025a-H9 for 63614@debbugs.gnu.org; Sun, 21 May 2023 21:12:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684717921; bh=kYIw6h9xIre3aE27rfEp7unfksQ7G2pSgZrcai+QNaI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=GyYLr2YJgP44w8ghNVyJl8UlXW2wbizDecsoJ8+G+MPHgIkuEwvgs6HFu7zv4koYb/2jdBMOblIUbBcHF0/la7pfuBWm3Vi7RnXTXfNy6IgTU8Ym/fD8lWDdT6aOCaq4zCPMz23IbJsaNOMY+PLbBc7TgGl8DAe0wOMS4b2hga/iSMYskhsqQBkieYwJAEwKXR5YF30NP9TPoJmeCx75zGjwc+O44R/0OQPJMwhK0l+UStzWTrTtc8Yv7Nu8pUDNkzwYyUjscZP8ZtY9k6GbA16krYeKFNXPfD46U8aJZ8mYsrHxs2g4Q7195hJ1Exm3hcziPtaanXvFWHNb4QJgjA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684717921; bh=R3EPHxIarkQrcl83tUgeVWlLROie2ghoEM9hILvvliv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=JYsRSDVRUibiYa2wE73BouQLST8ggzwnVG6bybb62YPJ5OTLbP9CDN+hCTkP6sUnEKfM0YtRhS/rxKzR18Kzw0KOxqCFTJwkogideS35mnkp0dF/Pzqly79X1AoJmhpWCSqSHHANDGPjTWNXlcc98rWoAD76ypCQy8a7TTV1CCM2EqXlZTg//oBGMdf1tr9+51TifKMcCNe6bMZ6qTXdwLsCSm6pOTZYI3xz6wM+uQUxqITpGQlheq4WV/XScz1WCQB1jblIqPQUAkN75pIm7tRMSeC+n9Rvx+4SUPjad8KxQLXKp6JAy2b2WpCKs/Nuc9XK/nHqOPtOompIaq0DkQ== X-YMail-OSG: 5rXCkgQVM1mH1ky5DikmYJWS4hZJMwP6CHMcNot67b.X1flEMPRpY9_Nb3b_V8u v0Wo9k5BeePIUj_YxXQkz.Tx6DN3ymryS0MQzAfUwBsOTjm9KkDoHHEhCsJSdtreEniHVztoDTQ1 pyXeFLqcfcrFICe.gqGuTJgKtkZyTvdwm.8HWaGtj4t2lrAYrMLbIMZXUuMo2EWxSI9HiTfTredS T3Lq_Rsu3STfmnptGKL1a85xEIX9HiZsN0n4SsfBALpVHrm6w12raqgmvU7sJpT169QY5nxfHR7r HaJanpN.QSaiViw.d1dy..uPFaJ.KQrJh6TNVFT6GQCYCT3kO03vCjXu8h7G3rT_qdmfMXvGCqQn 2BGDvDNwKQ9MKcGOiPGpItsDTRBDduhKzalaNtxX4LyyiZjjKDh8e6QZ_12ajLVskhEDD4R8ZMUc 8v82COcw_ertdir5HHQoanLpLe_.ukC0laexH4ny6ipDvC4XHiN065GbCiNAe7jgWHX5XIyolEb8 H6klW0bXoAnJoOPxFmoftaVlIOkIG43Sr_1xoUtpyJ4xGjciouzN4SELjkygRYDIjdNJ_HLrd6XB BCKEGAKTcj0htlJpT5ngXmvuoKMjXDrcCC9XLEiHh7UD6FL8A2OGi68TDCulSbjhWCwdZhlJwsHN AgAq._6k0a7RlL3L4qeTxmEjv81kys94McsRhxn0we8ed7vSbXeOTLSHVGjZETYHHzWA5EmD_dkx 3j4t.S_DfM1gZqYYlaOK6h99Q6uuh5m0tk1yCUDOnkQDpu_fKdHZsS9_99NfKCE3pxNgfyZBg73l RcXDlqpfgjBAC41EkGBN2jKMY21RAD4p1N65r107g5 X-Sonic-MF: X-Sonic-ID: 45c39373-c71a-47ed-b88a-6804cd12f6d8 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 May 2023 01:12:01 +0000 Original-Received: by hermes--production-sg3-748897c457-w4b4d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 13f44286a5ab77ab3b3c9921ad4af483; Mon, 22 May 2023 01:11:56 +0000 (UTC) In-Reply-To: <253496c1-088b-b54f-3c64-1cc563e70f24@proton.me> ("Leonardo =?UTF-8?Q?Hern=C3=A1ndez?="'s message of "Sat, 20 May 2023 18:52:31 +0000") X-Mailer: WebService/1.1.21495 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:262125 Archived-At: Leonardo Hern=C3=A1ndez writes: > (event=3D0x7fff20369bc0) at pgtkselect.c:782 > event =3D 0x563f071d44a0 > copy =3D {kind =3D SELECTION_CLEAR_EVENT, dpyinfo =3D 0x90c1b80, requesto= r =3D=20 > 0x0, selection =3D 0x45, target =3D 0x0, property =3D 0x0, time =3D 0} > moved_events =3D > #10 process_special_events () at keyboard.c:4449 > event =3D 0x563f071d44a0 > copy =3D {kind =3D SELECTION_CLEAR_EVENT, dpyinfo =3D 0x90c1b80, requesto= r =3D=20 > 0x0, selection =3D 0x45, target =3D 0x0, property =3D 0x0, time =3D 0} > moved_events =3D > #11 0x0000563f06a9b7cd in swallow_events (do_display=3Dtrue) at=20 > keyboard.c:4489 > old_timers_run =3D If I'm not mistaken, what seems to be shown is that an invalid selection event somehow ended up in the keyboard buffer, to be processed by process_special_events. Possibly, one such event was processed earlier, but not correctly removed from the keyboard buffer. What is: (gdb) p kbd_buffer[1344].sie ?