From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IAxoL78LemCnMAEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 00:12:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6IQnKr8LemAvLQAA1q6Kng (envelope-from ) for ; Fri, 16 Apr 2021 22:12:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0E643217E0 for ; Sat, 17 Apr 2021 00:12:15 +0200 (CEST) Received: from localhost ([::1]:53382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXWhB-0008P3-Kk for larch@yhetil.org; Fri, 16 Apr 2021 18:12:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXW5G-00014y-LZ for bug-guix@gnu.org; Fri, 16 Apr 2021 17:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXW5G-0000eR-4m for bug-guix@gnu.org; Fri, 16 Apr 2021 17:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXW5G-0005J0-2E for bug-guix@gnu.org; Fri, 16 Apr 2021 17:33:02 -0400 Subject: bug#47797: Segmentation fault when calling 'git-predicate' in a package file Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 16 Apr 2021 21:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47797 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ingo Ruhnke Mail-Followup-To: 47797@debbugs.gnu.org, ludo@gnu.org, grumbel@gmail.com Received: via spool by 47797-done@debbugs.gnu.org id=D47797.161860874620347 (code D ref 47797); Fri, 16 Apr 2021 21:33:01 +0000 Received: (at 47797-done) by debbugs.gnu.org; 16 Apr 2021 21:32:26 +0000 Received: from localhost ([127.0.0.1]:41854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 ) 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 ) id 1lXW4U-0007dC-59; Fri, 16 Apr 2021 17:32:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Fri, 16 Apr 2021 23:32:10 +0200 In-Reply-To: (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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47797-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618611135; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=bjOQE360b5gtnmwd7uZnH09nBNpZPXHKO7oM4/Vrdfo=; b=EpVpJuGU+KNES64KWAh/iGBqRiUNV3Gccn8/woeKCFINoxSBrWh9igakvZyZVYegl10WYK yLYrwvlMC/Sn68RT6mNaRDblQogYmreltmmIbK5QQc4oCqCmxs5Bi8+OBHKg5FOGnaFfLC YCEu24Cy996Ju3nggzz/HLeZlEk10cVr1hoRM8VwtkjxovtzVmQxBnHVAetsJ/ia158chk oNyAw2XLARhM34nqvKzDLX4cXFkySwi8e69qUinDIVlg9zvo2CNqu3ZuFl65IenLJotdpm Z3CFmmalzQu6OanXS9EXvYS/bFjqoeTvLxLKpyFjStWjFIaM0kjKSw5YKHCuAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618611135; a=rsa-sha256; cv=none; b=FZs105Xqk3xqCOZZ7z0BjCftp78KpcrwcP90ua5G8OpU3s2Oo1MKEyozMWTue9YE3RMJjX cS69gvbTvFIWoVeMC8RQZYBFAMSSrkhz//gHMM92+vdoT3hxlc7Nl3jisBH2a3yZPrcq8E TqzhIrTMlr/TH6AWpQK9tGaFhiQyMU+a5SW6PVnv6VjDbxgFW8wBxhfDCChQfG3p8qbwy8 GOq4VLsrvNaZtbqLblxRMS9+qHQLN5pedX056xGaOzB4fTlFTulzJf3WOWUCRIh0GRXnTM dG+PahYPUUpJKUEpUrGHKoGCCliLmxpQq7uSdggvZVMM4xdDyyddsESsq5d+Kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0E643217E0 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: RvR6XVpW5sYe Hi Ingo, Ingo Ruhnke 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=C3=A8s > 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=E2=80=99.