The crash is in the widget code, but I don't understand why it is tying to
output a layout - this only happens currently when the progress gauge is
displayed. This is kind of hard to fix without a reproducible test case.
Hmmn, ok you stack is trashed, redisplay_clear_region doesn't call
redisplay_output_layout. So I dunno...
andy
-----Original Message-----
From: xemacs-beta-admin(a)xemacs.org
[mailto:xemacs-beta-admin@xemacs.org]On Behalf Of Chris Cannam
Sent: Sunday, June 02, 2002 2:14 PM
To: crashes(a)xemacs.org
Subject: xemacs 21.4.8 crash on linux
This is a very occasional (but frequent enough to really annoy)
crash when I switching buffers using the electric-buffer-list:
xemacs crashes immediately upon selecting the new buffer.
XEmacs is 21.4.8; packages are xemacs-sumo from 22 May 2002,
though I've had the same crash when using an xemacs-sumo from
30 Aug 1999; platform is a pretty clean install of SuSE Linux
8.0, with not much else besides a few additional fonts.
===============
Lisp backtrace:
# bind (print-message-label)
display-error((wrong-type-argument eventp
[1]- Segmentation fault /opt/xemacs-21.4.8/bin/xemacs (wd:
/opt/xemacs-21.4.8/lib/xemacs)
[yep, it only gets halfway through that line before aborting]
===============
gcc backtrace from core file:
Core was generated by `/opt/xemacs-21.1.14/bin/xemacs'.
Program terminated with signal 11, Segmentation fault.
#0 0x40491ab1 in ?? ()
(gdb) where
#0 0x40491ab1 in ?? ()
#1 0x40491a38 in ?? ()
#2 0x402bba92 in ?? ()
#3 0x402bbc6d in ?? ()
#4 0x402bc5ad in ?? ()
#5 0x402bc648 in ?? ()
#6 0x08150290 in redisplay_output_layout (domain=138854704,
image_instance=136929876, db=0x8296254, dga=0x83765b8,
findex=136929876,
cursor_start=138854704, cursor_width=137848248,
cursor_height=135190616)
at redisplay-output.c:1492
#7 0x08150847 in redisplay_clear_region (locale=138854704,
findex=136929876,
x=136929876, y=136929876, width=-1073748316, height=135919144)
at redisplay-output.c:1666
#8 0x080ed871 in get_builtin_face_cache_index (w=0x8296254,
face=137848248)
at faces.c:1422
#9 0x080a69dd in Fsave_current_buffer (args=137026124) at editfns.c:422
#10 0x080aaee9 in Frun_emacs_from_temacs (nargs=3, args=0xbfffe6a4)
at emacs.c:2624
#11 0x08086db9 in Fbuffer_local_variables (buffer=136199188) at
bufslots.h:43
#12 0x080a76df in hash_table_instantiate (plist=136199348) at elhash.c:620
#13 0x080a6ae1 in Fchar_before (pos=137343756, buffer=0) at editfns.c:485
#14 0x080aaee9 in Frun_emacs_from_temacs (nargs=1, args=0xbfffe9a4)
at emacs.c:2624
#15 0x08086db9 in Fbuffer_local_variables (buffer=136334692) at
bufslots.h:43
#16 0x080a76df in hash_table_instantiate (plist=136335028) at elhash.c:620
#17 0x080a6ae1 in Fchar_before (pos=137581700, buffer=0) at editfns.c:485
#18 0x080aaee9 in Frun_emacs_from_temacs (nargs=1, args=0xbfffeda4)
at emacs.c:2624
#19 0x08086db9 in Fbuffer_local_variables (buffer=136332564) at
bufslots.h:43
#20 0x080a76df in hash_table_instantiate (plist=136333268) at elhash.c:620
#21 0x080a728e in Ftranspose_regions (start1=136333268, end1=0,
start2=136929876, end2=113915541, leave_markers=136929876)
at editfns.c:2400
#22 0x080a649f in Fpoint_min () at editfns.c:448
#23 0x080aab46 in sort_args (argc=136929988, argv=0x80a5b50) at
emacs.c:2496
#24 0x0808d91f in print_compiled_function (obj=136929876, printcharfun=0,
escapeflag=-1073745340) at bytecode.c:1939
#25 0x080aaa0c in sort_args (argc=137004248, argv=0x808d8f0) at
emacs.c:2458
#26 0x0808d1e2 in optimize_byte_code (instructions=136929876,
constants=135779076, program=0x83442c4 "auctex/",
program_length=0x83442b8, varbind_count=0x74706f2f) at bytecode.c:1710
#27 0x080a1c18 in verify_doc_mapper (sym=1, arg=0xbffff324) at doc.c:701
#28 0x080a34a4 in emacs_doprnt_1 (stream=1, format_nonreloc=0xbffff324
"µôÿ¿",
format_reloc=-1073745108, format_length=135757040, nargs=0,
largs=0xbffff2f8, vargs=0x404809bd) at doprnt.c:642
#29 0x404809ed in ?? ()
===============
M-x describe-installation:
uname -a: Linux amyl 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002
i686 unknown
./configure '--prefix=/opt/xemacs-21.4.8'
XEmacs 21.4.8 "Honest Recruiter" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /download/xemacs-21.4.8
Installation prefix: /opt/xemacs-21.4.8
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.
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
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:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Chris