From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88088 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Registry save: apparently circular structure being printed Date: Thu, 19 Jul 2018 08:15:06 -0700 Message-ID: <87lga745qd.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532013435 13314 195.159.176.226 (19 Jul 2018 15:17:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2018 15:17:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: ding@gnus.org Original-X-From: ding-owner+M36302@lists.math.uh.edu Thu Jul 19 17:17:11 2018 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgAg3-0003Kw-2F for ding-account@gmane.org; Thu, 19 Jul 2018 17:17:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.90_1) (envelope-from ) id 1fgAhU-0001e3-3j; Thu, 19 Jul 2018 10:18:40 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fgAhI-0001b3-UY for ding@lists.math.uh.edu; Thu, 19 Jul 2018 10:18:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fgAhG-0001zm-TX for ding@lists.math.uh.edu; Thu, 19 Jul 2018 10:18:28 -0500 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgAhF-0002aq-JG for ding@gnus.org; Thu, 19 Jul 2018 17:18:25 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fgAf7-0002NV-MD for ding@gnus.org; Thu, 19 Jul 2018 17:16:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:8BZIpBChQMiNsfiZouf/g+/7dws= X-Spam-Score: -0.9 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88088 Archived-At: Bob Newell writes: > I came across something that undoubtedly will be hard to reproduce --- > until some ultimately inconvenient moment. I had just set up a half > dozen or so RSS feeds for gnus (using the simple G R method). Now, the > RSS part may or may not be relevant, but I did load a lot of articles > and make a lot of changes to the feeds, killing some, adding some, > etc., for quite a while. > > I have code that ensures gnus is properly closed out on exiting Emacs, > and that includes saving the registry (gnus takes care of it on its > own exit, it seems). > > At the point of saving the registry, I started getting the message > "Apparently circular structure being printed". This persisted until I > killed emacs directly and deleted the gnus registry. Not exactly an > optimal solution! > > I realize this is obscure, and my report is necessarily bare-bones, > but has anyone ever seen anything like this? Unfortunately, yes, I think Uwe Brauer reported something similar a while ago. Can you tell me what version of emacs you're using? I'm 80% confident that this has to do with something that changed in Emacs 26 about the way objects are represented: it used to be that the registry could simply write all its contents to disk, but now it needs special processing. A while ago I provided a naive fix that ended up causing further bugs, which I'm not yet done stamping out. I don't know where the "circular structure" error is coming from, actually, but it seems very likely that it's related. Tell me your emacs version, and if you can, please provide a backtrace that I can compare to Uwe's, and see if I can figure this out. Yours, Eric