Evaluating following test in glyph-test.el crashes XEmacs.
(set-extent-begin-glyph
(make-extent (point) (point))
(make-glyph
[button :face modeline-mousable
:descriptor "ok" :callback foo
:image [xpm :file "../etc/xemacs-icon.xpm"]]))
Lisp backtrace and C stacktrace follows:
./src/xemacs -vanilla
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /src/xemacs/src/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque_ptr, adr=0x829ecac) 0x82f40c0> ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
(gdb) where
#0 0x4039e621 in kill () from /lib/libc.so.6
#1 0x808e7e4 in fatal_error_signal (sig=11) at emacs.c:278
#2 0x4039e558 in sigaction () from /lib/libc.so.6
#3 0x8114716 in instantiate_image_instantiator (device=138027248,
domain=140054736, instantiator=142320608, pointer_fg=137122684,
pointer_bg=137122684, dest_mask=239, glyph=140416248) at glyphs.c:606
#4 0x8119164 in image_instantiate (specifier=140474320, matchspec=136889516,
domain=140054736, instantiator=142320608, depth=3) at glyphs.c:2762
#5 0x8091b39 in call_with_suspended_errors_1 (opaque_arg=137327736)
at eval.c:2046
#6 0x8091e51 in call_with_suspended_errors (
fun=0x8118b48 <image_instantiate>, retval=136889516, class=137243996,
errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42},
nargs=5) at eval.c:1304
#7 0x818ca22 in specifier_instance_from_inst_list (specifier=140474320,
matchspec=136889516, domain=140054736, inst_list=141610880, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42},
no_quit=1, depth=3) at specifier.c:2450
#8 0x818cde5 in specifier_instance (specifier=140474320, matchspec=136889516,
domain=140054736, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42},
no_quit=1, no_fallback=0, depth=1) at specifier.c:2565
---Type <return> to continue, or q <return> to quit---
#9 0x811a449 in glyph_width (glyph_or_image=140416248, domain=140054736)
at glyphs.c:3503
#10 0x815ecd3 in add_glyph_rune (data=0xbffff400, gb=0x8616e48, pos_type=0,
allow_cursor=0, cachel=0x0) at redisplay.c:1544
#11 0x815fe2a in create_text_block (w=0x85910d0, dl=0x87b04f0,
bi_start_pos=386, prop=0xbffff550, type=1) at redisplay.c:1758
#12 0x815d249 in generate_display_line (w=0x85910d0, dl=0x87b04f0, bounds=1,
start_pos=386, prop=0xbffff550, type=1) at redisplay.c:730
#13 0x81660b1 in regenerate_window (w=0x85910d0, start_pos=386, point=667,
type=1) at redisplay.c:5171
#14 0x81679ad in redisplay_window (window=140054736, skip_selected=0)
at redisplay.c:6120
#15 0x81680b8 in redisplay_frame (f=0x8590fa0, preemption_check=0)
at redisplay.c:6393
#16 0x8168290 in redisplay_device (d=0x83a20f0) at redisplay.c:6460
#17 0x8168629 in redisplay_without_hooks () at redisplay.c:6549
#18 0x816f272 in redisplay () at redisplay.c:6606
#19 0x80d8c6e in Fnext_event (event=142693548, prompt=137122684)
at event-stream.c:2237
#20 0x80728d1 in Fcommand_loop_1 () at cmdloop.c:566
#21 0x8072b7d in command_loop_1 (dummy=137122684) at cmdloop.c:490
#22 0x8090bb2 in condition_case_1 (handlers=137122780,
bfun=0x8072b34 <command_loop_1>, barg=137122684,
---Type <return> to continue, or q <return> to quit---
hfun=0x8072bec <cmd_error>, harg=137122684) at eval.c:1629
#23 0x8072cdf in command_loop_2 (dummy=137122684) at cmdloop.c:252
#24 0x8097d0c in internal_catch (tag=137196900,
func=0x8072ca0 <command_loop_2>, arg=137122684, threw=0x0) at eval.c:1304
#25 0x80720fb in initial_command_loop (load_me=137122684) at cmdloop.c:301
#26 0x808c9ee in xemacs_21_2_b27_i686_pc_linux () at emacs.c:1906
#27 0x808ea00 in voodoo_free_hook (mem=0x2) at emacs.c:2331
#28 0x403987e2 in __libc_start_main () from /lib/libc.so.6
uname -a: Linux buck 2.2.13 #9 Thu Dec 23 11:11:36 JST 1999 i686 unknown
./configure '--prefix=/opt/local' '--with-mule' '--cflags=-g -O3 -Wall -Wno-switch -fno-gcse'
XEmacs 21.2-b27 "Hera" configured for `i686-pc-linux'.
Where should the build process find the source code? /src/xemacs
What installation prefix should install use? /opt/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch -fno-gcse
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
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/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Athena library to link: Xaw
Athena header include path: X11/Xaw
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 TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Enlightened Sound Daemon (ESD).
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif native widgets.
Using Motif dialog boxes.
Compiling in dynamic shared object module support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
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: ---------------------------------------------------------
--
Yoshiki Hayashi