From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: long-standing GTK bug Date: Thu, 03 Mar 2022 21:30:35 +0800 Message-ID: <878rtrrwn8.fsf@yahoo.com> References: <871qzktpd8.fsf@yahoo.com> <87pmn3sdpm.fsf@yahoo.com> <20220303.151304.1149556246650184966.enometh@meer.net> <87k0dbs5vh.fsf@yahoo.com> <87lexrjhlw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Madhu , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 03 14:33:57 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nPlaf-0007Ln-DO for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Mar 2022 14:33:57 +0100 Original-Received: from localhost ([::1]:58408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPlac-0004xR-Se for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Mar 2022 08:33:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPlXf-0002ta-2S for emacs-devel@gnu.org; Thu, 03 Mar 2022 08:30:53 -0500 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:41617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPlXc-0000Jt-TW for emacs-devel@gnu.org; Thu, 03 Mar 2022 08:30:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646314246; bh=JqYghx5Am8KhXgZSpEh42IMvkMJs2gfRQVRzINlPgUk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UbB9kVR5C7BdOBJR2J2lqO7vLprLJ/7aGW+AE3cAMTa/dAdZ/Jr0TNymwfHAr7ZThBrCERvz7RnFMajFl38EyvU3CDQ+rxWJitIu/HlS7w/O65VeE/+azNWgWeBGssiVdJqc54OUBMG1T1QNf1t+mbsWRTGLAwC26NLp9HE5mrFTcUIk+G5e2lb1syixZlFj40JR7734TFaFQb/7UcBG01/51Gev8O0XcrbBdariopnPE4EwX3Bg9nTE2Lg+jW7f6EHBg8W1yPhEU6m2c3TGUFGlYYTieymUF+JbcBE2Qwea50qEK7q7Ec5eKUlzvSd+3AV2SxR5rOErPaHJUnAX5Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646314246; bh=lI5ymGdZ42gHtyxQsNco1Dk3PfRNWPicugQrFtCIbu3=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=C9nJTjCq5pL7YaPGSodo/Z+7CrnIYmndfB6AmCiGKAR+AdqssH8DF0CoccLjjX0jlZ8iLEEEwWLdt8wHVcUvoEg+R/YCQxaO3crbYyB1JKfkA8WNSAOVq75gZidrtx+Xca0/FHvRMOForeDml8eTfBlKkBQy+EiJgB/t+xgy4WwYI1swliFPweNrF+KcT448L6L0WYZf0mu+HoJJO4wcU4rD4w57zQt1Pg/LNZXL97PHpXr/F2CDRI6y6BZEjvwXvpCR1ort32vvmbuntt7HLUR6ZVy1L1BKuin476TRsVWtpsP1o/lDEsrvyAV0HB/PjmJnLIhfy1xJFGYmzUDXtA== X-YMail-OSG: nn6R0nEVM1loYBGxnTsjEpcaCiI.Ev5S9ry_fP3NyAeySTYo220E4oRbL3k71h_ CMKskHosIbRUhOWwSv9vPep8_QnNc8iLeUPmUlsLXRdBkvigadGHFx49wY8pZqTAvWgh8WMy6EUi .8t5whi9s9b_P6LWzzy9XY9BuWjtygCAbowKXRnhqROsfIdl23G7klFWCZLpopL.YbYsjy9lXQrX j0aHRBfRjNbJwNPs6FHukTXdvoaGIq7yixEt6yDzzHqVC_5qpNhBC5eetzuZeLkVcI7D.qH9EmK9 U5dH3if5IUKUTpdQQhUdH4NIvdXQyVjO1gDbBVMtBQSICbRH9GKHLRpt1b0qwo3AZ9FRW8eFBBpH yV1ZpBIb6ZA.QfwSeZyJvMXyHyfldiajsW76UcbjLhj8d23y5seMTUBcum8R_aXds_r148jvZRTi W_AadoiSs227tNdIoPuZhcljnJN3AO7t2t9zrhlM_gw2sNZoqVE1mLw47.dthEssWifjSh_bx10I 4CMK9uM0PZQR73ntgnqUm.jlJQYKSsrlL_hDjO_2i9Tux2PrE57xXki0JdK2KOPvgsWDFPz0vqsB 1a61vGrtHSRdctTC38y4kxK9nUZukWI.ek6spGwuI_Khfl.ZxHWtiw_AX_s5hRSp9agrZn0Ki0mt 0KO5IA52xQptcgnqrDZCCw1vjkDjtUewxAfM5G6AZefR_04aqvdxa9SCUCOhfsk9sWh8M4XwuJcn VVqSqX0Dip4lFwzDr5qo1Wylq9qC155FNGETMGLB7LvW9p2bEl1gL7zUrA3lnCsbjoQvPQODjN3N J.PsVFWi3OKPABkxpg5dSZrLavNkQfcDuF52TvIN1L X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 3 Mar 2022 13:30:46 +0000 Original-Received: by kubenode511.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2b88e7abf5510ca98cf45d6caf8afdc3; Thu, 03 Mar 2022 13:30:40 +0000 (UTC) In-Reply-To: <87lexrjhlw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Mar 2022 14:22:35 +0100") X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.200; envelope-from=luangruo@yahoo.com; helo=sonic301-31.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286787 Archived-At: Lars Ingebrigtsen writes: > And is it impossible for Emacs to rely on that? (I know nothing of the > code in this area, but it'd be wonderful if we finally could work around > these Gtk problems.) I think what he's saying is that `gdk_display_close' doesn't remove the installed event sources upon disposal, which is similar to what I experienced trying to fix the problem in GTK itself. It seems that something in GTK keeps holding a reference to the display, but I didn't figure out what that was.