unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ingo Ruhnke <grumbel@gmail.com>
Cc: 47797-done@debbugs.gnu.org
Subject: bug#47797: Segmentation fault when calling 'git-predicate' in a package file
Date: Fri, 16 Apr 2021 23:32:10 +0200	[thread overview]
Message-ID: <871rb93oh1.fsf@gnu.org> (raw)
In-Reply-To: <CAHz1FYjJcFcfs7N-=defK8VWUSw5PHBnMQOKdSVy0Yg79nkKPQ@mail.gmail.com> (Ingo Ruhnke's message of "Thu, 15 Apr 2021 15:21:39 +0200")

Hi Ingo,

Ingo Ruhnke <grumbel@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@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’.




      reply	other threads:[~2021-04-16 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-15 13:21 bug#47797: Segmentation fault when calling 'git-predicate' in a package file Ingo Ruhnke
2021-04-16 21:32 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rb93oh1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=47797-done@debbugs.gnu.org \
    --cc=grumbel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).