From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Abysmal state of GTK build Date: Mon, 22 Aug 2022 23:44:27 -0400 Message-ID: References: <87ilmlluxq.fsf.ref@yahoo.com> <87ilmlluxq.fsf@yahoo.com> <87h725olz1.fsf@gnus.org> <8735dplo5d.fsf@yahoo.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 23 05:46:42 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 1oQKsE-0003Tr-PO for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 05:46:42 +0200 Original-Received: from localhost ([::1]:33552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQKsD-0001PA-ME for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Aug 2022 23:46:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQKq4-0007dB-Fp for emacs-devel@gnu.org; Mon, 22 Aug 2022 23:44:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQKq4-0003CD-6h; Mon, 22 Aug 2022 23:44:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=jHvOmVKsjNhu4t9phS2rGa7AlVG+5zSBrJccTWTdGAQ=; b=T+/VIj9USqlF uUkmuo3AVlYPLZ+Rl6rLBaeQVLpq+MR8yFA4aGGrHD8TEhLiW2bIzGmYbzeWQTS3AEBfQ2yHEHXy1 U1qm5BhoorUR4gxmzaJNEue6GSzw7V+kxNysuvnfljQjIDlSQRfnp4KFkE0aN0zsx1vWX/3QwrdtC oJWBIyr7U9edqOQXV5pN9RT+wKrrBYQKFriS2CHonbUOQTIVa8lfE7dabtncZVDmqWvc4+m5WWGFc OLuc4fXhoZijvnhdS+ciZsPlLV8kezXNcXRgobQE+JNYNnrzZ2e+CxupAaMhAhJPXBkulE3HrXcDN 1q7ydkUuzWhW91l/MwNIwA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oQKq3-0007xC-8o; Mon, 22 Aug 2022 23:44:27 -0400 In-Reply-To: <8735dplo5d.fsf@yahoo.com> (message from Po Lu on Sun, 21 Aug 2022 21:30:38 +0800) 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:293835 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > In general, Emacs can only prevent GTK from handling certain events. If > it handles an event that it must handle (in this case, > XI_HierarchyChange) incorrectly, and that causes GTK to later > dereference NULL, there is nothing that Emacs can do. Just like what > happens when GTK calls _exit under our nose. With so many messages on this topic, I can't see whether someone already tried reporting these bugs to GTK developers and saying we find them very painful. Has that been tried? Have we tried patching GTK to add workarounds -- for instance, defining an "exit function" hook to call instead of `_exit'? We could distribute such patches, and they might accept the patches. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)