From: Chong Yidong <cyd@stupidchicken.com>
To: Ashish Shukla <wahjava@gmail.com>
Cc: 1666@emacsbugs.donarmstrong.com
Subject: bug#1666: 23.0.60; Emacs goes in a malloc loop
Date: Sat, 27 Dec 2008 10:00:09 -0500 [thread overview]
Message-ID: <87sko9hddy.fsf@cyd.mit.edu> (raw)
> 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?
next reply other threads:[~2008-12-27 15:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-27 15:00 Chong Yidong [this message]
[not found] ` <8763l5shxt.fsf@chateau.d.lf>
2008-12-28 1:02 ` bug#1666: 23.0.60; Emacs goes in a malloc loop Chong Yidong
2011-09-11 18:37 ` Lars Magne Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
2008-12-21 22:21 Ashish Shukla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sko9hddy.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=1666@emacsbugs.donarmstrong.com \
--cc=wahjava@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.