From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: The poor quality of Emacs's backtraces Date: Fri, 14 Jul 2023 20:06:02 +0200 Message-ID: <909FC7C1-5473-4746-97E4-B067E6C2B271@gmail.com> References: <3D901B62-4826-4783-B684-968E6890E75A@gmail.com> <6CB5E709-8F5A-4015-9F2C-337A87916C66@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 14 21:06:10 2023 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 1qKO7G-0000oM-TZ for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Jul 2023 21:06:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKO6Q-0007u5-2O; Fri, 14 Jul 2023 15:05:18 -0400 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 1qKNB9-0000HF-7D for emacs-devel@gnu.org; Fri, 14 Jul 2023 14:06:07 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKNB7-0006ES-Lu for emacs-devel@gnu.org; Fri, 14 Jul 2023 14:06:06 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b703caf344so33296491fa.1 for ; Fri, 14 Jul 2023 11:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689357963; x=1691949963; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=CCmU+absk3GHNhPyZaBVSEwEp3CSFldMjBwZV8FYncg=; b=gnegKf7cUWYyXnZsZAR1EZZCFjULF2xoKZZEqRllixbMb4e0dh7mqSEOzfATg4Mqyy 4QOmj89vWy7SqtkdV3tyic6bsa9t2utgmKVSqJODs7xh66IgvRj1o2rvafIx4uLqzvnh UHAvR14UK2yXpRAkVR/0Hjob0jqXK2cWwbi2MElNM8gftgJl6KN23mnszi6MO2Iaje3P O55gVOw7quC4eZ2xLACA/cyalddOJXN4ZlYT+PxoOs4EtMiowADuXGciEfEM3lIOGHEO HNRo9d+9WyeGWEzpvlIdrHuFytOZvrAQ8Llgy2b0KIK/rM9S3RLFv/ue6/0bBHpR6rqw QAsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689357963; x=1691949963; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CCmU+absk3GHNhPyZaBVSEwEp3CSFldMjBwZV8FYncg=; b=VcL2OQXoVr/JnZLxS7M5M8J266ccv9fCPZGWAQC4p7WVtmxSsqJjAiWNVs+vlK84Si r0cFDh9CaUGyxLaUJeQmVJDe5RE4nprv2IjOO1g1L7eBcpgYKDOoGpGtP4H1NUN/2FDs eTcIZ2QouK7YjlCvnTMDkuUG65dkXtZiW6tTwLvhQw5RzuJlmBCFYjmaCvLV2QVjjEJv fMcvyagvoq49TjStmLoluGNL5ePWrWKu2uqvM6INRJb/4M2bux20vOrZxTsujGdh9nPw IyOAbUQLLeDyKg2W0Wn4WfUMfijmEV+eoLLWzbjG33oX4f36NrAKjipgBalBWdq+ipfK gRQg== X-Gm-Message-State: ABy/qLapI7Vd2+yWj99B5hBrTXB7KxZ0vTI5S2m755Drq0yhNMveg0Ch KbhjtxnH7+BMgmiYZ5ztBok9zn4FvFs= X-Google-Smtp-Source: APBJJlFQOvWzCZ4Fxos8uYmgAGDX7AHxeuCAZoQmz0A0TiC8kU1JOEGgoK9v+zjvZhkzF4cLUF3FfQ== X-Received: by 2002:a2e:908c:0:b0:2b6:f88c:950 with SMTP id l12-20020a2e908c000000b002b6f88c0950mr4303928ljg.8.1689357963045; Fri, 14 Jul 2023 11:06:03 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id a9-20020a05651c010900b002b6e3cd82bfsm2097130ljb.6.2023.07.14.11.06.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2023 11:06:02 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=mattias.engdegard@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 14 Jul 2023 15:05:15 -0400 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307875 Archived-At: 14 juli 2023 kl. 15.07 skrev Alan Mackenzie : > There are only 1,728 occurrences of CHECK_* in the Emacs C sources. > Much of the amendment could be automated. No, we had better be careful here -- don't want to make anything slower. > Yesterday evening, the identity of {comp-spill-lap-function} was > very helpful in locating the buggy source. That was yesterday. Today you wouldn't need it, because nth now appears = in the backtrace (well, most of the time). > Do you have any alternative mechanism in mind for identifying = anonymous > functions in backtraces? I disagree with the idea of that somehow being a requirement.