>>>> "sb" == SL Baur <steve(a)xemacs.org>
writes:
sb> Colin Rafferty <craffert(a)ms.com> writes in xemacs-beta(a)xemacs.org:
sb> ...
> I can reproduce this in a vanilla XEmacs.
> Here is the Lisp code (assuming that you have a recycle2.xpm
glyph).
> Note that this will not happen if you use the default gc-pointer-glyph.
> (if (featurep 'xpm)
> (let ((file (locate-data-file "recycle2.xpm")))
> (if (condition-case error
> (make-image-instance file nil
> '(pointer))
> (error nil))
> (set-glyph-image gc-pointer-glyph file))))
> (make-annotation gc-pointer-glyph nil 'text)
sb> This sequence crashes on me.
sb> Fatal error: assertion failed, file redisplay-x.c, line 491, abort()
Same here, on a Solaris 2.5.1 box, gcc 2.7.2.x, xemacs 21.0 b60. A
snip of the traceback is:
#0 0xef0f452c in kill ()
#1 0x9326c in fatal_error_signal (sig=6) at emacs.c:262
#2 <signal handler called>
#3 0xef0f452c in kill ()
#4 0xef0ba5d4 in abort ()
#5 0x95e9c in assert_failed (file=0x2a9c48 "redisplay-x.c", line=491,
expr=0x2a9ca0 "abort()")
at emacs.c:2608
#6 0x20e9dc in x_output_display_block (w=0x5abe00, dl=0x74d3f0, block=7632256, start=18,
end=46,
start_pixpos=19, cursor_start=359, cursor_width=5, cursor_height=13) at
redisplay-x.c:491
#7 0x1b30a4 in compare_display_blocks (w=0x5abe00, cdl=0x7613f0, ddl=0x74d3f0,
c_block=46,
d_block=0, start_pixpos=19, cursor_start=359, cursor_width=5, cursor_height=13)
at redisplay-output.c:419
#8 0x1b4c1c in output_display_line (w=0x5abe00, cdla=0x5f3780, ddla=0x5f3760, line=14,
force_start=19, force_end=580) at redisplay-output.c:659
#9 0x1b6e80 in redisplay_output_window (w=0x5abe00) at redisplay-output.c:1318
#10 0x1a3c04 in redisplay_window (window=5946880, skip_selected=468) at redisplay.c:5241
#11 0x1a4448 in redisplay_frame (f=0x537200, preemption_check=0) at redisplay.c:5417
#12 0x1a4764 in redisplay_device (d=0x3ee200) at redisplay.c:5501
#13 0x1a4d2c in redisplay_without_hooks () at redisplay.c:5617
#14 0x1a4f64 in redisplay () at redisplay.c:5685
#15 0xfbe68 in Fnext_event (event=543365704, prompt=-1606610940) at event-stream.c:2238
#16 0x71ab8 in Fcommand_loop_1 () at cmdloop.c:570
#17 0x71708 in command_loop_1 (dummy=-1606610940) at cmdloop.c:494
#18 0x98fb0 in condition_case_1 (handlers=3743744, bfun=0x71664 <command_loop_1>,
barg=-1606610940, hfun=0x71c58 <cmd_error>, harg=-1606610940) at eval.c:1653
#19 0x71d6c in command_loop_2 (dummy=-1606610940) at cmdloop.c:256
#20 0x98ba0 in internal_catch (tag=-1606532996, func=0x71d20 <command_loop_2>,
arg=-1606610940,
threw=0x0) at eval.c:1328
#21 0x70da0 in initial_command_loop (load_me=466208) at cmdloop.c:305
#22 0x94c6c in xemacs_21_0_b60_sparc_sun_solaris2_5_1 (argc=1, argv=0xefffe94c,
envp=0xefffe954,
restart=0) at emacs.c:1705
#23 0x95420 in main (argc=0, argv=0xefffe94c, envp=0xefffe954) at emacs.c:2122
Ray