Dear all,
this is my first bug report, so I hope I'm doing it right. I'm running a Suse
7.3 (but a 2.4.14 kernel) on a 700 MHz Athlon with 256 MB memory; gcc version
2.95.3.
After compiling xemacs 21.4.5 it crashes at startup.
Configure, crash and gdb output are attached.
regards
daniel kranich
configure --with-msw=no gives:
...
XEmacs 21.4.5 "Civil Service" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/daniel/xemacs-21.4.5
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -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/X11/include
- X Windows libraries location: /usr/X11/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
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.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
/home/daniel/xemacs-21.4.5/src/xemacs gives:
Fatal error (11).
...
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on ":0.0" 0x1bbc>)
frame-initialize()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (unwind-protect ...)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
gdb gives:
GNU gdb 20010316
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-suse-linux"...
Core was generated by `src/xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXm.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXm.so.2
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libdb-3.1.so...done.
Loaded symbols for /usr/lib/libdb-3.1.so
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXp.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0 0x40533861 in kill () from /lib/libc.so.6
(gdb) where
#0 0x40533861 in kill () from /lib/libc.so.6
#1 0x080a9ca3 in fatal_error_signal (sig=11) at emacs.c:539
#2 <signal handler called>
#3 0x402b9888 in XtInitializeWidgetClass () from /usr/X11R6/lib/libXt.so.6
#4 0x402b9bdf in xtWidgetAlloc () from /usr/X11R6/lib/libXt.so.6
#5 0x402b9dc0 in xtCreate () from /usr/X11R6/lib/libXt.so.6
#6 0x402ba71b in _XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#7 0x402ba7bd in XtCreatePopupShell () from /usr/X11R6/lib/libXt.so.6
#8 0x0817ad50 in x_create_widgets (f=0x8488590, lisp_window_id=136386244,
parent=136386244) at frame-x.c:1957
#9 0x0817b32d in x_init_frame_1 (f=0x8488590, props=136386244) at
frame-x.c:2184
#10 0x080fed6c in Fmake_frame (props=136386244, device=138360504) at
frame.c:395
#11 0x080b0f1c in Ffuncall (nargs=3, args=0xbfffea58) at eval.c:3528
#12 0x0808bf79 in execute_optimized_program (
program=0x84884b8 "Æ \210Ç ?&È\fÉ \"¬\027Ê\r\013\"\022Ë\rÈ\tÌ
\"@\"\211\020\026\020Í\r!\025Î\016\021!\210Ï\211\024\207", stack_depth=5,
constants_data=0x82aa4f8)
at bytecode.c:746
#13 0x0808bc59 in funcall_compiled_function (fun=137261624, nargs=0,
args=0xbfffeb9c)
at bytecode.c:515
#14 0x080b10bf in Ffuncall (nargs=1, args=0xbfffeb98) at eval.c:3563
#15 0x0808bf79 in execute_optimized_program (
program=0x83f2f90 "\013A\035ÆÇ\032\031È\r!\025\bÉa«\004Ê \210ËÌ!«\004Í
\210\f«\017\016\035¬\013ÎÏÐ\f!ÑQ! \210Ò \210*Ó \210Ô \210rÕÖ!q\210×
\210ØÙ!\210\016!Úa«\005\016\" \210)Û Üa«\bÝ ¬\004Þ \210ß \210Ù\026#Ý
\004àÇ!)\207moA\001", stack_depth=4,
constants_data=0x8339bd0) at bytecode.c:746
#16 0x0808bc59 in funcall_compiled_function (fun=137580756, nargs=0,
args=0xbfffecdc)
at bytecode.c:515
#17 0x080b10bf in Ffuncall (nargs=1, args=0xbfffecd8) at eval.c:3563
#18 0x0808bf79 in execute_optimized_program (
program=0x83e1148 "\t«\005ÆÇ!\207È\021É
\211\034«\025\fG\rGW«\016Ê\r!Ê\f!k«\005Ë\f!\025)Ì\r!\025Í \210Î
\210\013®\aÏÐ!\002È\eÑ\016#\016$\"\022\013«\tÒÓÔ\n\"Õ\"\210\n¬\004Ö
\210×\n\016%\b\016&\013%\210Ø
\210)\016!¬\022\016\"«\016ÙÚÛ\016'!\016\"\"ÜÈ#\210\016!¬\023\b¬\006Ý\016(!\210Ý\016)!\210Ý\016*!\210Þ\216ß
\210)\016+\003à \207 or re¡", stack_depth=7,
constants_data=0x8339a10) at bytecode.c:746
#19 0x0808bc59 in funcall_compiled_function (fun=137580700, nargs=0,
args=0xbfffed84)
at bytecode.c:515
#20 0x080b0832 in Feval (form=137554788) at eval.c:3388
#21 0x080b6b06 in condition_case_1 (handlers=136386340, bfun=0x80aff00
<Feval>,
barg=137554788, hfun=0x8094700 <cmd_error>, harg=136386244) at eval.c:1651
#22 0x0809478f in top_level_1 (dummy=136386244) at cmdloop.c:206
#23 0x080b69cc in internal_catch (tag=136462340, func=0x8094760 <top_level_1>,
arg=136386244, threw=0x0) at eval.c:1317
#24 0x08094052 in initial_command_loop (load_me=136386244) at cmdloop.c:285
#25 0x080aaacd in xemacs_21_4_5_i686_pc_linux () at emacs.c:2353
#26 0x080ac7f9 in main () at emacs.c:2782
#27 0x405227ee in __libc_start_main () from /lib/libc.so.6