GNU bug report logs - #41404
Crash "Too many root sets" when executing code from stdin in elisp mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Vasilij Schneidermann <mail@HIDDEN>; dated Tue, 19 May 2020 15:49:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 41404 <at> debbugs.gnu.org:


Received: (at 41404) by debbugs.gnu.org; 20 May 2020 00:52:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 20:52:12 2020
Received: from localhost ([127.0.0.1]:51605 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jbCxw-00019V-Fd
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 20:52:12 -0400
Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21310)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1jbCxu-00019M-KG
 for 41404 <at> debbugs.gnu.org; Tue, 19 May 2020 20:52:11 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1589935927; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=DcfHZUNTBxzSqxws39ChjPZcYeDJeg1JyAWker2vejV5QYo8UfkMDi5GjavG10kvO4YC+VM/OJXIFMauEpLilUnBQCpNVG3Ao9tQGGqzHAyAAl8I4ti+HaxmAwVsZ77SVuZ1siXhQQlpAUQF/bVzk2HSFBHkxAMnqgLF1vGKUrY=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1589935927;
 h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=dWiRHKa7oMq1DKkuHcAMydumUFdgHGcGVzWgqRnIE68=; 
 b=dWUVnTUwGYTCezIF6mJA7KTkTszzXBOlNE7JCTQDxWTtkFIMZHmSHb0O9lLFzq6T6uCTRFLqy/Us/vaSHElHgK9w6gS7Z2BLoqNaA1M93uMFQS4UvZMr/cj/v+4gegE7V0gHDf2h1At34ri6Tnv6Z1kaT6KgAvxmSv7GzJnRPL8=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589935927; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type;
 bh=dWiRHKa7oMq1DKkuHcAMydumUFdgHGcGVzWgqRnIE68=;
 b=i/2egucKJrs6xTOqWSHf6eLaL/PeRQjLNNs54ezaS9FXQkul5ErBwn9xlamvfFHe
 kVMNaN5rRRcETaOLfgsrl4vGcKrVU1r6E0EpjO3XRHUjBJvVI3cP2hVqCr37TIctEMJ
 WO5sYcXp8IVrG1wmLqd/xnHqtmdMVewhY/SnAaa8=
Received: from localhost (p54ad4b90.dip0.t-ipconnect.de [84.173.75.144]) by
 mx.zohomail.com with SMTPS id 1589935925818409.2261737624773;
 Tue, 19 May 2020 17:52:05 -0700 (PDT)
References: <20200519154828.GA2067@HIDDEN>
User-agent: mu4e 1.4.4; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Vasilij Schneidermann <mail@HIDDEN>
Subject: Re: bug#41404: Crash "Too many root sets" when executing code from
 stdin in elisp mode
In-reply-to: <20200519154828.GA2067@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Wed, 20 May 2020 02:52:02 +0200
Message-ID: <87d06zfmx9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41404
Cc: 41404 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Vasilij Schneidermann <mail@HIDDEN> writes:

> The attached reproducer script requires Emacs and Guile.  When running it, the
> REPL prints out many lines, the last ones being:
>
>     $1884 = #f
>     $1885 = #f
>     $1886 = #f
>     $1887 = #f
>     $1888 = #f
>     $1889 = #f
>     $1890 = #f
>     $1891 = #f
>     $1892 = #f
>     Too many root sets
>     ./repro.sh: line 11:  2014 Aborted (core dumped) guile --language=elisp < elisp-spec.el
>
> This happens both for Guile 2.2.6 on Arch and Guile 3.0.2 on Debian Sid,
> launched with `docker run --rm -i -t debian:sid bash`.

I can reproduce this on the wip-elisp branch as well.

-- 
Ricardo




