From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62009: 29.0.60; Emacs crashes on setf symbol-name Date: Fri, 10 Mar 2023 09:11:05 +0200 Message-ID: <83a60l13p2.fsf@gnu.org> References: <87o7p5of4n.fsf@daniel-mendler.de> <871qm01s6n.fsf@web.de> <9fcf05e8-506c-6566-e214-2ecf3194b85e@daniel-mendler.de> <83bkl45ul4.fsf@gnu.org> <87v8j9zl3i.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, mail@daniel-mendler.de, monnier@iro.umontreal.ca, 62009@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 10 08:12:19 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 1paWvL-0002Pq-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Mar 2023 08:12:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paWv7-0004mw-IA; Fri, 10 Mar 2023 02:12:05 -0500 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 1paWv5-0004m8-FL for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:12:03 -0500 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 1paWv4-0001GH-Rl for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:12:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paWv4-0005Vh-FZ for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 02:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2023 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62009 X-GNU-PR-Package: emacs Original-Received: via spool by 62009-submit@debbugs.gnu.org id=B62009.167843229221143 (code B ref 62009); Fri, 10 Mar 2023 07:12:02 +0000 Original-Received: (at 62009) by debbugs.gnu.org; 10 Mar 2023 07:11:32 +0000 Original-Received: from localhost ([127.0.0.1]:53532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paWuZ-0005Uw-Nw for submit@debbugs.gnu.org; Fri, 10 Mar 2023 02:11:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paWuX-0005Ui-UK for 62009@debbugs.gnu.org; Fri, 10 Mar 2023 02:11:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paWuR-00019l-Rz; Fri, 10 Mar 2023 02:11:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7HWhfYNmGeEBxXDOcUmUmtdTUempUT7fQh5EkF5zKiE=; b=aixqg3dwvGd6 akFUX3zMFFTJpdcXFEUiAxzZx7tT/QkdwzQr0Xs5ksMFAzQfBlR++U7YLgr6yUdYdPXhEULYr9jIf V457EXMxZoijNWCACROpAVwDFnS736Ynq1gJyL6u3uXGy4w7D5E9+XPfrN7b7WY0bKANwIN/LdPQF JBjI7UygLovNSg/l9nD0GEXSHB5f2Pj40WS/AIsrKMaGbhzG0uo8IGt+18FIVMC82iaYatXZ+YvGm rFFPF3iVGkshDpp9QncHqHnDNnTiZXXXROPgVJwQDX2xDSc46GcowPgHZwRqNZ/5ClIyPEPk+8uhr 0S/BYyqdQLjQ4LGPwea0xQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paWuR-0000g2-6D; Fri, 10 Mar 2023 02:11:23 -0500 In-Reply-To: <87v8j9zl3i.fsf@posteo.net> (message from Philip Kaludercic on Thu, 09 Mar 2023 21:11:13 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257652 Archived-At: > From: Philip Kaludercic > Cc: Daniel Mendler , michael_heerdegen@web.de, > monnier@iro.umontreal.ca, 62009@debbugs.gnu.org > Date: Thu, 09 Mar 2023 21:11:13 +0000 > > > AFAICT, they _are_ frozen. These names are in read-only memory, where > > you cannot write. That's why Emacs crashes, AFAIU: the code is trying > > to write to protected memory. > > > > Just don't do that, cause it's gonna hurt... > > Is it not possible to detect this before the illegal memory access, and > raise a signal in Emacs Lisp? It won't be easy, if at all possible. And I'm not sure we even want to do that. What would be the purpose of supporting such a use of Emacs?