From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: bug#27476: guix pull fails on powerful server Date: Mon, 25 Sep 2017 09:27:45 +0200 Message-ID: <87k20nz18u.fsf@igalia.com> References: <87h8vvp1q7.fsf@elephly.net> <87377esu1a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwNoE-0002Hq-LJ for bug-guix@gnu.org; Mon, 25 Sep 2017 03:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwNoA-0006mM-4c for bug-guix@gnu.org; Mon, 25 Sep 2017 03:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwNoA-0006m5-1r for bug-guix@gnu.org; Mon, 25 Sep 2017 03:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwNo9-0006L2-PC for bug-guix@gnu.org; Mon, 25 Sep 2017 03:28:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87377esu1a.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 22 Sep 2017 16:10:57 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: help-guix@gnu.org, 27476@debbugs.gnu.org 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