"Paul Stodghill" <stodghil(a)cs.cornell.edu> writes:
I managed to reproduce this with 21.4.6 and 21.5.4 under cygwin and
21.4.5 under Linux.
Jarl Friis <jarl(a)diku.dk> writes:
This one even crashes my 21.1.14 !
Please, please _always_ provide backtraces when crashing on Unix
boxes..
However in this I can see it myself...
Program received signal SIGSEGV, Segmentation fault.
0x818705e in generate_modeline (w=0x85bd8f0, dl=0x85c10e8, type=2)
at /local/xemacs/trunk/src/redisplay.c:3654
3654 font_inst = WINDOW_FACE_CACHEL_FONT (w, MODELINE_INDEX, Vcharset_ascii);
(gdb) where
#0 0x818705e in generate_modeline (w=0x85bd8f0, dl=0x85c10e8,
type=2) at /local/xemacs/trunk/src/redisplay.c:3654
#1 0x8188093 in ensure_modeline_generated (w=0x85bd8f0, type=2)
at /local/xemacs/trunk/src/redisplay.c:4217
#2 0x8189204 in regenerate_window (w=0x85bd8f0, start_pos=1,
point=1, type=2) at /local/xemacs/trunk/src/redisplay.c:5122
#3 0x818da8b in update_line_start_cache (w=0x85bd8f0, from=1,
to=168, point=1, no_regen=0)
at /local/xemacs/trunk/src/redisplay.c:7967
#4 0x818c7c3 in point_in_line_start_cache (w=0x85bd8f0, point=1,
min_past=0) at /local/xemacs/trunk/src/redisplay.c:7277
#5 0x818cda4 in point_would_be_visible (w=0x85bd8f0, startp=1,
point=397) at /local/xemacs/trunk/src/redisplay.c:7454
#6 0x81e76cc in Fpos_visible_in_window_p (pos=795, window=140237040)
at /local/xemacs/trunk/src/window.c:1324
#7 0x80bd4da in Ffuncall (nargs=3, args=0xbfffe520)
at /local/xemacs/trunk/src/eval.c:3477
#8 0x8091e0e in execute_optimized_program (
Note in this context that
/* #### This can be referenced by various functions,
but face_cachels isn't initialized for the stream device.
Since it doesn't need the value we just return nil here to avoid
blowing up in multiple places. */
#define WINDOW_FACE_CACHEL_FONT(window, index, charset) \
((window)->face_cachels \
? FACE_CACHEL_FONT (WINDOW_FACE_CACHEL (window, index), charset) \
And indeed (window)->face_cachels is not 0, but an empty array.
Jan