XEmacs crashes when non-ascii characters are used as a glyph string
and that glyph has its own face. It reproduce this to evaluate this
expression.
(let ((e (make-extent (point) (point)))
(glyph (make-glyph))
face-name)
(make-face 'face-name)
(set-glyph-face glyph 'face-name)
(set-glyph-image glyph (char-to-string (make-char 'latin-iso8859-1 192)))
(set-extent-end-glyph e glyph))
../xemacs/configure '--with-mule'
XEmacs 21.2-b31 "Iris" configured for `i686-pc-linux'.
Where should the build process find the source code?
/home/tomonori/emacs/xemacs-beta/xemacs
What installation prefix should install use? /usr/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
-Wpointer-arith -Winline -Wmissing-prototypes -Wshadow
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? no
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 Berkeley DB.
Compiling in support for LDAP.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
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 Athena native widgets.
Using Athena 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: ---------------------------------------------------------
(gdb) run -vanilla
Starting program: /home/tomonori/emacs/xemacs-beta/debug/src/xemacs -vanilla
Fatal error: assertion failed, file /home/tomonori/emacs/xemacs-beta/xemacs/src/objects.h,
line 142, RECORD_TYPEP (obj, lrecord_type_font_instance)
Program received signal SIGABRT, Aborted.
0x402f4111 in __kill ()
(gdb) bt
#0 0x402f4111 in __kill ()
#1 0x402f3d66 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x402f5447 in abort () at ../sysdeps/generic/abort.c:88
#3 0x8087bf7 in assert_failed ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/emacs.c:2770
#4 0x819a95d in x_text_width (f=0x85f0fe8, cachel=0x8632890, str=0x8630ee8,
len=1) at /home/tomonori/emacs/xemacs-beta/xemacs/src/objects.h:142
#5 0x819bbf6 in x_output_string (w=0x859cfa0, dl=0x8636b98, buf=0x863e178,
xpos=4, xoffset=0, clip_start=4, width=-1, findex=4, cursor=0,
cursor_start=0, cursor_width=0, cursor_height=0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay-x.c:815
#6 0x819b12f in x_output_display_block (w=0x859cfa0, dl=0x8636b98,
block=140531200, start=0, end=80, start_pixpos=4, cursor_start=0,
cursor_width=0, cursor_height=0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay-x.c:463
#7 0x815971c in redisplay_output_display_block (w=0x859cfa0, dl=0x8636b98,
block=0, start=0, end=-1, start_pixpos=4, cursor_start=0, cursor_width=0,
cursor_height=0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay-output.c:1088
#8 0x81565ef in output_display_line (w=0x859cfa0, cdla=0x8338088,
ddla=0x8573018, line=12, force_start=-1, force_end=-1)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay-output.c:751
#9 0x8158d63 in redisplay_output_window (w=0x859cfa0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay-output.c:2203
---Type <return> to continue, or q <return> to quit---
#10 0x814db24 in redisplay_window (window=140103584, skip_selected=0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay.c:6194
#11 0x814df44 in redisplay_frame (f=0x85f0fe8, preemption_check=0)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay.c:6410
#12 0x814e115 in redisplay_device (d=0x836b1c0, automatic=1)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay.c:6488
#13 0x814e466 in redisplay_without_hooks ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay.c:6577
#14 0x8154c90 in redisplay ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/redisplay.c:6634
#15 0x80cecf2 in Fnext_event (event=140639956, prompt=136882132)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/event-stream.c:2236
#16 0x806ec49 in Fcommand_loop_1 ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/cmdloop.c:566
#17 0x806ee8d in command_loop_1 (dummy=136882132)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/cmdloop.c:490
#18 0x809054b in condition_case_1 (handlers=136882228,
bfun=0x806ee58 <command_loop_1>, barg=136882132,
hfun=0x806e280 <cmd_error>, harg=136882132)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/eval.c:1629
#19 0x806ef6c in command_loop_2 (dummy=136882132)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/cmdloop.c:252
#20 0x809042f in internal_catch (tag=136956252,
func=0x806ef34 <command_loop_2>, arg=136882132, threw=0x0)
---Type <return> to continue, or q <return> to quit---
at /home/tomonori/emacs/xemacs-beta/xemacs/src/eval.c:1304
#21 0x806e5ee in initial_command_loop (load_me=136882132)
at /home/tomonori/emacs/xemacs-beta/xemacs/src/cmdloop.c:301
#22 0x8086272 in xemacs_21_2_b31_i686_pc_linux ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/emacs.c:1879
#23 0x8087e7a in main ()
at /home/tomonori/emacs/xemacs-beta/xemacs/src/emacs.c:2305
#24 0x402edcb3 in __libc_start_main (main=0x8087d80 <main>, argc=2,
argv=0xbffffc04, init=0x804e744 <_init>, fini=0x81c2ce4 <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffbfc)
at ../sysdeps/generic/libc-start.c:78