Information forwarded to bug-guile@HIDDEN:
bug#41404; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 May 2020 15:48:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 11:48:40 2020
Received: from localhost ([127.0.0.1]:50756 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jb4Tv-0006WX-PW
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 11:48:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:52794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1jb4Tu-0006WP-Cd
 for submit <at> debbugs.gnu.org; Tue, 19 May 2020 11:48:38 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52638)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1jb4Tu-00089M-4w
 for bug-guile@HIDDEN; Tue, 19 May 2020 11:48:38 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151]:11278)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1jb4Ts-00086a-Gx
 for bug-guile@HIDDEN; Tue, 19 May 2020 11:48:37 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:2:0])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 49RKzh5LpxzKmg5
 for <bug-guile@HIDDEN>; Tue, 19 May 2020 17:48:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp2.mailbox.org ([80.241.60.241])
 by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173])
 (amavisd-new, port 10030)
 with ESMTP id KzkVePaA3xQY for <bug-guile@HIDDEN>;
 Tue, 19 May 2020 17:48:29 +0200 (CEST)
Date: Tue, 19 May 2020 17:48:28 +0200
From: Vasilij Schneidermann <mail@HIDDEN>
To: bug-guile@HIDDEN
Subject: Crash "Too many root sets" when executing code from stdin in elisp
 mode
Message-ID: <20200519154828.GA2067@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ"
Content-Disposition: inline
X-Rspamd-Queue-Id: C5F761731
X-Rspamd-Score: -6.84 / 15.00 / 15.00
Received-SPF: pass client-ip=80.241.56.151; envelope-from=mail@HIDDEN;
 helo=mout-p-101.mailbox.org
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 11:48:32
X-ACL-Warn: Detected OS   = Linux 2.2.x-3.x [generic]
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 SPF_PASS=-0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)


--SkvwRMAIpAhPCcCJ
Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR"
Content-Disposition: inline


--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

The attached reproducer script requires Emacs and Guile.  When running it, the
REPL prints out many lines, the last ones being:

    $1884 = #f
    $1885 = #f
    $1886 = #f
    $1887 = #f
    $1888 = #f
    $1889 = #f
    $1890 = #f
    $1891 = #f
    $1892 = #f
    Too many root sets
    ./repro.sh: line 11:  2014 Aborted (core dumped) guile --language=elisp < elisp-spec.el

This happens both for Guile 2.2.6 on Arch and Guile 3.0.2 on Debian Sid,
launched with `docker run --rm -i -t debian:sid bash`.

--9jxsPFA5p3P2qPhR
Content-Type: application/x-sh
Content-Disposition: attachment; filename="repro.sh"
Content-Transfer-Encoding: quoted-printable

#!/bin/bash=0Acat > gen-elisp-spec.el <<EOF=0A(mapatoms=0A (lambda (atom)=
=0A   (when (fboundp atom)=0A     (princ (format "(fboundp '%S)\n" atom)))=
=0A   (when (and (not (keywordp atom)) (boundp atom))=0A     (princ (format=
 "(boundp '%S)\n" atom)))))=0AEOF=0Aemacs -Q --batch --script gen-elisp-spe=
c.el > elisp-spec.el=0Aguile --language=3Delisp < elisp-spec.el=0A
--9jxsPFA5p3P2qPhR--

--SkvwRMAIpAhPCcCJ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAl7D/8QACgkQFmfJg6zC
ifrbzwf8DFIVldCjSpOIWkB0q2u8vBRJCvgDLuQzxZckSMdoHiVhtRvlrBTfaI8A
47ehuZaMOLmigRA/qUZOUEQl4xdlm6XLWv5kFMudqt64RDgz5gTJ1IzyJAZVnS+9
97yYgEpFUyxU2ZO0C4n8l+EqUAWOWdqOIsLGH9HZ/AFSLH9uD5dDE3UIL18NmXJI
2zQm+6iP6wSZTPHXSjiMK39EePWsDdggW79utrPD7vwJMXgxC6ykcA/zGIRIcWnk
KftaL9xmme7XSQ7L6tUTZ8jv1eJEXdvqb60WJ7bZ6/fExgqZEu6ejwOWy5DC/Jfu
tRpjNF56haI0u7pgFebhTGdhzr/kTw==
=y3/j
-----END PGP SIGNATURE-----

--SkvwRMAIpAhPCcCJ--




Acknowledgement sent to Vasilij Schneidermann <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#41404; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 20 May 2020 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.