Subject: bug#5964: 23.1; Deep stack (>14,000) and eventual crash within garbage_collect on Emacs 23 in MEMFULL condition

From: [email-masked]
Date: Sat, 17 Apr 2010 08:01:18 +0000

Subject: 23.1; Deep stack (>14,000) and eventual crash within garbage_collect on Emacs 23 in MEMFULL condition

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list,
and to the gnu.emacs.bug news group.

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

  Deep stack (>14,000) and eventual crash within garbage_collect on Emacs 23 in MEMFULL condition

  Emacs 23 began consuming 100% CPU once the MEMFULL condition was noticed.

  Please see the backtrace below.  I don't recall the last thing going on, but the triggering condition in general seemed to be the MEMFULL condition.  This Emacs 23.1 binary was built from the Debian testing source package.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.

In GNU Emacs 23.1.1 (i486-pc-linux-gnu)
 of 2009-12-28 on localhost, modified by Debian
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=no' '--without-gpm' '--without-dbus' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=no' 'build_ali\
as=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g3 -Os ''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  savehist-mode: t
  recentf-mode: t
  display-time-mode: t
  desktop-save-mode: t
  shell-dirtrack-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

# gdb -p 12345
[ ... ]
Please see:

  http://filebin.ca/pzqkxz/Emacs-23-bug