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: Sun, 21 May 2023 08:51:30 +0800 Message-ID: <87lehi1p7x.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="9493"; 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 Sun May 21 02:52:11 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 1q0XIw-0002IQ-Uk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 02:52:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0XIq-0004gD-Nf; Sat, 20 May 2023 20:52:04 -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 1q0XIo-0004fn-Jo for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 20:52: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 1q0XIo-00023D-Bp for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 20:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0XIo-0005or-8O for bug-gnu-emacs@gnu.org; Sat, 20 May 2023 20:52: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: Sun, 21 May 2023 00:52: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.168463030822349 (code B ref 63614); Sun, 21 May 2023 00:52:02 +0000 Original-Received: (at 63614) by debbugs.gnu.org; 21 May 2023 00:51:48 +0000 Original-Received: from localhost ([127.0.0.1]:59667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0XIZ-0005oP-Qm for submit@debbugs.gnu.org; Sat, 20 May 2023 20:51:48 -0400 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]:35989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0XIX-0005o9-P5 for 63614@debbugs.gnu.org; Sat, 20 May 2023 20:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1684630299; bh=ZKVfw4TStCNPrlOJzbiINjNlkUopojZ8uVKl90wSoqc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Bm+SRK0Sv2Q551ZpU2/csTvf8826PLcIo7IeaY66Cjsc84BL0YkPuqzlz3tSjDgfDSTeHTo7TZAg48NoGzQ3XrgmWzTAAsBcUdmZyNvtES+9gTkgqUlf7vXVzVIEP8Cob7BAg6yRTuguWWn1Mzvq2P16FLMPG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0Z8rvZAspfoM7AE8FfdGULwYS8aCaCpOEND0eBtSA1yoUpkw3LWh_AO39BfK YLrxN60CKgfxWz876HWQEAjNOOWZsGAqAaWPlqBKdg30KmCnvMj6lsG010YCf2o75TWg6P4DtQ4k z7XYv0U0NH.JbpCVvKFrrgorPvmRySFpnVwtZQLWXaxt43KbaZ0IoFDPNTukrP7fJxB283ndGhp0 oaVllu_fTfY6vSJV.WOUMRKSC5pYaqlWklZkP2vTvLgY4U3h2KsShD1HNqnrtoE1PossCemp4RhK iDheKzYwn.CT05gX4UIdpXfIrbKNAub7rPpNlQcfNNOusO3htkNKIucSPlaii6E30Xz.dt0NWk7n qdb9pxIbejcgpOcJgIiMRYkGpdQeDc.7oZNzsV7ZpfRhYHfMeo4g.C_Ir2lUpGy5MQZlgMfwY9Vc eKepYzsZJ8OrwS4ZoZcMwROX7ZKrmGPdnywFV06SMo X-Sonic-MF: X-Sonic-ID: 03a34622-f1b6-424c-a7a6-b5fba3c621a3 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sun, 21 May 2023 00:51:39 +0000 Original-Received: by hermes--production-sg3-748897c457-v5xjh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID da1ea16a86dfb0b445d838a56f332775; Sun, 21 May 2023 00:51:35 +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:262074 Archived-At: Leonardo Hern=C3=A1ndez writes: > Hello, I have been having issues with crashes running Emacs with PGTK > on Wayland. > > To reproduce, open `emacs -Q`, then copy whatever you want with or > and then copy another thing outside Emacs, for example, `wl-copy > <<< "Copied text"`, then Emacs crashes. > > Backtrace: > #0 0x00007f92636ac8ec in () at /usr/lib64/libc.so.6 > #1 0x00007f926365d3e2 in raise () at /usr/lib64/libc.so.6 > #2 0x0000563f0697d0a5 in terminate_due_to_signal (sig=3D11,=20 > backtrace_limit=3D) at emacs.c:464 > #3 0x0000563f0697def8 in handle_fatal_signal (sig=3D11) at sysdep.c:1783 > fatal =3D > #4 deliver_thread_signal (handler=3D, sig=3D11) at sysdep.= c:1775 > fatal =3D > #5 deliver_fatal_thread_signal (sig=3D11) at sysdep.c:1795 > fatal =3D > #6 handle_sigsegv (sig=3D11, siginfo=3D0x563f072243f0 ,=20 > arg=3D) at sysdep.c:1888 > fatal =3D > #7 0x00007f926365d490 in () at /usr/lib64/libc.so= .6 > #8 0x0000563f06c49d89 in pgtk_handle_selection_clear (event=3D out>) at pgtkselect.c:742 > selection =3D > changed_owner_time =3D 0 > selection_symbol =3D > local_selection_data =3D > local_selection_time =3D > dpyinfo =3D 0x90c1b80 > Vselection_alist =3D Sadly, it seems that most of the relevant local variables have been optimized out. Would you please run (in this frame): (gdb) *event (gdb) p *event->selection Thanks.