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#61847: debug-early-backtrace only works some of the time. Date: Tue, 28 Feb 2023 14:16:40 +0200 Message-ID: <83fsaqgf2v.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34412"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 61847@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 13:17:35 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 1pWyvG-0008iH-KF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 13:17:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWyuo-00079d-Et; Tue, 28 Feb 2023 07:17:06 -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 1pWyuk-0006o1-Tp for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:17:04 -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 1pWyuk-00073R-HL for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWyuk-0003WK-DS for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:17: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: Tue, 28 Feb 2023 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61847 X-GNU-PR-Package: emacs Original-Received: via spool by 61847-submit@debbugs.gnu.org id=B61847.167758659613478 (code B ref 61847); Tue, 28 Feb 2023 12:17:02 +0000 Original-Received: (at 61847) by debbugs.gnu.org; 28 Feb 2023 12:16:36 +0000 Original-Received: from localhost ([127.0.0.1]:49860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWyuK-0003VD-Dc for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:16:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWyuJ-0003Ul-1K for 61847@debbugs.gnu.org; Tue, 28 Feb 2023 07:16:35 -0500 Original-Received: from fencepost.gnu.org ([209.51.188.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWyuD-0006wg-KH; Tue, 28 Feb 2023 07:16:29 -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=Gpz3rP+GhxkZ7QKh0wTizbdf2EgoRQzskR+hyCf2KRM=; b=kGavzBVEFxG2 liQsC3cEgvjLO4PKs3YMtMLmmkIZha6YmXPi+cA2utAplcALX1MsgpmbLpX6A9F3+RhOLYxX2yMGH QtCEsebGHdD5eWt2R65e+crN1FuUDpiJ6Ygg9yTJSYPV/Zwo/CVEL2zUt7rWoOpQHAfV7jfPjWmwL c6dbmt0tYxR9VVjqjNdaSqm2hL+XqJVFF+DE5suezPdKG3GQuiQJLN53asomumnv8gEEIlZ4QaT3D CV2Zklyi7SoT5DzKZZKAYdaJk/80q4zmXczjHz43r5BXpJZlNEDOeKYwxUdV4SbK2VP4Tkqq+ipVk 58egrOORDKEc+jpWsYxn+Q==; 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 1pWyuD-0004su-3B; Tue, 28 Feb 2023 07:16:29 -0500 In-Reply-To: (message from Alan Mackenzie on Tue, 28 Feb 2023 09:12:08 +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:256950 Archived-At: > Cc: 61847@debbugs.gnu.org > Date: Tue, 28 Feb 2023 09:12:08 +0000 > From: Alan Mackenzie > > > How 'bout the patch below instead. > > Maybe we should instead try and check whether we're after the bootstrap > > (not sure what would be the corresponding test). > > It might work. It might work now, and fail in future releases of Emacs > should the loading mechanism get changed. The original code using prin1 > was rock solid, by design. It isn't clear to me why you consider code that uses prin1 to be "rock solid by design". Please elaborate.