For info on my installation or system see attached files. I have been
getting segfaults in the past few xemacs. Well I sat down and stepped
through the source code until I found where it is happening. Here is the
gdb output. I am not a programmer so I am not even going to try to figure
this out. I see from the list that there may be others with this problem.
Breakpoint 1, main (argc=???, argv=???, envp=???)
at /usr/src/CVS/xemacs-20/src/emacs.c:1974
1974 {
(gdb) s 700
4997 XSETINT (Vgc_message, 0);
(gdb) s
4998 all_lcrecords = 0;
(gdb)
4999 ignore_malloc_warnings = 1;
(gdb)
5001 mallopt (M_TRIM_THRESHOLD, 128*1024); /* trim threshold */
(gdb)
5002 mallopt (M_MMAP_THRESHOLD, 64*1024); /* mmap threshold */
(gdb)
5007 init_string_alloc ();
(gdb)
init_string_alloc () at /usr/src/CVS/xemacs-20/src/alloc.c:2002
2002 DECLARE_FIXED_TYPE_ALLOC (string, struct Lisp_String);
(gdb)
init_alloc_once_early () at /usr/src/CVS/xemacs-20/src/alloc.c:5008
5008 init_string_chars_alloc ();
(gdb)
init_string_chars_alloc () at /usr/src/CVS/xemacs-20/src/alloc.c:2092
2092 first_string_chars_block = xnew (struct string_chars_block);
(gdb)
xmalloc (size=1) at /usr/src/CVS/xemacs-20/src/alloc.c:389
389 {
(gdb)
390 void *val = (void *) malloc (size);
(gdb)
392 if (!val && (size != 0)) memory_full ();
(gdb)
394 }
(gdb)
Program received signal SIGSEGV, Segmentation fault.
0x4035e11c in memcpy ()
(gdb)
__________________
Richard Ketchersid +++_/_/+++_/_/++
UC Berkeley, Logic Group ++_/_/_/++_/+_/+
Office: 846 Evans +_/+++ _/+_/_/++
uname -a: Linux genera 2.1.95 #2 Sat Apr 11 10:14:58 PDT 1998 i486 unknown
/usr/src/CVS/xemacs-20/configure '--extra-verbose' '--with-gcc'
'--cflags=-pipe -g -fomit-frame-pointer -D_GNU_SOURCE -O2 -fno-strength-reduce'
'--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib'
'--error-checking=none' '--with-site-lisp' '--gung-ho'
'--debug' '--with-offix' '--with-menubars=lucid'
'--with-dialogs=athena3d' '--with-database=berkdb'
'--with-ncurses' '--with-gpm' '--with-gnu-make'
'--prefix=/usr/local/share/xemacs' '--with-xpm' '--with-gif'
'--with-tiff' '--with-jpeg' '--with-clash-detection'
'--with-session'
'--package-path=/usr/local/share/xemacs/packages:~/.xemacs'
'--with-mule'
XEmacs 21.0-b37 "Pygmy-pre2" configured for `i486-pc-linux'.
Where should the build process find the source code? /usr/src/CVS/xemacs-20
What installation prefix should install use? /usr/local/share/xemacs
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -pipe -g
-fomit-frame-pointer -D_GNU_SOURCE -O2 -fno-strength-reduce
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11/include
Where do we find X Windows libraries? /usr/X11R6/lib
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for GIF image conversion.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for OffiX.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena-3d dialog boxes.
Compiling in DLL support.
Clash detection will use "${statedir}/xemacs/lock" for locking files.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
GCC:
Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.24/specs
gcc version egcs-2.91.24 19980418 (gcc2 ss-980401 experimental)
OS:
Linux genera 2.1.95 #2 Sat Apr 11 10:14:58 PDT 1998 i486 unknown
LIBC:
/lib/libc-2.0.92.so
Show replies by date