From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yHhSISld5mGIOQAAgWs5BA (envelope-from ) for ; Tue, 18 Jan 2022 07:24:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id P1cXGild5mFecgEAG6o9tA (envelope-from ) for ; Tue, 18 Jan 2022 07:24:41 +0100 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 0E3BA26409 for ; Tue, 18 Jan 2022 07:24:41 +0100 (CET) Received: from localhost ([::1]:43212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9hv6-0002xK-7b for larch@yhetil.org; Tue, 18 Jan 2022 01:24:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9huV-0002we-0T for bug-guix@gnu.org; Tue, 18 Jan 2022 01:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9huU-0002aJ-NY for bug-guix@gnu.org; Tue, 18 Jan 2022 01:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9huU-00023T-IQ for bug-guix@gnu.org; Tue, 18 Jan 2022 01:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53296: Intermittent segfaults when parsing (?) custom package from repo. Resent-From: elaexuotee@wilsonb.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Jan 2022 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53296 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 53296@debbugs.gnu.org Received: via spool by 53296-submit@debbugs.gnu.org id=B53296.16424870387882 (code B ref 53296); Tue, 18 Jan 2022 06:24:02 +0000 Received: (at 53296) by debbugs.gnu.org; 18 Jan 2022 06:23:58 +0000 Received: from localhost ([127.0.0.1]:48636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9huQ-000233-38 for submit@debbugs.gnu.org; Tue, 18 Jan 2022 01:23:58 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:11605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9huM-00022n-Ul for 53296@debbugs.gnu.org; Tue, 18 Jan 2022 01:23:56 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1642487034; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: Subject: Cc: To: Date: Sender; bh=DLd1dJnpG6PEsQcSW8BRHN7sRd8Nmf17lGlFwAm7CxE=; b=hTk8joCEQ8L34xfktZN+x+fICgB3K2WA+W6Q4NYwSoeR2Y1lXiULrWzOAJ83I1HcMBQS8mOg /EzNNJUXFRD9JVoAsmlIaHGXiQPhZcOEdY1ZBwIq3qzc66qUpDf0KAuVEDZuhoaMS5EpJ0op 1WqaDuyUZkY3JbC3B6Cb522eHiDhC0wNbxinmyj7sNZVUxppljEjuKzktNSmD9DJOqjr4Q54 0V5r1GPHUceQDwoaRvMN7ESevlp6GfzxAfo2aTOriYxLXl42v6BL3XWHH5NO5Ip8cutUhUx7 4x47euXrFBy7IFJg37FzeusnUoWanxoQnkr+rjGKdSivuaKcIHIsUg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI5ZGMwZiIsICI1MzI5NkBkZWJidWdzLmdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 61e65cf52b595aa3215fdf7c (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Tue, 18 Jan 2022 06:23:49 GMT Received: from localhost (q045100.dynamic.ppp.asahi-net.or.jp [203.181.45.100]) by wilsonb.com (Postfix) with ESMTPSA id 2BA91A04C0; Tue, 18 Jan 2022 06:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1642487024; bh=DLd1dJnpG6PEsQcSW8BRHN7sRd8Nmf17lGlFwAm7CxE=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=pJEc1fghRQrh6rXkERm/oUgv00ApJ1YU8ii49u7Ue/GimjeJ4ALrOeMIDtPqX0gzc 8JovAgsQI65ejxTxAmtuioNi0Ts2Z4PQ3Pxl8A0guw/ybtVVdWRS24Xj8hC2hCg2X3 kj4WCEefPPZNtDW5nyA4/aNJz7M23MmopKjllnsT8gX8o3mGdAWHurbHyyiS9iScFh Mwxn/I+N8ltlPDMlw6mgxbgH800HunYr3/zt+/uIRRk9kbQ31+rzzr4zO9g5YAfcyN vRCngR/aFWD7ERCzFWlb7NLCVkGlKASd3exJW0uKn/xHkQ4jteTwOn6pU8yHo6+p7T GkzaNiznB17c580mEPV4yd+9RHKliqg94aVtXhCaBtv13gQBlp/qvJY9OEoYKYqCNU 9Eza3m6MXIL3XPL4nrYA232QefDhtJLfvi5/TjuFC4lBGBhefJTv+WNxNuhUQlppRk piz2hfC73hhLA2MCnQ1UafP79AhdCahOhfEjsb3llexmguiuuEMqeFS/6ArXcUVT2b u2J8JIXct8Fm2Y/TN+u3lorpPeEAZ2vaqca2H6TfxJI+xrrGBC+ccZPlXmffMRWBCL S+hNxjIMoL5JL1CzawQJZa+peNc5WtKr35hhOrNqcHDLnk1eQrqJHUqpXHtAn/WeIZ 9xOFQrd70c3wP5sHhZnTYcY4= Date: Tue, 18 Jan 2022 15:23:40 +0900 References: <3E4C9P1M7LAZ4.3OM9BXEOU8OKP@wilsonb.com> <87pmoqmkrk.fsf@gnu.org> In-Reply-To: <87pmoqmkrk.fsf@gnu.org> Message-Id: <3GNCGE6R9I4MM.3JY1C8V1IN7CY@wilsonb.com> User-Agent: mblaze/1.1 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: elaexuotee@wilsonb.com From: elaexuotee--- via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642487081; h=from:from:sender:sender:reply-to: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-cc: 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:dkim-signature; bh=DLd1dJnpG6PEsQcSW8BRHN7sRd8Nmf17lGlFwAm7CxE=; b=ujloiXldKnwQaf4GCFaBbwpxdCpO5Ch2DjTU/oqufexXlxjullOgthmjsmZvDBioZ2O0/E fZrZhOJzma7jLxiLETd2z7L8k30Y+aMcdwC+dU/+NkHSsbtfmQl9sllyGt4b8mr7xFHmj8 f9E2n+wcgRCebjrP8bBSZC55mxdHzlb/0ex94bYMxs17OE6JCKKqCkxKvy9c9vVkIX6idP Qif4gfc2c3AM5HKecNc5u2+Fft+SOSTBQcqWMi34iag/3MGcBw5+qJlPxkeHzAyw8Dk9gJ +9xGw3oF5G3uBWSa0oySzKp97MsABtBMuQaMMOc6tOGYiE1O60nebX/zwh4LiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642487081; a=rsa-sha256; cv=none; b=SPqgiXWmE7y8qDcCVCrJ/IXEJNHQvnFqqiui7PYqrfAwX6o3Di5+DfsE+ir8gjb/dbl34j HsFLFYPtIR0Jljy/NqVlOhQmHjQnj+Rt8DMZg+VXjihryF84BRXIk+tA+wgb7m6FMdrtsM XD8cWNwTuMbnG7J+XatrFE7LRRDQuVRcbQsjuZePvqFxWeqomftVnKBHtjBUoEW7mk2Ej9 J37wYGXF6jbVYBl7uLaypMqGAU/U8a4mwzkfvBcIJ5pu76gLrH3e7hEDjFgJ/+4ZFDdv9Y m4AgKsEPD+KRrZyJK0YLsX9IH8VxVWNSnm9zXPJWuO1IpYVjVcJufher5QybZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=hTk8joCE; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=pJEc1fgh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=hTk8joCE; dkim=fail ("headers rsa verify failed") header.d=wilsonb.com header.s=201703 header.b=pJEc1fgh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0E3BA26409 X-Spam-Score: -3.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: 09RDFfFn5BUB Good day. Thanks for looking into this. Ludovic Court=C3=A8s wrote: > Here=E2=80=99s how I tried (and failed) to reproduce the segfault: >=20 > --8<---------------cut here---------------start------------->8--- > $ find /tmp/test > /tmp/test > /tmp/test/gnu > /tmp/test/gnu/packages > /tmp/test/gnu/packages/jsoftware.scm >=20 > $ guix build -L /tmp/test jsoftware > /tmp/test/gnu/packages/jsoftware.scm:76:0: warning: source expression fai= led to match any pattern > guix build: error: jsoftware: nekonata pako Is that an Esperanto locale?! > $ guix build -f /tmp/test/gnu/packages/jsoftware.scm=20 > /tmp/test/gnu/packages/jsoftware.scm:76:0: error: (define ijconsole "G-ex= p script that detects AVX/AVX2 support at runtime and executes jconsole\n = with the appropriate libj.so and profile.ijs." (with-imported-modules (quot= e ((guix cpu) (guix memoization) (guix profiling) (guix sets) (srfi srfi-26= ))) (program-file "ijconsole" (gexp (begin (use-modules ((guix cpu) #:selec= t (cpu-flags current-cpu)) ((guix sets) #:select (set-contains?)) ((srfi sr= fi-26) #:select (cute))) (define %basedir (dirname (dirname (current-filena= me)))) (let* ((jconsole (string-append %basedir "/libexec/j/jconsole")) (cp= u-has-flag? (cute set-contains? (cpu-flags (current-cpu)) <>)) (libj (forma= t #f "~a/lib/j/libj~a.so" %basedir (cond ((cpu-has-flag? "avx2") "-avx2") (= (cpu-has-flag? "avx") "-avx") (else "")))) (jprofile (string-append %basedi= r "/etc/j/profile.ijs"))) (apply execl jconsole "ijconsole" "-lib" libj "-j= profile" jprofile (cdr (command-line))))))))): source expression failed to = match any pattern > > $ guix describe > Generacio 201 Jan 12 2022 23:15:13 (nuna) > guix 0052c3b > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 0052c3b0458fba32920a1cfb48b8311429f0d6b5 > --8<---------------cut here---------------end--------------->8--- >=20 > Is there another way to reproduce it? The segfault is pretty inconsistent on my end. Unfortunately, the only "reliable" way to produce I know at the moment is to badger the build comma= nd repeatedly and get (un)lucky. > Is the =E2=80=98LD_LIBRARY_PATH=E2=80=99 variable set on your system? Good thought. But no; I am seeing the segfaults in a --pure shell.