From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 25 03:27:39 2017 Received: (at 27476) by debbugs.gnu.org; 25 Sep 2017 07:27:39 +0000 Received: from localhost ([127.0.0.1]:57167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwNnn-0006KR-Gh for submit@debbugs.gnu.org; Mon, 25 Sep 2017 03:27:39 -0400 Received: from pb-sasl1.pobox.com ([64.147.108.66]:61507 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwNnl-0006KJ-P3 for 27476@debbugs.gnu.org; Mon, 25 Sep 2017 03:27:38 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 3D206A6035; Mon, 25 Sep 2017 03:27:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=DVt3EzsOBV7u Z5AhEO4A3g+dHgc=; b=N/aY3d/Sio6KhGb+NViqJoKOqNwBDwRUdIH6eGR3zjun mC4w38eGGrNjwNfE7WMyOeFETs9RpWgki+uo0f/SHUx7VAroGsVGmfYCw9r6BVZp FO689FuP/on39tRJxfGbbZeOIm+YhrJczb6xeR2xLFIhkpo8/+e80xEaYbqRcjA= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 27477A6034; Mon, 25 Sep 2017 03:27:37 -0400 (EDT) Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 566AEA6033; Mon, 25 Sep 2017 03:27:36 -0400 (EDT) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix pull fails on powerful server References: <87h8vvp1q7.fsf@elephly.net> <87377esu1a.fsf@gnu.org> Date: Mon, 25 Sep 2017 09:27:45 +0200 In-Reply-To: <87377esu1a.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 22 Sep 2017 16:10:57 +0200") Message-ID: <87k20nz18u.fsf@igalia.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 00F48708-A1C3-11E7-9348-2C49D6707B88-02397024!pb-sasl1.pobox.com X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 27476 Cc: Ricardo Wurmus , help-guix@gnu.org, 27476@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: 0.7 (/) On Fri 22 Sep 2017 16:10, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Ricardo, > > Ricardo Wurmus skribis: > >> The following derivation will be built: >> /gnu/store/yvyfkns3w3vm7ynwbr7mvxcmin4gd2a0-guix-latest.drv >> copying and compiling to '/gnu/store/7m52dkr98nhwgpsx20mmpwyw2yzj58d3-gu= ix-latest' with Guile 2.2.2... >> loading... 25.4% of 629 filesrandom seed for tests: 1506066913 >> loading... 99.8% of 629 files >> compiling... 69.2% of 629 filesice-9/threads.scm:289:22: In procedur= e loop: >> ice-9/threads.scm:289:22: Syntax error: >> guix/scripts.scm:130:2: >>=3D: >>=3D (bind) used outside of 'with-monad'= in form (>>=3D (apply set-build-options* #:use-substitutes >> ptions)) (lambda (unused-value) (mbegin %store-monad (mlet %store-monad = ((derivation (origin->derivation (package-source pack >> tutes? use-substitutes? #:dry-run? dry-run?) (return (show-derivation-ou= tputs derivation))))))) > > This was reported at , and I suspect a > thread-safety issue. However, syntax parameters are purely functional > AFAICS, so I fail to see why multithreading could be a problem. > > Andy, any idea what could be causing this? I have heard of but not seen a number of similar bugs: errors that "can't happen" but which appear under multiple threads. I don't know what underlying pattern is. Has anyone found a test case that reliably reproduces? Andy