[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-clean
From: |
zimoun |
Subject: |
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'. |
Date: |
Mon, 30 May 2022 15:09:47 +0200 |
On Fri, 27 May 2022 at 19:33, Maxime Devos <maximedevos@telenet.be> wrote:
> Why are 'stack-error' and 'out-of-memory' being caught?
> I recommend using one of the regexes from string->generations
> in (guix ui) instead to avoid catching too much.
Well, I have sent a v3. Note that that 'string->generations' does not
catch the value out of range we are talking.
--8<---------------cut here---------------start------------->8---
$ guix package --list-generations=12E4567890
Backtrace:
9 (primitive-load "/home/simon/.config/guix/current/bin/guix")
In guix/ui.scm:
2230:7 8 (run-guix . _)
2193:10 7 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 6 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/package.scm:
799:7 5 (_)
In ice-9/boot-9.scm:
1747:15 4 (with-exception-handler #<procedure 7f97f7728150 at
ice-9/boot-9.scm:1831:7 (exn)> _ …)
In guix/scripts/package.scm:
810:16 3 (_)
In guix/ui.scm:
1887:9 2 (matching-generations "12E4567890"
"/var/guix/profiles/per-user/simon/guix-profile" …)
1760:13 1 (string->generations _)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure string->number: Value out of range: 4567890
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., (continued)
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
- [bug#55673] [PATCH] cache: Catch valid integer for 'last-expiry-cleanup'., Maxime Devos, 2022/05/27
[bug#55673] [PATCH v2] cache: Catch valid integer for 'last-expiry-cleanup'., zimoun, 2022/05/27
[bug#55673] [PATCH v3] cache: Catch invalid 'last-expiry-cleanup'., zimoun, 2022/05/30