Title [Bug: 21.5-b28] Fatal error: assertion failed, file gc.c, line 1827, write_barrier_enabled
Type defect Module core code 21.5
Severity crash Platform N/A
Keywords Nosy List FKtPp
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder   Submitted 2008-08-18.16:04:30
Priority normal   Assigned To

Created on 2008-11-29.06:23:28 by FKtPp, last changed 2009-03-06.14:21:18 by stephen.

msg872 [hidden] ([hidden]) Date: 2008-11-29.06:23:28
  Message-ID: <E1KV7Da-0001Bu-JB@workhard.homework.localdomain>
Dear Bug Team!

I got this while doing ediff-directories to sync eshell-mode sources
with GNU Emacs'.

Here's the gdb output:

initialized font DejaVu Sans Mono-15:weight=200
initialized metrics ascent 19 descent 5 width 12 height 23
initialized font DejaVu Sans Mono-15:weight=200
Memory full, try to recover.
You should clean up, kill this Emacs, and start a new one.

Fatal error: assertion failed, file gc.c, line 1827, write_barrier_enabled

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffcdd1666e0 (LWP 4442)]
0x00007ffcda319ef5 in raise () from /lib/
(gdb) where
#0  0x00007ffcda319ef5 in raise () from /lib/
#1  0x00007ffcda31b413 in abort () from /lib/
#2  0x00000000004ce258 in really_abort () at emacs.c:4745
#3  0x00000000004cb48c in assert_failed (file=0x77153d "gc.c", line=1827, 
    expr=0x7719a6 "write_barrier_enabled") at emacs.c:4039
#4  0x0000000000574524 in gc_resume_mark_phase () at gc.c:1827
#5  0x0000000000574610 in gc_resume_mark (incremental=1) at gc.c:1873
#6  0x0000000000574702 in gc_1 (incremental=1) at gc.c:1911
#7  0x0000000000574767 in gc (incremental=1) at gc.c:1943
#8  0x00000000005747b1 in gc_incremental () at gc.c:1974
#9  0x00000000004d7daa in Ffuncall (nargs=2, args=0x7fffe518ceb0)
    at eval.c:3857
#10 0x00000000004d9c2f in call1 (fn=41525824, arg0=29323176) at eval.c:4580
#11 0x000000000048bd23 in cmd_error (data=29323176, unused_dummy=41811568)
    at cmdloop.c:212
#12 0x00000000004d2ec3 in condition_case_1 (handlers=41805888, 
    bfun=0x48c0bb <command_loop_1>, barg=41811568, hfun=0x48bcd0 <cmd_error>, 
    harg=41811568) at eval.c:1930
#13 0x000000000048bdf6 in command_loop_3 () at cmdloop.c:262
#14 0x000000000048be1a in command_loop_2 (unused_dummy=41811568)
    at cmdloop.c:275
#15 0x00000000004d2965 in internal_catch (tag=41280544, 
    func=0x48be09 <command_loop_2>, arg=41811568, threw=0x0, thrown_tag=0x0, 
    backtrace_before_throw=0x0) at eval.c:1552
#16 0x000000000048bf1e in initial_command_loop (load_me=41811568)
    at cmdloop.c:313
#17 0x00000000004c9fbd in xemacs_21_5_b28_x86_64_unknown_linux (argc=1, 
    argv=0x7fffe518d488, unused_envp=0x0, restart=0) at emacs.c:2718
#18 0x00000000004caa4e in main (argc=1, argv=0x7fffe518d488, 
    unused_envp=0x7fffe518d498) at emacs.c:3164


System Info to help track down your bug:

uname -a: Linux workhard 2.6.26-1-amd64 #1 SMP Fri Aug 8 13:17:41 UTC 2008 x86_64 GNU/Linux

../configure  '--with-athena=3d' '--with-xft=emacs,menubars,tabs,gauges' '--with-mule' '--with-rel-alloc' '--with-kkcc' '--with-newgc' '--with-pdump' '--with-dump-in-exec' '--with-modules'

XEmacs 21.5-b28 "fuki" f0c81cd2a959 configured for `x86_64-unknown-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /home/fktpp/workspace/xemacs
  Installation prefix:               /usr/local
  Operating system description file: `s/linux.h'
  Not using any machine description file
  Compiler version:                  gcc (Debian 4.3.1-9) 4.3.1
    - GCC specs file:                specs.
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  
  libc version:                      GNU libc 2.7-13 (Debian)
  Relocating allocator for buffers:  yes
  GNU version of malloc:             yes
    - Using Doug Lea's new malloc from the GNU C Library.

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 
    - X Windows libraries location:               
    - Handling WM_COMMAND properly.
    - Using fontconfig to manage fonts.
    - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
  Compiling in support for the Athena widget set:
    - Athena headers location:                    X11/Xaw3d
    - Athena library to link:                     Xaw3d
  Using Lucid menubars.
    - Using Xft to render antialiased fonts in menubars.
      WARNING: This feature will be replaced with a face.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  Using Athena native widgets.
    - Using Xft to render antialiased fonts in tab controls.
      WARNING: This feature will be replaced with a face.
    - Using Xft to render antialiased fonts in progress bars.
      WARNING: This feature will be replaced with a face.
      WARNING: This feature not yet implemented; setting ignored.

  Compiling in support for ncurses.

  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.

  Compiling in support for sound (native).

  Compiling in support for Berkeley database.

  Compiling in support for Mule (multi-lingual Emacs).
  Compiling in support for XIM (X11R5+ I18N input method).
    - Using raw Xlib to provide XIM support.

  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new incremental garbage collector and the new allocator.
  Using POSIX sigaction() to install fault handler.
  Using the new portable dumper.
  Dumping into executable.
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

