GNU bug report logs - #35542
Installer does not display full backtrace on error

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Fri, 3 May 2019 09:00:01 UTC

Severity: normal

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 35542 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 35542 <at> debbugs.gnu.org,
 "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Subject: Re: bug#35542: Installer does not display full backtrace on error
Date: Sat, 4 May 2019 19:06:17 +0200
[Message part 1 (text/plain, inline)]
Hi Mathieu,

On Sat, 04 May 2019 18:14:48 +0200
Mathieu Othacehe <m.othacehe <at> gmail.com> wrote:

> Thanks for testing Florian. Based on Danny suggestion we could set
> COLUMNS to 200 to have a more verbose backtrace (like guix itself).

Good idea in principle.

> Using higher values, the backtrace becomes really long and harder to
> read. WDYT?

When we have a designed error message, we present one--and, there, brevity
is good.

But backtraces are for developers only anyway, and are not designed error
messages.
So for backtraces I'm against throwing *anything* of the backtrace
message away because we don't know what part of it is important (if we
did, we'd print a designed error message instead--I'm all for doing that).

I think this is something the default Guile setting gets wrong and I
don't understand how it can be a good idea to suppress half of a
message intended to simplify debugging for a developer "because it's
too long".  The length is nothing compared to the amount of text a
developer has to type in order to reproduce the missing parts later on,
if it's even possible.

I'm even actually using core files (including attaching to them using a
debugger in order to examine variable values), so I might be an outlier.

So I'd be for either presenting the entire backtrace or suppressing the
entire backtrace, not having teaser backtraces :)
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.