>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Jan> giacomo boffi <giacomo.boffi(a)polimi.it> writes:
> temacs had already dumped xemacs --- i have no c backtrace to
> show you, as make wipes clean the executable after the failure
Jan> Yes. This is very very annoying. I think you can use make
Jan> fastdump to produce a real executable.
[...]
Jan> What is you max stack size?. Crashes like this are often
Jan> stack related.
Dunno. Don't think so. I also get an immediate crash from a dumped
xemacs, but I get the following silliness instead of a lisp
backtrace. I would say the dump process is hosing things.
Especially since using --pdump wins (in the sense of completing the
build; I haven't actually _tried it out myself_ or anything radical
like that, you understand).
bash-2.04$ gdb src/xemacs.save
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"...
(gdb) print dumpopaqueidx
$1 = 211
(gdb) break vars_of_alloc
Breakpoint 1 at 0x808d12d: file /coda/Projects/XEmacs/xemacs-21.2-HEAD/src/alloc.c, line
2424.
(gdb) run
Starting program: /home/steve/Projects/XEmacs/Builds/21.2/src/xemacs.save
Breakpoint 1, vars_of_alloc () at /coda/Projects/XEmacs/xemacs-21.2-HEAD/src/alloc.c:2424
2424 assert (dumpopaqueidx < countof (dumpopaquevec));
(gdb) print dumpopaqueidx
$2 = 2425
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x808d159 in vars_of_alloc () at /coda/Projects/XEmacs/xemacs-21.2-HEAD/src/alloc.c:2426
2426 dumpopaquevec[dumpopaqueidx].data = varaddress;
(gdb) where
#0 0x808d159 in vars_of_alloc () at
/coda/Projects/XEmacs/xemacs-21.2-HEAD/src/alloc.c:2426
#1 0x80c2a42 in xemacs_21_2_b33_i686_pc_linux (argc=5, argv=0xbffffbf4, envp=0xbffffc0c,
restart=0)
at /coda/Projects/XEmacs/xemacs-21.2-HEAD/src/emacs.c:1555
#2 0x80c5157 in main (argc=5, argv=0xbffffbf4, envp=0xbffffc0c) at
/coda/Projects/XEmacs/xemacs-21.2-HEAD/src/emacs.c:2514
(gdb) quit
The program is running. Exit anyway? (y or n) y
bash-2.04$
# Debian unstable, updated about one hour before the date of this post
bash-2.04$ cat Installation
uname -a: Linux tleepslib 2.2.10 #2 Thu Jun 24 19:22:23 JST 1999 i686 unknown
/coda/Projects/XEmacs/xemacs-21.2-HEAD/configure
'--srcdir=/coda/Projects/XEmacs/xemacs-21.2-HEAD' '--with-widgets=athena'
'--with-athena=3d' '--with-mule' '--with-xim=xlib'
'--with-xfs' '--use-union-type'
XEmacs 21.2-b33 "Melpomene" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /coda/Projects/XEmacs/xemacs-21.2-HEAD
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline
-Wmissing-prototypes -Wshadow
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 the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
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.
Sound:
Compiling in support for sound (native).
Compiling in support for NAS (network audio system).
Databases:
Compiling in support for Berkeley database.
Compiling in support for PostgreSQL.
- Using PostgreSQL V7 bindings.
- PostgreSQL headers location: postgresql
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.
- Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Using the union type for Lisp_Objects.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."