make[1]: Entering directory `/usr/src/xemacs/src' gcc -c -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include print.c print.c: In function `std_handle_out_va': print.c:173: warning: `extlen' might be used uninitialized in this function [... identical part skipped ...] Loading /usr/src/xemacs/lisp/x-init.elc... Loading /usr/src/xemacs/lisp/toolbar-items.elc... Loading /usr/src/xemacs/lisp/x-win-xfree86.elc... Loading /usr/src/xemacs/lisp/x-win-sun.elc... Loading /usr/src/xemacs/lisp/tty-init.elc... Loading /usr/src/xemacs/lisp/fontl-hooks.elc... Loading /usr/src/xemacs/lisp/auto-show.elc... Loading /usr/src/xemacs/lisp/loadhist.elc... Loading /usr/src/xemacs/lisp/loaddefs.elc... Loading site-load... Finding pointers to doc strings... Finding pointers to doc strings...done Warning: doc lost for function image-instance-p. Warning: doc lost for function specifierp. This is usually because some files were preloaded by loaddefs.el or site-load.el, but were not passed to make-docfile by Makefile. Dumping under the name xemacs Testing for Lisp shadows ... -----------------[ Now attach gdb elsewhere... ]-------------------------- [2] daniel$ cd /usr/src/xemacs/src/ [3] src$ gdb xemacs 1283 GNU gdb 19990928 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... /usr/src/xemacs/src/1283: No such file or directory. Attaching to program: /usr/src/xemacs/src/xemacs, Pid 1283 Reading symbols from /usr/X11R6/lib/libXaw.so.6...done. Reading symbols from /usr/lib/libtiff.so.3...done. Reading symbols from /usr/lib/libpng.so.2...done. Reading symbols from /usr/lib/libjpeg.so.62...done. Reading symbols from /usr/lib/libz.so.1...done. Reading symbols from /usr/lib/libcompface.so.1...done. Reading symbols from /usr/X11R6/lib/libXpm.so.4...done. Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. Reading symbols from /usr/X11R6/lib/libXt.so.6...done. Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Reading symbols from /usr/X11R6/lib/libSM.so.6...done. Reading symbols from /usr/X11R6/lib/libICE.so.6...done. Reading symbols from /lib/libdl.so.2...done. Reading symbols from /lib/libdb.so.3...done. Reading symbols from /lib/libncurses.so.5...done. Reading symbols from /lib/libm.so.6...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. 0x40357674 in write () from /lib/libc.so.6 (gdb) where full #0 0x40357674 in write () from /lib/libc.so.6 No symbol table info available. #1 0x4039f078 in __check_rhosts_file () from /lib/libc.so.6 No symbol table info available. #2 0x403129a8 in _IO_do_write () from /lib/libc.so.6 No symbol table info available. #3 0x4031331c in _IO_file_xsputn () from /lib/libc.so.6 No symbol table info available. #4 0x4030f888 in fwrite () from /lib/libc.so.6 No symbol table info available. #5 0x81c3014 in sys_fwrite (ptr=0x0, size=1, nitem=1073819696, stream=0x4039d8e0) at sysdep.c:2938 nitem = 1073819696 rtnval = 1073819696 items_written = 0 b = 0x0 #6 0x817aaa3 in std_handle_out_va (stream=0x4039d8e0, recode=0, fmt=0x8217480 "malloc_set_state failed, rc = %d\n", args=0xbffff8b8) at print.c:127 stream = (FILE *) 0x4039d8e0 lstream = 13299711 extlen = 1073819696 recode = 0 kludge = "malloc_set_state failed, rc = -1\n", '\000' , "1Ë\000@\000\000\000\000\000\020\000\000\003\000\000\000¾Ê\000@h*\001@,\002\000\000Ûl\006\bXV\000@\000\000:@<7\000\000\003\000\000\0002\000\000\000ÿÿÿÿ\000\000\000\000ð\003\000\000¾Ê\000@\000\000\000\000\000P\r\000QH\r\000QH\r\000\000\000\000\000\005\000\000\000\000P\r\000\000\220\r\000\020\214\r\000<Ç\r\000\000@\r\000\003\000\000\000h*\001@%áÿ¿ù\006\001@\003\000\000\000h*\001@5áÿ¿ù\006\001@.\206\000@\017\000\000\000h\222*@\n"... extptr = (Extbyte *) 0x0 extlen = 1073819696 retval = 33 #7 0x817ab56 in stderr_out ( fmt=0x8217480 "malloc_set_state failed, rc = %d\n") at print.c:200 retval = 13299711 #8 0x80bb2a0 in main (argc=5, argv=0xbffff944, envp=0xbffff95c) at emacs.c:2406 rc = 13299711 argc = 13299711 argv = (char **) 0x40013030 envp = (char **) 0x0 vol_argc = 5 vol_argv = (char **) 0xbffff944 vol_envp = (char **) 0xbffff95c restarted = 0 (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) n Program not restarted. (gdb) go Undefined command: "go". Try "help". (gdb) cont Continuing. Program received signal SIGINT, Interrupt. 0x40357674 in write () from /lib/libc.so.6 (gdb) where full #0 0x40357674 in write () from /lib/libc.so.6 No symbol table info available. #1 0x4039f078 in __check_rhosts_file () from /lib/libc.so.6 No symbol table info available. #2 0x403129a8 in _IO_do_write () from /lib/libc.so.6 No symbol table info available. #3 0x4031331c in _IO_file_xsputn () from /lib/libc.so.6 No symbol table info available. #4 0x4030f888 in fwrite () from /lib/libc.so.6 No symbol table info available. #5 0x81c3014 in sys_fwrite (ptr=0x0, size=1, nitem=1073819696, stream=0x4039d8e0) at sysdep.c:2938 nitem = 1073819696 rtnval = 1060519985 items_written = 0 b = 0x0 #6 0x817aaa3 in std_handle_out_va (stream=0x4039d8e0, recode=0, fmt=0x8217480 "malloc_set_state failed, rc = %d\n", args=0xbffff8b8) at print.c:127 stream = (FILE *) 0x4039d8e0 lstream = 27234303 extlen = 1073819696 recode = 0 kludge = "malloc_set_state failed, rc = -1\n", '\000' , "1Ë\000@\000\000\000\000\000\020\000\000\003\000\000\000¾Ê\000@h*\001@,\002\000\000Ûl\006\bXV\000@\000\000:@<7\000\000\003\000\000\0002\000\000\000ÿÿÿÿ\000\000\000\000ð\003\000\000¾Ê\000@\000\000\000\000\000P\r\000QH\r\000QH\r\000\000\000\000\000\005\000\000\000\000P\r\000\000\220\r\000\020\214\r\000<Ç\r\000\000@\r\000\003\000\000\000h*\001@%áÿ¿ù\006\001@\003\000\000\000h*\001@5áÿ¿ù\006\001@.\206\000@\017\000\000\000h\222*@\n"... extptr = (Extbyte *) 0x0 extlen = 1073819696 retval = 33 #7 0x817ab56 in stderr_out ( fmt=0x8217480 "malloc_set_state failed, rc = %d\n") at print.c:200 retval = 27234303 #8 0x80bb2a0 in main (argc=5, argv=0xbffff944, envp=0xbffff95c) at emacs.c:2406 rc = 27234303 argc = 27234303 argv = (char **) 0x3f364031 envp = (char **) 0xcaefff vol_argc = 5 vol_argv = (char **) 0xbffff944 vol_envp = (char **) 0xbffff95c restarted = 0 (gdb)