How to track gc problem?

Mats Lidell matsl at xemacs.org
Mon May 8 13:08:52 EDT 2006


>>>>> Marcus wrote:

Marcus> This only makes sense if you have configured your XEmacs with
Marcus> --enable-newgc.  Have you?

Yes ;-)

Marcus> Then, your XEmacs probably ran out of memory.  XEmacs issues a
Marcus> warning like the one you mention and tries to recover from the
Marcus> memory shortage.  In your case it seems that the recovery has
Marcus> failed.

Yes it did run out of memory.

Marcus> There is a memory leak in the incremental garbage collector.
Marcus> Till now I have not found the cause of the memory leakage,
Marcus> I'll keep investigating.  On what platform did you get this
Marcus> crash?  Your Installation file could be helpful to me, too.

It's a PC (gentoo). I rebuilt XEmacs today but the configuration is
the same.

----------------------------------------------------------------------
uname -a: Linux spencer 2.6.16-suspend2-r4 #1 SMP PREEMPT Tue May 2 18:59:02 CEST 2006 i686 Intel(R) Pentium(R) M processor 1300MHz GNU/Linux

./configure '--prefix=/src/beta/xemacs' '--enable-mule' '--with-package-path=/src/xemacs/xemacs-packages:/src/xemacs/mule-packages:/src/xemacs/site-packages' '--enable-sound=esd' '--enable-database=no' '--enable-widgets=athena' '--enable-dialogs=athena' '--with-athena=3d' '--with-newgc' '--with-xft=emacs,tabs,menubars,gauges' '--with-xim=xlib'


XEmacs 21.5-b26 "endive" (+CVS-20060507) configured for `i686-pc-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /src/xemacs/working
  Installation prefix:               /src/beta/xemacs
  Operating system description file: `s/linux.h'
  Machine description file:          `m/intel386.h'
  Compiler version:                  gcc (GCC) 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
    - GCC specs file:                /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  
  libc version:                      2.3.6
  Relocating allocator for buffers:  no
  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:                 /usr/X11R6/include
    - X Windows libraries location:               /usr/X11R6/lib
    - Handling WM_COMMAND properly.
    - 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.

TTY:
  Compiling in support for ncurses.
  Compiling in support for GPM (General Purpose Mouse).

Images:
  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 X-Face message headers.

Sound:
  Compiling in support for sound (native).
  Compiling in support for ALSA (Advanced Linux Sound Architecture).
  Compiling in support for ESD (Enlightened Sound Daemon).

Databases:

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

Mail:
  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.
  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: ---------------------------------------------------------
----------------------------------------------------------------------

Yours
-- 
%% Mats




More information about the XEmacs-Beta mailing list