From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#75322: SAFE_ALLOCA assumed to root Lisp_Objects/SSDATA(string) Date: Fri, 03 Jan 2025 21:34:07 +0100 Message-ID: References: <87jzbbke6u.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75322@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 21:35:27 2025 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 1tToOE-00058w-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 21:35:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tToO6-00026G-5d; Fri, 03 Jan 2025 15:35:19 -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 1tToO1-00025w-Ce for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 15:35:14 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tToNp-0003wM-VA for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 15:35:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=9m6PJGQ60g+YLBRxAouuYbyfDi3ZUCznIplT+JVB1Zg=; b=cHcVIU9dtbXvbfInfZ6lkQbbF41nPaIEi+7nn0jrngNL1aokQcGXdLbafVC5e4UB+iA+nrkZmwDdAt4RWwDLf0N6WjNBdXptrzLCpObk5+0n9IJ2hfjr96Q6unlltkzAFmrAVsxtmotTsPt8k5/5kdqN5/I+npefcrWkoGC1ExBj8KSM21kHzUX8JnGtvTBGKUipe3l1JfTjLGhI9/FUxFb1qWY//b2lUG9p6JIUyeCVNefCs7acOjsqIg0cXx2PmpjQVVju6bAArS7Siut+2hmynxEscqot922/uJjdG6ZBALAjhtqSZPJa3lCrFeUgJrsYM+Ximt6SY26lI4ej5Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tToNp-00085P-PM for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 15:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75322 X-GNU-PR-Package: emacs Original-Received: via spool by 75322-submit@debbugs.gnu.org id=B75322.173593645430966 (code B ref 75322); Fri, 03 Jan 2025 20:35:01 +0000 Original-Received: (at 75322) by debbugs.gnu.org; 3 Jan 2025 20:34:14 +0000 Original-Received: from localhost ([127.0.0.1]:52339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tToN3-00083N-Je for submit@debbugs.gnu.org; Fri, 03 Jan 2025 15:34:14 -0500 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:59747) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tToN0-000833-KO for 75322@debbugs.gnu.org; Fri, 03 Jan 2025 15:34:11 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3862d161947so6058694f8f.3 for <75322@debbugs.gnu.org>; Fri, 03 Jan 2025 12:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735936449; x=1736541249; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9m6PJGQ60g+YLBRxAouuYbyfDi3ZUCznIplT+JVB1Zg=; b=QJ4oCi7mBocNKxPPIE5eeJ94eEuJaQDHhPVwhtRDxpohv1tvYyt1zCIgQha8zLqchq IghinLoFpeqz54UE0rwP6x+KzJPtCGC8T66kXHy0lzNuYgmZwKYLWDAjDeqpsVpxvaLj y/TSk5KGPSQXmkq9vK3mNKlfoP520dbGXCuGxNArtan7s4c7B+Ligs+NXri9hgwMJyCw UZ/Ouv/9UKSXNCW+bBKBple9O1AETlxHllfu2JNdgUm+d5F4V9G2BWFwKL/Rf74a0GSW CCL96o9niAWZ8DL+3x2+Pkxc9tWgX1h+9tQ0qPNfq5F68uZ/OMXYqmFnKcxr1FG7tirx DjvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735936449; x=1736541249; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=9m6PJGQ60g+YLBRxAouuYbyfDi3ZUCznIplT+JVB1Zg=; b=KH3XsMnSE7A+UjVDDQrSHDoViWs2XrH1vWEbJa5hGd9QxazC11NsUNs0f6sFtwJCr7 3iNn6Ji29m3liRKeAf3FsCHjcRaR0W9FPiD9M48LC7+HwlQ+UTACLWmR0cgf4rV4QIUb J67zP72PXleXRG/i8HQNx6QMV73CzMcZ8j7R3qT9c6suUS7AHu4hldxK1Zh2ifkH/coF HA2eQw2N7wIiJ2+hmggsE28qntz2FoA4GaccCIjkFnXtfp6K7ptxyvfSWfIlBELiTjz7 REeRYiPQAXIUfambu6SjhJXMFp0tmXnkTMU7qa5gQg2A4tb8SVPI5cl4phEWTmHJH7kc 0wAw== X-Gm-Message-State: AOJu0YyPoJjLmySHvA8Ge6TuveVtAZUf9K9I3Xn7qXk4tW7xHv+TWTIt GFoIHdjsZVtLwJtl6LnknUdaKtzm8LJ+WVxROWl9rOknibyQ9O8Qd1aN7w== X-Gm-Gg: ASbGncsiNcbEF3mTXGwxpxFyiPf1IsP6naZ7WTR5l2B9agxVEqLhqBshN189uFveTG0 GWLkRg+bfU9XhOnbJzrfZlXQGzo+z5dngc/kA4xtwjT/Hxds9r2gQ1lGdGW1MhaCNvVDnMKEBVJ 1sR0ozCE9B1YCfBF9fEBSsyF/kAmodVS/YqPz+bSYwIkhyfRK10cw2px6Kf1+boAAfUsGK6uhtr /b4u/JJlT6ayPo7xGfBx47pemYUdqUdzdtbhRZyyu9Dh2ArCYOfFNC5f46KelHJ7k8n6MlP2W0w ponRmZNJv+q/TPRg7Ml9t/2qu8QUbeoJhmrTMMPRD9cG/aL3vHZ2MIOA1D5oTWt9Cg== X-Google-Smtp-Source: AGHT+IHKIYaKYv89TjIT92GQXwvHHIlefRc5Xu/33Q1JlhLlQey6/GWfJ0rkypdPeXv858Jot60Urw== X-Received: by 2002:adf:ae42:0:b0:38a:418e:1177 with SMTP id ffacd0b85a97d-38a418e1435mr24240795f8f.11.1735936449026; Fri, 03 Jan 2025 12:34:09 -0800 (PST) Original-Received: from pro2 (p200300e0b731ca00a950f63ba10c4b41.dip0.t-ipconnect.de. [2003:e0:b731:ca00:a950:f63b:a10c:4b41]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8a6ab1sm42480063f8f.87.2025.01.03.12.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 12:34:07 -0800 (PST) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Fri, 03 Jan 2025 20:55:02 +0100") 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:298313 Archived-At: Gerd M=C3=B6llmann writes: > > The pointers to string data case probably requires adding yet another > macro SAFE_ALLOCA_FIND_A_GOOD_NAME, which, for MPS, allocates a root, > possibly and exact one which would be good. Or one does it as you did in b0a209e9204, that's of course also safe. For both old and new GC. (Don't remember if you mentioned it Pip, but old GC moves string data as well, during string compaction, should GC run).