This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I've tried to follow Stephen Turnbull's instructions at
http://turnbull.sk.tsukuba.ac.jp/Tools/XEmacs/XEmacs+Unicode.html for
using UTF-8. I'm using 21.4.8 built with mule, and I used the
following code (executed manually from a scratch buffer after
startup):
(require 'un-define)
(require 'unicode)
(set-coding-category-system 'utf-8 'utf-8)
(set-coding-priority-list '(utf-8))
I then executed file-find to load a sample UTF-8 file, and XEmacs
bombed out. Running gdb on the core dump gives:
Program terminated with signal 11, Segmentation fault.
(gdb) where
#0 0x42029331 in kill () from /lib/i686/libc.so.6
#1 0x080af05b in fatal_error_signal ()
#2 <signal handler called>
#3 0x080d15c9 in ccl_driver ()
#4 0x080d8530 in Fdetect_coding_region ()
#5 0x080df679 in Fcoding_system_aliasee ()
#6 0x0814655a in Lstream_flush_out ()
#7 0x08146635 in Lstream_read ()
#8 0x081058e8 in Finsert_file_contents_internal ()
#9 0x080b512d in Ffuncall ()
#10 0x0808e2f3 in funcall_compiled_function ()
#11 0x080908d5 in Fbyte_code ()
#12 0x080b48f1 in Feval ()
#13 0x080b29b5 in condition_case_1 ()
#14 0x080b2cdb in condition_case_3 ()
#15 0x0808ee08 in execute_rare_opcode ()
#16 0x0808e15b in funcall_compiled_function ()
#17 0x0808dfc1 in funcall_compiled_function ()
#18 0x080b51de in Ffuncall ()
#19 0x0808e2f3 in funcall_compiled_function ()
#20 0x080908d5 in Fbyte_code ()
#21 0x080b48f1 in Feval ()
#22 0x080b29b5 in condition_case_1 ()
#23 0x080b2cdb in condition_case_3 ()
#24 0x0808ee08 in execute_rare_opcode ()
#25 0x0808e15b in funcall_compiled_function ()
#26 0x080908d5 in Fbyte_code ()
#27 0x080b48f1 in Feval ()
#28 0x080b29b5 in condition_case_1 ()
#29 0x080b2cdb in condition_case_3 ()
#30 0x0808ee08 in execute_rare_opcode ()
#31 0x0808e15b in funcall_compiled_function ()
#32 0x0808dfc1 in funcall_compiled_function ()
#33 0x080b51de in Ffuncall ()
#34 0x0808e2f3 in funcall_compiled_function ()
#35 0x0808dfc1 in funcall_compiled_function ()
#36 0x080b51de in Ffuncall ()
#37 0x0808e2f3 in funcall_compiled_function ()
#38 0x0808dfc1 in funcall_compiled_function ()
#39 0x080b51de in Ffuncall ()
#40 0x0808e2f3 in funcall_compiled_function ()
#41 0x0808dfc1 in funcall_compiled_function ()
#42 0x080b51de in Ffuncall ()
#43 0x08092a36 in Fcall_interactively ()
#44 0x080b50e7 in Ffuncall ()
#45 0x0808e2f3 in funcall_compiled_function ()
#46 0x0808dfc1 in funcall_compiled_function ()
#47 0x080b51de in Ffuncall ()
#48 0x080b7b75 in apply1 ()
#49 0x080913d1 in Fcall_interactively ()
#50 0x080b4035 in Fcommand_execute ()
#51 0x080efab0 in Fset_recent_keys_ring_size ()
#52 0x080f02db in Fdispatch_event ()
#53 0x08098eb9 in Fcommand_loop_1 ()
#54 0x080b29b5 in condition_case_1 ()
#55 0x08099320 in Freally_early_error_handler ()
#56 0x080b2889 in internal_catch ()
#57 0x08098c08 in initial_command_loop ()
#58 0x080afe35 in xemacs_21_4_8_i686_pc_linux ()
#59 0x080b0533 in main ()
#60 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
The sample file I was using was UTF-demo-8.txt from Marcus Kuhn's
UTF-8 page.
I'm guessing that even if I'm doing something wrong there is also a
problem here, as XEmacs shouldn't bomb out like this? Or I'm doing
something seriously wrong...
I can view the file fine in xterm.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux mnemosyne 2.4.18-4 #1 Thu May 2 18:10:25 EDT 2002 i686 unknown
./configure '--prefix=/home/rrt' '--with-mule'
XEmacs 21.4.8 "Honest Recruiter" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/rrt/src/xemacs-21.4.8
Installation prefix: /home/rrt
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/rrt/elisp/winring
/home/rrt/lib/xemacs/xemacs-packages/lisp/edit-utils/winring)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.48 :type single-file)
(xemacs-base :version 1.67 :type regular)
(vm :version 7.07 :type regular)
(view-process :version 1.11 :type regular)
(vc :version 1.33 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.51 :type single-file)
(texinfo :version 1.2 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.26 :type regular)
(psgml :version 1.29 :type regular)
(ps-print :version 1.07 :type regular)
(prog-modes
:version
1
.63
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.28 :type single-file)
(net-utils :version 1.27 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.48 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.27 :type regular)
(igrep :version 1.08 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.04 :type regular)
(gnus :version 1.62 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(eterm :version 1.13 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 1.9 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.12 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.15 :type regular)
(cookie :version 1.14 :type regular)
(cc-mode :version 1.29 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.06 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.42 :type regular)
(lookup :version 1.12 :type regular)
(leim :version 1.19 :type regular)
(latin-unity :version 1.05 :type regular)
(egg-its :version 1.26 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 cperl-mode lua-mode
comint font disp-table blink-cursor permanent-buffers desktop
lazy-lock lazy-shot balloon-help avoid filladapt paren blink-paren
after-save-commands env scroll-in-place rsz-minibuf func-menu
font-lock crypt crypt++ efs-cu efs-x19.15 efs-fnh efs-ovwrt efs-auto
dired-faces dired-xemacs dired gnuserv pending-del change-mode advice
advice-preload fm vc ring vc-hooks ansi-color tex-site cc-styles
cc-vars wid-edit cc-defs mmm-auto mmm-vars mmm-compat overlay
regexp-opt newcomment edebug eval-reg ffap edmacro iswitchb find-files
esms esms-conf esms-ssp-funs bbdb timezone recent-files jka-compr
mwheel time cus-face xemacs-devel-autoloads xemacs-base-autoloads
vm-autoloads view-process-autoloads vc-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads slider-autoloads sh-script-autoloads
sgml-autoloads semantic-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads ibuffer-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads eterm-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads dictionary-autoloads
debug-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads mule-ucs-autoloads mule-base-autoloads
lookup-autoloads leim-autoloads latin-unity-autoloads
egg-its-autoloads lisp-autoloads loadhist auto-show fontl-hooks
x-iso8859-1 slovenian czech romanian ccl mule-help code-cmds
gutter-items menubar-items x-menubar mode-motion mouse itimer
auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete
cus-file derived frame text-props obsolete cus-start custom widget
cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
postgresqlv7 postgresql file-coding mule lucid-scrollbars cut-buffer
lucid-menubars x c-balloon-help tty-frames tty toolbar native-sound
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar berkeley-db md5 xemacs xim
gutter tiff png gif jpeg xface xpm xbm lisp-float-type linux devices
window-system base64)
Recent keystrokes:
-----------------
M-x r e p o TAB r TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Desktop loaded.
Loading cperl-mode...done
Loading cperl-mode...
Loading lua-mode...done
Loading lua-mode...
Loading font...done
Loading font...
Loading blink-cursor...done
Loading blink-cursor...
Loading permanent-buffers...done
Loading permanent-buffers...
Loading lazy-lock...done
Loading lazy-lock...
Loading lazy-shot...done
Loading lazy-shot...
Loading balloon-help...done
Loading balloon-help...