From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 18 01:23:58 2022 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 To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: Re: bug#53296: Intermittent segfaults when parsing (?) custom package from repo. From: elaexuotee@wilsonb.com 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53296 Cc: 53296@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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.