Hi !
While tracking down the problem that makes the current XEmacs 21.5 unusable on
my linux box (it's been so for a long long time now), I went into this:
Current directory is /usr/local/src/xemacs/src/
GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 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 "i386-linux"...
(gdb) break reinit_vars_of_eval
Breakpoint 1 at 0x80e7f76: file /usr/local/src/XEmacs-21.5/src/eval.c, line
6333.
(gdb) run -vanilla
Starting program: /usr/local/src/xemacs/src/xemacs -vanilla
Breakpoint 1, reinit_vars_of_eval ()
at /usr/local/src/XEmacs-21.5/src/eval.c:6333
(gdb) next
(gdb)
(gdb)
(gdb)
(gdb)
(gdb)
(gdb) set always_gc = 1
(gdb) set max_specpdl_size = 10000
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x0808c08e in mark_string (obj={...})
at /usr/local/src/XEmacs-21.5/src/alloc.c:1874
[ weird: it's DECLARE_FIXED_TYPE_ALLOC (string, Lisp_String); ]
(gdb) pobj obj
$3 = (Lisp_String *) 0x405cae34
$4 = {u = {...}, size_ = 6, data_ = 0x406d7d78 "newbuf", plist = {...}}
But then, I don't really know what to do next. Any advice ?
--
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 53 14 59 22
94276 Le Kremlin-BicĂȘtre, France Fax.+33 (1) 53 14 59 22 didier(a)xemacs.org