GNU bug report logs - #18522
occasional slow performance in some Gnus code

Previous Next

Packages: emacs, gnus;

Reported by: Peter Münster <pmlists <at> free.fr>

Date: Mon, 22 Sep 2014 10:38:02 UTC

Severity: normal

Tags: fixed

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #246 received at 18522 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Münster <pmlists <at> free.fr>
Cc: larsi <at> gnus.org, 18522 <at> debbugs.gnu.org
Subject: Re: bug#18522: 24.4.50; mapcar is very slow
Date: Sun, 28 Feb 2016 17:48:29 +0200
> From: Peter Münster <pmlists <at> free.fr>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  18522 <at> debbugs.gnu.org
> Date: Sun, 28 Feb 2016 09:07:08 +0100
> 
> On Sun, Feb 28 2016, Lars Ingebrigtsen wrote:
> 
> > Try evaling the following and post the list appearing in *Messages*:
> >
> > (mapatoms
> >  (lambda (symbol)
> >    (when (boundp symbol)
> >      (let ((value (symbol-value symbol)))
> >        (while (consp value)
> > 	 (let ((elem (car value)))
> > 	   (when (bufferp elem)
> > 	     (message "%s has a buffer %s"
> > 		      symbol (buffer-name elem))))
> > 	 (setq value (cdr value))))))
> >  obarray)
> 
> multi-web-global-mode-buffers has a buffer  *Minibuf-1*
> rfn-eshadow-frobbed-minibufs has a buffer  *Minibuf-1*
> gnus-buffers has a buffer *Article nndraft:drafts*
> gnus-buffers has a buffer  *Original Article nndraft:drafts*
> gnus-buffers has a buffer *Summary nndraft:drafts*
> gnus-buffers has a buffer nil
> gnus-buffers has a buffer *unsent wide reply to Lars Ingebrigtsen*
> gnus-buffers has a buffer  *gnus article copy*
> gnus-buffers has a buffer  *nnmail message-id cache*
> gnus-buffers has a buffer  *Gnus Backlog*
> gnus-buffers has a buffer  *gnus work*
> gnus-buffers has a buffer  *Gnus agent overview*
> gnus-buffers has a buffer *Group*
> 
> And then I have to stop it with C-g because it hangs...

So there's a symbol-value there whose cdr equal's itself?  That should
be easy to protect against, no?

Also, I'd suggest disabling GCC during the time this runs.




This bug report was last modified 8 years and 171 days ago.

Previous Next


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