GNU bug report logs - #47797
Segmentation fault when calling 'git-predicate' in a package file

Previous Next

Package: guix;

Reported by: Ingo Ruhnke <grumbel <at> gmail.com>

Date: Thu, 15 Apr 2021 13:23:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ingo Ruhnke <grumbel <at> gmail.com>
Cc: 47797-done <at> debbugs.gnu.org
Subject: Re: bug#47797: Segmentation fault when calling 'git-predicate' in a
 package file
Date: Fri, 16 Apr 2021 23:32:10 +0200
Hi Ingo,

Ingo Ruhnke <grumbel <at> gmail.com> skribis:

> Calling git-predicate from a simple package file causes guix to segfault.
> Bisect traced it down to this commit:
>
>
> commit c1940fde43c7aca37d67589cc5cb248086d17d56
> Author: Ludovic Courtès <ludo <at> gnu.org>
> Date:   Fri Mar 19 11:51:20 2021 +0100
>
>     git-download: Autoload Guile-Git.
>
>     * guix/git-download.scm: Autoload (git ...) modules.
>
>
> Steps to reproduce the issue:
>
> $ cat mypkg.scm
> (use-modules (guix git-download))
> (git-predicate "/tmp")
>
> $ guix package -f mypkg.scm
> Segmentation fault (core dumped)

Fixed in 5b35c9adc899749a0bd96a0e6d2c3bbf88e38963.

Thank you for the perfect reproducer and bisect!

Ludo’.




This bug report was last modified 4 years and 34 days ago.

Previous Next


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