Adrian Aichner writes:
Following line which tries to use a pointer glyph as a text
annotation
crashes both XEmacs-21.0-b59 and XEmacs-21.2-b5. They vanish without
a single line of good-bye.
(make-annotation gc-pointer-glyph nil 'text)
I can reproduce this in 20.4, on both Solaris and IRIX.
I can also reproduce this on 21.0 (Poitou60) on IRIX (the only one
that I have tried).
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)
Here is the lisp backtrace:
Lisp backtrace follows:
# (condition-case ... . error)
# (catch top-level ...)
Abort
Here is the stack trace:
(dbx) run -vanilla
Process 21984 (xemacs) terminated
Process 8049 (xemacs) started
CSTC version 4.2.2 SOCKS client. Default SOCKS server:
bkinos.morgan.com
Fatal error: assertion failed, file
/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-x.c, line 491, abort()
Process 8049 (xemacs) stopped on signal SIGABRT: Abort (see abort(3c)) (handler
fatal_error_signal) at [_kill:15 +0x8,0xfaa57f8]
Source (of /xlv24/patches/3312/work/irix/lib/libc/libc_n32_M4/signal/kill.s) not
available for Process 8049
(dbx) where
0 _kill(0x1f71, 0x6, 0x0, 0x0, 0x0, 0x200e6c, 0xfb512f8, 0x200e70)
["/xlv24/patches/3312/work/irix/lib/libc/libc_n32_M4/signal/kill.s":15,
0xfaa57f8]
1 _raise(0x1f71, 0x6, 0x0, 0x0, 0x0, 0x200e6c, 0xfb512f8, 0x200e70)
["/xlv24/patches/3312/work/irix/lib/libc/libc_n32_M4/signal/raise.c":25,
0xfaa5eb0]
2 _abort(0x1f71, 0x6, 0x0, 0x0, 0x0, 0x200e6c, 0xfb512f8, 0x200e70)
["/xlv24/patches/3312/work/irix/lib/libc/libc_n32_M4/gen/abort.c":47,
0xfa316ec]
3 assert_failed(file = 0x102e5f58 =
"/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-x.c", line =
491, expr = 0x103020e0 = "abort()")
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/emacs.c":2608,
0x1009e2f8]
4 x_output_display_block(w = 0x10600e00, dl = 0x1062c2d0, block = 0, start = 0, end =
46, start_pixpos = 0, cursor_start = 296, cursor_width = 5, cursor_height = 10)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-x.c":491,
0x10235c10]
5 compare_display_blocks(w = 0x10600e00, cdl = 0x1062ead0, ddl = 0x1062c2d0, c_block =
0, d_block = 0, start_pixpos = 0, cursor_start = 296, cursor_width = 5, cursor_height =
10)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-output.c":419,
0x101c780c]
6 output_display_line(w = 0x10600e00, cdla = 0x10617960, ddla = 0x106179a0, line = 10,
force_start = -1, force_end = -1)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-output.c":659,
0x101c87c0]
7 redisplay_output_window(w = 0x10600e00)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay-output.c":1318,
0x101caf00]
More (n if no)?
8 redisplay_window(window = 274730496, skip_selected = 0)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay.c":5241,
0x101b92bc]
9 redisplay_frame(f = 0x10600000, preemption_check = 0)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay.c":5417,
0x101b9aec]
10 redisplay_device(d = 0x1051e900)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay.c":5501,
0x101ba0c4]
11 redisplay_without_hooks()
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay.c":5617,
0x101ba9c4]
12 redisplay()
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/redisplay.c":5685,
0x101bac60]
13 Fnext_event(event = 274857332, prompt = 272617476)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/event-stream.c":2238,
0x100f3fe0]
14 Fcommand_loop_1()
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/cmdloop.c":570,
0x1006e488]
15 command_loop_1(dummy = 272617476)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/cmdloop.c":494,
0x1006e098]
16 condition_case_1(handlers = 272617588, bfun = 0x1006e050, barg = 272617476, hfun =
0x1006d368, harg = 272617476)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/eval.c":1653,
0x100a3844]
17 command_loop_3()
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/cmdloop.c":256,
0x1006d550]
18 command_loop_2(dummy = 272617476)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/cmdloop.c":267,
0x1006d5b0]
More (n if no)?
19 internal_catch(tag = 272695804, func = 0x1006d58c, arg = 272617476, threw = (nil))
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/eval.c":1328,
0x100a31c4]
20 initial_command_loop(load_me = 272617476)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/cmdloop.c":305,
0x1006d968]
21 xemacs_21_0_b60_mips_sgi_irix6_4(argc = 2, argv = 0x7ffb7eb4, envp = 0x7ffb7ec0,
restart = 0)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/emacs.c":1705,
0x1009c488]
22 main(argc = 2, argv = 0x7ffb7eb4, envp = 0x7ffb7ec0)
["/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/src/emacs.c":2122,
0x1009d3a8]
23 __start()
["/xlv22/ficus-jan23/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":166,
0x10041988]
(dbx)
Here is my Installation file:
uname -a: IRIX64 sag3 6.4 02121744 IP27
/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20/configure '--extra-verbose'
'--with-gcc=no' '--compiler=/bin/cc' '--cflags=-DXTHREADS
-D__BIT_TYPES_DEFINED__ -D_BSD_SIGNALS -g -OPT:Olimit=0:space=ON -n32 -mips4'
'--debug' '--error-checking=all' '--gung-ho'
'--with-socks' '--with-tiff=no' '--with-dialogs=athena'
'--external-widget' '--x-includes=/usr/include'
'--site-includes=/u/craffert/include /ms/dist/aurora/PROJ/xpm/3.4j/common/include
/ms/dist/aurora/include' '--site-libraries=/u/craffert/exec/lib
/ms/dist/aurora/PROJ/xpm/3.4j/exec/lib /ms/dist/aurora/lib /usr/lib32'
'--package-path=~/.xemacs::~/proj/shadow/xemacs/packages::/ms/dist/fsf/PROJ/xemacs/20.4.0/exec/lib/xemacs-20.4'
XEmacs 21.0-b60 "Poitou60" configured for `mips-sgi-irix6.4'.
Where should the build process find the source code?
/ms/user/c/craffert/proj/shadow/xemacs/cvs/xemacs-20
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/irix6-0.h' and `m/iris4d.h'
What compiler should XEmacs be built with? /bin/cc -DXTHREADS
-D__BIT_TYPES_DEFINED__ -D_BSD_SIGNALS -g -OPT:Olimit=0:space=ON -n32 -mips4
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/include
Where do we find X Windows libraries?
Additional header files: /u/craffert/include
/ms/dist/aurora/PROJ/xpm/3.4j/common/include /ms/dist/aurora/include
Additional libraries: /u/craffert/exec/lib
/ms/dist/aurora/PROJ/xpm/3.4j/exec/lib /ms/dist/aurora/lib /usr/lib32
Runtime library search path:
/u/craffert/exec/lib:/ms/dist/aurora/PROJ/xpm/3.4j/exec/lib:/ms/dist/aurora/lib:/usr/lib32
Compiling in support for SOCKS.
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for GNU DBM.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
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: ---------------------------------------------------------
--
Colin