GNU bug report logs

#47797 Segmentation fault when calling 'git-predicate' in a package file

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

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

Received: (at 47797-done) by debbugs.gnu.org; 16 Apr 2021 21:32:26 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 16 17:32:26 2021
Received: from localhost ([127.0.0.1]:41854 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lXW4e-0005I6-Vy
	for submit@debbugs.gnu.org; Fri, 16 Apr 2021 17:32:25 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1lXW4d-0005Ht-Sw
 for 47797-done@debbugs.gnu.org; Fri, 16 Apr 2021 17:32:24 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:50464)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>)
 id 1lXW4Y-0000F1-6l; Fri, 16 Apr 2021 17:32:18 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40128 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@gnu.org>)
 id 1lXW4U-0007dC-59; Fri, 16 Apr 2021 17:32:15 -0400
From: Ludovic Courtès <ludo@gnu.org>
To: Ingo Ruhnke <grumbel@gmail.com>
Subject: Re: bug#47797: Segmentation fault when calling 'git-predicate' in a
 package file
References: <CAHz1FYjJcFcfs7N-=defK8VWUSw5PHBnMQOKdSVy0Yg79nkKPQ@mail.gmail.com>
Date: Fri, 16 Apr 2021 23:32:10 +0200
In-Reply-To: <CAHz1FYjJcFcfs7N-=defK8VWUSw5PHBnMQOKdSVy0Yg79nkKPQ@mail.gmail.com>
 (Ingo Ruhnke's message of "Thu, 15 Apr 2021 15:21:39 +0200")
Message-ID: <871rb93oh1.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 47797-done
Cc: 47797-done@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
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’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 09:38:12 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.