From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#39266: Finalization thread hits wrong-type-arg on weak vector (AArch64) Date: Wed, 19 Feb 2020 14:50:51 +0100 Message-ID: <87k14in0sk.fsf@gnu.org> References: <87tv4kdgyy.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: 39266@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Feb 19 14:52:08 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4Plo-0007TO-0t for guile-bugs@m.gmane-mx.org; Wed, 19 Feb 2020 14:52:08 +0100 Original-Received: from localhost ([::1]:52916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4Pln-0005hb-3N for guile-bugs@m.gmane-mx.org; Wed, 19 Feb 2020 08:52:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43058) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4Plj-0005hU-28 for bug-guile@gnu.org; Wed, 19 Feb 2020 08:52:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4Pli-0002sK-5V for bug-guile@gnu.org; Wed, 19 Feb 2020 08:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35831) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4Pli-0002sG-2S for bug-guile@gnu.org; Wed, 19 Feb 2020 08:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4Pli-0007zB-26 for bug-guile@gnu.org; Wed, 19 Feb 2020 08:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 19 Feb 2020 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39266 X-GNU-PR-Package: guile Original-Received: via spool by 39266-submit@debbugs.gnu.org id=B39266.158212026630632 (code B ref 39266); Wed, 19 Feb 2020 13:52:02 +0000 Original-Received: (at 39266) by debbugs.gnu.org; 19 Feb 2020 13:51:06 +0000 Original-Received: from localhost ([127.0.0.1]:41804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4Pko-0007y0-Jh for submit@debbugs.gnu.org; Wed, 19 Feb 2020 08:51:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4Pkk-0007xV-6D for 39266@debbugs.gnu.org; Wed, 19 Feb 2020 08:51:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j4Pkf-00022H-0Y for 39266@debbugs.gnu.org; Wed, 19 Feb 2020 08:50:57 -0500 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47438 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j4Pkb-0006m9-9a for 39266@debbugs.gnu.org; Wed, 19 Feb 2020 08:50:53 -0500 In-Reply-To: <87tv4kdgyy.fsf@inria.fr> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Fri, 24 Jan 2020 16:14:29 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9590 Archived-At: Ludovic Court=C3=A8s skribis: > While building the =E2=80=9Cguix-system.drv=E2=80=9D derivation on AArch6= 4, I got this > crash (not fully deterministic but quite frequent). Here the > finalization thread gets a wrong-type-arg in =E2=80=98scm_i_weak_car=E2= =80=99 (i.e., > accessing a one-element weak vector): > > $ ( export out=3D$PWD/build; unset GUILE_LOAD_PATH; unset GUILE_LOAD_COMP= ILED_PATH; gdb --args "/gnu/store/p8in2npgl5yhliy25ikz7shjbq0gii95-guile-ne= xt-3.0.0/bin/guile" "--no-auto-compile" "-L" "/gnu/store/3qg8l6kr4wa9sbgwy0= 0z1mb3p88xf455-module-import" "-C" "/gnu/store/h9qcvg71bmx735fsndagll9y7s72= k9n9-module-import-compiled" guix-system-builder ) > [=E2=80=A6] > loading 'gnu/services/cups.scm'... > Backtrace: Apparently this bug does not occur with v3.0.0-23-g7dc90a17e=C2=B9. It may be that 00fbdfa7345765168e14438eed0b0b8c64c27ab9 reduces GC pressure, which as a side effect makes the problem vanish. It=E2=80=99s not satisfactory, but as a stop-gap measure, we could release = 3.0.1 like this, which could make Guile 3 usable for Guix on AArch64. Thoughts? Ludo=E2=80=99. =C2=B9 Specifically, I tested by (1) building a tarball with =E2=80=9Cmake = dist=E2=80=9D, (2) running =E2=80=9Cguix build guile-next --with-source=3Dguile-next=3Dthe-tarball.tar.gz=E2=80=9D, and (3) running= that Guile in the code above. For some reason, Guile 3.0.0 built =E2=80=9Cby = hand=E2=80=9D would not reproduce the original bug, which is why I built it through Guix.