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: Thu, 25 May 2023 18:35:56 +0800 Message-ID: <87zg5ssnoz.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19103"; 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_?= =?UTF-8?Q?Hern=C3=A1ndez?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 25 12:37:21 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 1q28LR-0004lP-Ni for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 May 2023 12:37:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q28LL-0003z6-T2; Thu, 25 May 2023 06:37:15 -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 1q28LE-0003yo-6C for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 06:37:08 -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 1q28L8-0002sT-4k for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 06:37:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q28L8-0007IV-0d for bug-gnu-emacs@gnu.org; Thu, 25 May 2023 06:37: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: Thu, 25 May 2023 10:37:01 +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.168501097627981 (code B ref 63614); Thu, 25 May 2023 10:37:01 +0000 Original-Received: (at 63614) by debbugs.gnu.org; 25 May 2023 10:36:16 +0000 Original-Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q28KO-0007HE-AY for submit@debbugs.gnu.org; Thu, 25 May 2023 06:36:16 -0400 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:41731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q28KL-0007H0-W3 for 63614@debbugs.gnu.org; Thu, 25 May 2023 06:36:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685010968; bh=1Cc778El4+7UK0rTyaTBXDHy5nsXJ/rAH4bZYKRSlok=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OUBKovWyBOEepnlj60pCjdcNeKPu7CTiH3KpHKkAHTZidXvEu6m4HtQ+QxmKOi1ZnAXfsU/R3qEnw529NovXL0knpp8U3oCIx48ZfD9Q++hGDkvQPZJilliPgUIyLCAd9hps6VAwVwsgcPWuxLh1TIbgdkiFCmy0AYAibw6Slfp7cB0C6cBpuXZQqNVu4S3mPZFfuxwlCY3w5W2ExoB1+wTYPClqbNNw3z8syb1YSjJDgTfX53iRTNiLP+4r9rAI8fsN1FSsjWqzaemoTgJ/hcd+MSVUm5cdiSCdYtAAxk38ZxF++Qu8RvdKroSllh7HhFBgOMVcaOi0WL1DYV3MyQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1685010968; bh=aEbnsbSZNouSCRj+IY04tbl6w83LsWY4yfP8AN6ss+0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AFsZdyDXy1jBNiQT9gnZpV3myhnHZdaZDl4UH2jX55rV6viHWCe0KBR6sg8QZVjHRGtxJnoH42eox4I9XZ7VOjvO5NZvsNyIZ6Tgr4R5Is3gpeELp6RN5w1huKj2rvgdyQ7RfiIxGxOQKv/V6KY5GGOTamlD0bWswzwTVhj9nrITYhzRg3IYJ9ftglRUICFRr+F0LJMxg6ihYXhLQlfbIvLJSLew2PC5Ke5zo3kMLo5U4+XHfRbkMBcd1196h6a5xQwyAgQtn2s7r3XDFpsIQJHBFyErqCumd00tYLoTFf594POlGeCdRtBF/coqqAMK2YMaf/U4ma8MhriZFkRrYQ== X-YMail-OSG: tYPVuycVM1lAhq2IqgBFtjItxVrVCForlZ5o3AdEvfcoINIUhAGhn4.6EumukPv xvA2lklHPyYCQAWxZJtr1DAf.O5SiwcgFbn2yEX09S6nadP4IsiDHaUBSblboZYOJgmnYFdZmPQz bB0dpeUhOphwTxMsGyIcSDBhCrgpTT24UFAUhRH27.O1n3kCueBixUvjofC8jJVSvi4qxGQBRHMH kKaU1QEhqZ5Co0mWWZdhbogAEkVfmcbX99grnyuHwSSHAuhkRhBZneFg1wUrfvS1DdcLBYE2nvpW sxJY0TTIzBuTpsh13lcPKsvDGzrwgJM6PdwSgYT9EJOyMO4UgF.JddpulsIendM4Cyuu._xzbzRb N03FKQP8wwPhygkUSQLyvnfgIZgN71PwZlcMCSUY7reC5Wo_kTt6HFN.ey0F51zS85Ye7pjeuJGS qG0l2mPA4iZzWVSTaAZOtJbXWFfVTQkERpQ_TfEl6Stwe4TUwE.aaWogIgN2TQCLOxkh2Ly5Wpjw 6tzDeBzSMic19kpaJpPG144kz2OtTWXHw3ut0kKVzQr2meC8K0EKTMSdWXbhQL0X.uqXTIPbTIVV 6mgls9kORXRW_ozbFoKMh0KK6MIUTXTElDx9g_PhL1mI5rUfNGX76Q2KDhPAtzv5PafyVdUbtFng 2AimbXwUNkhw16yadNuIifS9nfYrvHf12cjmNbh5foPPMnob_Q2KvT8nxjKunBMuIquLKABbg2Di ZZd_UDBrRas9b2e699NH7PCP9eGpiocVqTrLAqTBXckQeYIeT_8bA_L9NUSrKQt7zoql90Xgiwqs sa_h.wZsYnPxyis05EMSU2pC9qWwwkyYwNUR7ctj9U X-Sonic-MF: X-Sonic-ID: e639eaec-7023-4da1-b8c5-9eb7327e844c Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 25 May 2023 10:36:08 +0000 Original-Received: by hermes--production-sg3-748897c457-xs9vv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8e82dd13533c75fa52309b276ed7d112; Thu, 25 May 2023 10:36:03 +0000 (UTC) In-Reply-To: ("Leonardo =?UTF-8?Q?Hern=C3=A1ndez_?= =?UTF-8?Q?Hern=C3=A1ndez?="'s message of "Thu, 25 May 2023 06:48:17 +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:262356 Archived-At: OK, thanks. Does the crash still happen with this? diff --git a/src/pgtkterm.c b/src/pgtkterm.c index b8c626d81d8..bbe68f04adc 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -6606,8 +6606,7 @@ pgtk_selection_event (GtkWidget *widget, GdkEvent *event, if (event->type == GDK_PROPERTY_NOTIFY) pgtk_handle_property_notify (&event->property); - else if (event->type == GDK_SELECTION_CLEAR - || event->type == GDK_SELECTION_REQUEST) + else if (event->type == GDK_SELECTION_REQUEST) { f = pgtk_find_selection_owner (event->selection.window);