Load-Path Lisp Shadows:

Internationalization 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        : zh_CN.UTF-8

Lisp locale settings:

  current-language-environment      => "Chinese-GB (UTF-8)"
  default-buffer-file-coding-system => utf-8
  default-process-coding-system     => (undecided . utf-8)
  (current-locale)                  => "zh_CN.UTF-8"
  keyboard-coding-system            => utf-8
  terminal-coding-system            => utf-8
  (coding-priority-list)            =>
    (utf-8 iso-8-2 big5 iso-7 utf-16-little-endian-bom utf-16-bom
    utf-8-bom no-conversion iso-8-1 iso-8-designate iso-lock-shift
    shift-jis utf-16-little-endian utf-16 ucs-4)

Coding system aliases:

  'native                              is aliased to utf-8
  'file-name                           is aliased to native
  'mswindows-multibyte-system-default  is not a coding system alias

Installed XEmacs Packages:
(xemacs-devel ver: 1.78 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.18 upstream: No-Upstream-Ver)
(w3 ver: 1.35 upstream: 4.0pre47)
(vc ver: 1.45 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.24 upstream: 2.0f)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(python-modes ver: 1.1 upstream: 426)
(psgml ver: 1.45 upstream: 1.3.2)
(prog-modes ver: 2.16 upstream: No-Upstream-Ver)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pcomplete ver: 1.05 upstream: 1.1.6)
(pcl-cvs ver: 1.68 upstream: R-2_9_9)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(net-utils ver: 1.56 upstream: N/A)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.16 upstream: 2.111)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(gnus ver: 1.93 upstream: 5.10.8)
(general-docs ver: 1.05 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.17 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.14 upstream: 2.4.2)
(erc ver: 0.22 upstream: Version 5.1.2 Revision: 1.796.2.6)
(elib ver: 1.13 upstream: 1.0)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.4 upstream: No-Upstream-Ver)
(ediff ver: 1.75 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecrypto ver: 0.21 upstream: 2.0)
(easypg ver: 1.02 upstream: 0.0.16)
(dired ver: 1.19 upstream: 7.16)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.37 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.32 upstream: 2.35)

Installed Modules:


(mail-abbrevs xemacsbug shadow sendmail rfc822 gdb debug-toolbar shell
comint ring ediff-merg ediff-diff ediff-wind ediff-tbar ediff-help
ediff-util ediff-mult ediff-init ediff dired-faces dired-xemacs dired
timer-funcs lazy-lock lazy-shot font-lock gnuserv vc-hooks vc-xemacs
paren mic-paren timer cus-face icomplete jka-compr china-util
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vc-autoloads
tramp-autoloads time-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads sounds-wav-autoloads sounds-au-autoloads
sh-script-autoloads ruby-modes-autoloads python-modes-autoloads
psgml-autoloads prog-modes-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads ispell-autoloads
igrep-autoloads ibuffer-autoloads gnus-autoloads
general-docs-autoloads fsf-compat-autoloads forms-autoloads
footnote-autoloads eterm-autoloads eshell-autoloads erc-autoloads
elib-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads easypg-autoloads dired-autoloads
debug-autoloads cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads bbdb-autoloads modules-autoloads mule-autoloads
auto-autoloads auto-show fontl-hooks canna-leim tibetan slovenian
czech romanian lao devanagari indian cyrillic code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
loadhist cus-file derived newcomment rsz-minibuf env text-props
fontconfig frame obsolete cus-start custom widget cl-extra cl cl-19
packages backquote unicode font-mgr lucid-scrollbars cut-buffer
xft-fonts lucid-menubars athena-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db md5 xemacs xim mule gutter tiff png gif jpeg xpm xbm
lisp-float-type file-coding linux dialog devices window-system base64)

Recent keystrokes:

C-x d C-g M-x e d i f TAB RET C-g M-x e d i f TAB TAB 
C-x d w o r k s TAB x e m TAB / b a TAB TAB M-BS TAB 
TAB TAB s r TAB RET M-x g d b RET x e m TAB RET r u 
n RET M-v M-v M-v M-v C-v C-v C-v M-> M-< M-> w h e 
r e RET M-x x e m a c s M-BS r e p o r TAB x e m TAB 

Recent messages (most recent first):

Loading xemacsbug...done
Loading xemacsbug...
Loading gdb...done
Loading gdb...
Reading directory /home/fktpp/workspace/xemacs/src/...done
Reading directory /home/fktpp/workspace/xemacs/src/...
Making completion list...
Loading ediff...done
Loading ediff...
Loading dired...done
Loading dired-mule...done
Loading dired-mule...
Loading dired...
Loading timer-funcs...done
Loading timer-funcs...
Loading gnuserv...done
Loading gnuserv...

XEmacs-Beta mailing list
XEmacs-Beta at
Date User Action Args
2009-03-06 14:21:18stephensetstatus: new
severity: crash
module: + core code 21.5
priority: normal
platform: + N/A
type: defect
2008-11-29 06:23:28FKtPpcreate