all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [alex@emacswiki.org: edebug can hang Emacs]
@ 2006-09-26 22:10 Richard Stallman
  2006-09-29 18:31 ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2006-09-26 22:10 UTC (permalink / 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 -------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-30 17:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 22:10 [alex@emacswiki.org: edebug can hang Emacs] Richard Stallman
2006-09-29 18:31 ` Chong Yidong
2006-09-29 21:20   ` Stefan Monnier
2006-09-30 17:04   ` Richard Stallman

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.