all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: [alex@emacswiki.org: edebug can hang Emacs]
Date: Tue, 26 Sep 2006 18:10:46 -0400	[thread overview]
Message-ID: <E1GSL8Y-0005Ti-4T@fencepost.gnu.org> (raw)

Would someone please fix this and ack?

------- Start of forwarded message -------
To: emacs-pretest-bug@gnu.org
From: Alex Schroeder <alex@emacswiki.org>
Date: Thu, 02 Jan 2003 00:22:48 +0100
Subject: edebug can hang Emacs
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

In GNU Emacs 21.2.92.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-11-22 on confusibombus
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:



In emacs -q, edebug the following defun using C-u M-C-x:

(defun test ()
  (let ((l (make-list 100000 1)))
    (dolist (i l)
      (1+ i))))

Now call it:

(test)

When you get to the dolist, Emacs hangs.  I cannot awaken it using C-g
multiple times, ESC multiple times, C-z multiple times, having the
window manager send a kill, switching to the xterm running GDB and
hitting C-c or C-z multiple times also does not change anything --
neither Emacs nor GDB is killed or interrupted.

This should be handler more gracefully.  I don't even know what causes
the problem -- is Emacs trying to print the list l in a message, and
trying to determine which parts not to show?  If so, perhaps Emacs
needs a way to estimate the size of something, before starting to
print it.

Alex.



Recent input:
<escape> <escape> <escape> C-c n <down> <down> <down> 
<down> <down> <return> <down> <down> <down> d d d d 
<down> <down> <down> <return> ! s <up> <up> <up> d 
<down> <return> SPC ! s q <return> <return> s q <down> 
<down> <down> <down> <return> d <return> ! s <return> 
! ! s q <return> <return> SPC SPC s c y <escape> x 
r e p o r t - e m <tab> <return>

Recent messages:
 [3 times]
Expiring articles...
Deleting article 7694 in mail.emacs.devel
Deleting article 7695 in mail.emacs.devel
Deleting article 7696 in mail.emacs.devel
Deleting article 7697 in mail.emacs.devel
Deleting article 7698 in mail.emacs.devel
Expiry...done
Expiring articles...done
Loading emacsbug...done


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

             reply	other threads:[~2006-09-26 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 22:10 Richard Stallman [this message]
2006-09-29 18:31 ` [alex@emacswiki.org: edebug can hang Emacs] Chong Yidong
2006-09-29 21:20   ` Stefan Monnier
2006-09-30 17:04   ` Richard Stallman

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=E1GSL8Y-0005Ti-4T@fencepost.gnu.org \
    --to=rms@gnu.org \
    /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.