GNU bug report logs -
#1666
23.0.60; Emacs goes in a malloc loop
Previous Next
Reported by: Ashish Shukla <wahjava <at> gmail.com>
Date: Sun, 21 Dec 2008 22:30:03 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Following is the piece of Emacs Lisp code, which I tried to execute in
> Emacs's *scratch* buffer to close all buffers except the buffer named
> "buffer-name".
>
> ,----
> | (dolist (buffer (buffer-list))
> | (unless (string-match "buffer-name" (buffer buffer))
> | (kill-buffer buffer)))
> `----
>
> Executing above Emacs Lisp code increases CPU usage and Emacs keeps on
> allocating memory. This bug is reproducible always.
I assume that by
(string-match "buffer-name" (buffer buffer))
you mean
(string-match "buffer-name" (buffer-name buffer))
However, I cannot reproduce this bug on 23.0.60.1 (i686-pc-linux-gnu, X
toolkit, Xaw3d scroll bars), or on 23.0.60.1 (i686-pc-linux-gnu, GTK+
Version 2.14.4).
Do you see this bug when Emacs is compiled with GTK support? Try also
compiling without some of the other configuration flags---do they make a
difference?
This bug report was last modified 13 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.