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: Thu, 24 Aug 2017 00:20:29 +0200 Message-ID: <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]:60826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dke1H-0001Zu-OR for bug-guix@gnu.org; Wed, 23 Aug 2017 18:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dke1G-0007Tu-Js for bug-guix@gnu.org; Wed, 23 Aug 2017 18:21:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43144) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dke1G-0007TB-Fz for bug-guix@gnu.org; Wed, 23 Aug 2017 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dke1G-0006nF-6c for bug-guix@gnu.org; Wed, 23 Aug 2017 18:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dke0o-0001Dw-Hy for bug-guix@gnu.org; Wed, 23 Aug 2017 18:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dke0n-00074A-7F for bug-guix@gnu.org; Wed, 23 Aug 2017 18:20:34 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dke0n-000740-3P for bug-guix@gnu.org; Wed, 23 Aug 2017 18:20:33 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=51550 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dke0m-0000R1-LH for bug-guix@gnu.org; Wed, 23 Aug 2017 18:20:32 -0400 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 On current =E2=80=98core-updates=E2=80=99, the code in (guix build graft) t= riggers random Guile crashes (GC issue? thread-safety issue?) when running on Guile 2.2.2, as initially reported by Marius at : --8<---------------cut here---------------start------------->8--- 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 (expe= cting open output port): # builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gnu1= .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/3crrls3ms9m3g86= 0yvqib02rnm7akhf8-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-g= nu1.drv - x86_64-linux /var/log/guix/drvs/3c//rrls3ms9m3g860yvqib02rnm7akhf= 8-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 (expe= cting open output port): # builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gnu1= .drv' failed with exit code 1 @ build-failed /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gn= u1.drv - 1 builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-= 52.1.0-gnu1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/3crrls3ms9m3g860yvqib= 02rnm7akhf8-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/3crrls3ms9m3g86= 0yvqib02rnm7akhf8-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-g= nu1.drv - x86_64-linux /var/log/guix/drvs/3c//rrls3ms9m3g860yvqib02rnm7akhf= 8-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 199 = 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218= 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 23= 7 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-gnu1= .drv' failed with exit code 1 @ build-failed /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gn= u1.drv - 1 builder for `/gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-= 52.1.0-gnu1.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- The problem does not show up when running on a single thread: --8<---------------cut here---------------start------------->8--- guix build: error: build failed: build of `/gnu/store/3crrls3ms9m3g860yvqib= 02rnm7akhf8-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/3crrls3ms9m3g86= 0yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv --cores=3D1 La jena derivo estos konstruata: /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-gnu1.drv @ build-started /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0-g= nu1.drv - x86_64-linux /var/log/guix/drvs/3c//rrls3ms9m3g860yvqib02rnm7akhf= 8-icecat-52.1.0-gnu1.drv.bz2 grafting '/gnu/store/i71kkrch1asnwvm0vm71w9aaza0n2m9q-icecat-52.1.0-gnu1' -= > '/gnu/store/7w92kgcdcmf7lsc9nvs6b2ca7mk9422s-icecat-52.1.0-gnu1'... @ build-succeeded /gnu/store/3crrls3ms9m3g860yvqib02rnm7akhf8-icecat-52.1.0= -gnu1.drv - /gnu/store/7w92kgcdcmf7lsc9nvs6b2ca7mk9422s-icecat-52.1.0-gnu1 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.