GNU bug report logs - #62623
(backtrace) hangs and causes excessive memory usage

Previous Next

Package: guile;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sun, 2 Apr 2023 17:57:02 UTC

Severity: normal

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62623: closed ((backtrace) hangs and causes excessive memory
 usage)
Date: Thu, 13 Feb 2025 10:04:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 13 Feb 2025 10:03:12 +0000
with message-id <87lduajh5r.fsf <at> cbaines.net>
and subject line Re: bug#62623: (backtrace) hangs and causes excessive memory usage
has caused the debbugs.gnu.org bug report #62623,
regarding (backtrace) hangs and causes excessive memory usage
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62623: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62623
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: bug-guile <at> gnu.org
Subject: (backtrace) hangs and causes excessive memory usage
Date: Sun, 02 Apr 2023 18:38:26 +0100
I've got this problem in the guix-build-coordinator, but I've been so
far unable to reproduce it in a standalone manor.

When (backtrace) is called, the output seems to start, but then stops as
seen below. The memory usage also seems to then start increasing with
increasingly large jumps over a period of hours.

I've seen calling (backtrace) crash before, but this behaviour where it
seems to get stuck is new. I can't tell for sure whether the excessive
memory usage is directly related, or a consequence of the problem.

I've included some output from (backtrace) where this problem occurs
below.


Backtrace:
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix-build-coordinator/coordinator.scm:
    900:9 12 (_)
In prometheus.scm:
    429:4 11 (call-with-duration-metric _ _ _ #:buckets _ #:docstring …)
In ice-9/boot-9.scm:
  1747:15 10 (with-exception-handler #<procedure 7f18a15931c0 at gu…> …)
In guix-build-coordinator/coordinator.scm:
   913:15  9 (_)
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In guix-build-coordinator/coordinator.scm:
   915:19  7 (_)
   858:10  6 


Backtrace:
In guix-build-coordinator/utils.scm:
   1179:6 13 (_)
In ice-9/boot-9.scm:
  1747:15 12 (with-exception-handler #<program 7fb7adc56a00 7fb7ab4…> …)
  1747:15 11 (with-exception-handler #<program 7fb7adbf6f00 7fb7a98…> …)
In guix-build-coordinator/coordinator.scm:
   1011:8 10 (_)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In prometheus.scm:
    429:4  8 (call-with-duration-metric _ _ _ #:buckets _ #:docstring …)
In ice-9/eval.scm:
    619:8  7


[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: 62623-done <at> debbugs.gnu.org
Subject: Re: bug#62623: (backtrace) hangs and causes excessive memory usage
Date: Thu, 13 Feb 2025 10:03:12 +0000
[Message part 4 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> Someone else has this problem, which makes me feel a bit better since I
> had no idea what's going on here.
>
> I'm assuming that (backtrace) causing issues is still a problem with
> Guile itself, but it seems like there's some involvement of
> guile-fibers (which fits with my experience):
>
>   https://github.com/wingo/fibers/issues/76

I'm not sure, but I think this is fixed now.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 190 days ago.

Previous Next


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