From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28211: Grafting code triggers GC/thread-safety issue on Guile 2.2.2 Date: Mon, 02 Jul 2018 12:28:52 +0200 Message-ID: <87fu12hqxn.fsf@gnu.org> References: <877exuj58y.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]:34090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZw5v-0000os-SN for bug-guix@gnu.org; Mon, 02 Jul 2018 06:30:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZw5q-0000Y8-Qf for bug-guix@gnu.org; Mon, 02 Jul 2018 06:30:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZw5q-0000Xw-Lh for bug-guix@gnu.org; Mon, 02 Jul 2018 06:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877exuj58y.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 24 Aug 2017 00:20:29 +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: 28211@debbugs.gnu.org Hi, ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > On current =E2=80=98core-updates=E2=80=99, the code in (guix build graft)= triggers > random Guile crashes (GC issue? thread-safety issue?) when running on > Guile 2.2.2, as initially reported by Marius at > : > > grafting '/gnu/store/i71kkrch1asnwvm0vm71w9aaza0n2m9q-icecat-52.1.0-gnu1'= -> '/gnu/store/7w92kgcdcmf7lsc9nvs6b2ca7mk9422s-icecat-52.1.0-gnu1'... > ERROR: In procedure put-bytevector: Wrong type argument in position 1 (ex= pecting open output port): # > builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gn= u1.drv' failed with exit code 1 > > [...] > > ludo@ribbon ~/src/guix/+core-updates$ guix gc --clear-failures $(guix gc = --list-failures) > ludo@ribbon ~/src/guix/+core-updates$ guix build /gnu/store/3crrls3ms9m3g= 860yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv > La jena derivo estos konstruata: > /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv > @ build-started /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0= -gnu1.drv - x86_64-linux /var/log/guix/drvs/3c//rrls3ms9m3g860yvqib02rnm7ak= hf8-icecat-52.1.0-gnu1.drv.bz2 > grafting '/gnu/store/i71kkrch1asnwvm0vm71w9aaza0n2m9q-icecat-52.1.0-gnu1'= -> '/gnu/store/7w92kgcdcmf7lsc9nvs6b2ca7mk9422s-icecat-52.1.0-gnu1'... > ERROR: In procedure put-bytevector: Wrong type argument in position 1 (ex= pecting open output port): # > builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gn= u1.drv' failed with exit code 1 > @ build-failed /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-= gnu1.drv - 1 builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-iceca= t-52.1.0-gnu1.drv' failed with exit code 1 > guix build: error: build failed: build of `/gnu/store/3crrls3ms9m3g860yvq= ib02rnm7akhf8-icecat-52.1.0-gnu1.drv' failed > ludo@ribbon ~/src/guix/+core-updates$ guix gc --clear-failures $(guix gc = --list-failures) > ludo@ribbon ~/src/guix/+core-updates$ guix build /gnu/store/3crrls3ms9m3g= 860yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv > La jena derivo estos konstruata: > /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv > @ build-started /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0= -gnu1.drv - x86_64-linux /var/log/guix/drvs/3c//rrls3ms9m3g860yvqib02rnm7ak= hf8-icecat-52.1.0-gnu1.drv.bz2 > grafting '/gnu/store/i71kkrch1asnwvm0vm71w9aaza0n2m9q-icecat-52.1.0-gnu1'= -> '/gnu/store/7w92kgcdcmf7lsc9nvs6b2ca7mk9422s-icecat-52.1.0-gnu1'... > ERROR: In procedure variable-ref: Not a variable: (194 195 196 197 198 19= 9 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 2= 18 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 = 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255) > builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gn= u1.drv' failed with exit code 1 > @ build-failed /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-= gnu1.drv - 1 builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-iceca= t-52.1.0-gnu1.drv' failed with exit code 1 Bad news: when using Guile 2.2.4 for grafting, I=E2=80=99m still getting si= milar crashes, perhaps marginally less frequently. Ludo=E2=80=99.