From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46988: 28.0.50; Documenting and verifying assumptions about C code not calling quit or GCing Date: Mon, 08 Mar 2021 20:42:46 +0100 Message-ID: <875z21mnyh.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46988@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 08 20:43:11 2021 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 1lJLmX-0009Kr-J7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Mar 2021 20:43:09 +0100 Original-Received: from localhost ([::1]:52100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJLmW-0004DX-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Mar 2021 14:43:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJLmQ-0004DN-Ad for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 14:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJLmQ-0003zE-3J for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 14:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJLmQ-0007Ju-1N for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 14:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Mar 2021 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46988 X-GNU-PR-Package: emacs Original-Received: via spool by 46988-submit@debbugs.gnu.org id=B46988.161523257728126 (code B ref 46988); Mon, 08 Mar 2021 19:43:01 +0000 Original-Received: (at 46988) by debbugs.gnu.org; 8 Mar 2021 19:42:57 +0000 Original-Received: from localhost ([127.0.0.1]:44890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJLmL-0007Ja-6u for submit@debbugs.gnu.org; Mon, 08 Mar 2021 14:42:57 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:42404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJLmJ-0007JL-Nk for 46988@debbugs.gnu.org; Mon, 08 Mar 2021 14:42:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pDIBCVoqcd94julypzhXb/WErB7YNX63ISJxotZC4Fc=; b=ckeL2K3stSU+VqpnRLaoSFw+OA HqzbvP4RVDEOkeRzH+eU9NaDEOx4alLrEVKg+0X7A16JYowBKzuXXu72YwsR8P3qcyiIjWdraTmp2 F/wWhIIW/D9+4/qd+aB9ui2V3/jJ4VhVukw4uwL7+s8kOQOPfgTucZBmVjFkAnw67cHs=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJLmB-0005hm-Hj; Mon, 08 Mar 2021 20:42:49 +0100 X-Now-Playing: Coil's _Black Antlers (1)_: "The Wraiths And Strays Of Paris" In-Reply-To: (Pip Cet's message of "Sun, 7 Mar 2021 14:06:01 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:201878 Archived-At: Pip Cet writes: > Patch attached. It assumes the standard stack growth direction, and > that __builtin_frame_address (0) is available and works. Uses GCC's > __attribute__ ((cleanup (...))). > > My point here is that the technical implementation isn't the problem, > the question is whether we're disciplined enough to run with checking > enabled and react to bug reports about the fatal error being thrown. This is something that comes up again and again, so having infrastructure to getting feedback faster on this stuff sounds like a good idea to me. Even better would be to have build-time warnings, but I guess that's pretty much impossible? On the other hand, even if this just gives us run-time feedback, I guess the test suite would give some coverage here... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no