GNU bug report logs - #45900
28.0.50; [PATCH] [native-comp] Improve backtraces from async workers

Previous Next

Package: emacs;

Reported by: Phil Brown <p.brown.phil <at> gmail.com>

Date: Fri, 15 Jan 2021 18:37:02 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45900 in the body.
You can then email your comments to 45900 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45900; Package emacs. (Fri, 15 Jan 2021 18:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Phil Brown <p.brown.phil <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 15 Jan 2021 18:37:02 GMT) Full text and rfc822 format available.

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

From: Phil Brown <p.brown.phil <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [PATCH] [native-comp] Improve backtraces from async workers
Date: Fri, 15 Jan 2021 10:19:37 -0800
[Message part 1 (text/plain, inline)]
Hi bug list,

I've been happily using the native-comp branch and it works well. Attached
is a tiny change to set `backtrace-line-length' in comp.el's async workers.
I was debugging a few failed compilations and had run `(setq
backtrace-line-length 0)` in an attempt to see the full path of the
offending files (turned out to be autoloads). The setting was having no
effect on the async compile errors and I realized the batch-mode worker
processes weren't inheriting it.

I haven't signed CA papers since this change is so small, but am happy to
if that's needed.

Thanks!
-Phil


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5,
cairo version 1.16.0)
 of 2020-12-23 built on mars
Repository revision: ffcd490cb49ba86d625288ea425d98e8cac22a05
Repository branch: feature/native-comp
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)

Configured using:
 'configure --prefix=/home/phil/local/emacs-28-snapshot-native-comp
 --with-nativecomp'
[Message part 2 (text/html, inline)]
[0001-Set-backtrace-line-length-in-async-worker-processes.patch (text/x-patch, attachment)]

Reply sent to Andrea Corallo <akrl <at> sdf.org>:
You have taken responsibility. (Sat, 16 Jan 2021 12:41:01 GMT) Full text and rfc822 format available.

Notification sent to Phil Brown <p.brown.phil <at> gmail.com>:
bug acknowledged by developer. (Sat, 16 Jan 2021 12:41:01 GMT) Full text and rfc822 format available.

Message #10 received at 45900-done <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Phil Brown <p.brown.phil <at> gmail.com>
Cc: 45900-done <at> debbugs.gnu.org
Subject: Re: bug#45900: 28.0.50; [PATCH] [native-comp] Improve backtraces
 from async workers
Date: Sat, 16 Jan 2021 12:40:50 +0000
Phil Brown <p.brown.phil <at> gmail.com> writes:

> Hi bug list,
>
> I've been happily using the native-comp branch and it works well. Attached is a tiny change to set
> `backtrace-line-length' in comp.el's async workers. I was debugging a few failed compilations and had run `(setq
> backtrace-line-length 0)` in an attempt to see the full path of the offending files (turned out to be autoloads). The
> setting was having no effect on the async compile errors and I realized the batch-mode worker processes weren't
> inheriting it.
>
> I haven't signed CA papers since this change is so small, but am happy to if that's needed.
>
> Thanks!
> -Phil

Hi Phil,

thanks for the patch!  In as 88100bed0a.

My suggestion would be to do the CA paperwork anyway as might be handy
for the future :)

Closing

Thanks

  Andrea




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Feb 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 43 days ago.

Previous Next


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