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!
(this is using the sumo packages from 2002-07-20)
I start xemacs with -q and -no-sitefile. Then I run
(require 'un-define)
(set-coding-priority-list '(utf-8))
(set-coding-category-system 'utf-8 'utf-8)
as described in
/usr/lib/xemacs/mule-packages/etc/mule-ucs/README.XEmacs
After that, I try to load a file with latin1 characters encoded as
utf-8. XEmacs then segfaults...
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 /usr/bin/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 ...)
# (unwind-protect ...)
# (unwind-protect ...)
insert-file-contents-internal("/home/devel/teg/foo.test" t nil nil nil
undecided used-codesys)
byte-code("..." [buffer-file-coding-system-for-read coding-system-for-read
return-val visit filename coding-system run-hook-with-args
insert-file-contents-access-hook run-hook-with-args-until-success
insert-file-contents-pre-hook find-file-coding-system-for-read-from-filename raw-text
find-coding-system message "Invalid coding-system (%s), using 'undecided"
undecided insert-file-contents-internal used-codesys start end replace] 9)
# (condition-case ... . ((file-error (byte-code
"=c3=c4 \n$=88=c5\n@\nA\"=87" ... 5))))
# bind (return-val coding-system used-codesys replace end start visit filename)
insert-file-contents("/home/devel/teg/foo.test" t)
byte-code("..." [rawfile filename insert-file-contents-literally t
insert-file-contents] 3)
# (condition-case ... . ((file-error (byte-code
"=c3\n!=ab=8c=c4\n!=ac=87=c5=c6=c7\nD\"=88=ab=84=c8=aa=87=c9=ca!=ac=82=c8=c3=87"
... 4))))
byte-code("..." [buffer-file-number number truename buffer-file-truename buf
buffer-file-name set-buffer-major-mode erase-buffer nil (byte-code
"=ab=87=c2 =c3\"=88=aa=85=c4 =c3\"=88=c2=87" [rawfile filename
insert-file-contents-literally t insert-file-contents] 3) ((file-error ...))
abbreviate-file-name file-name-directory make-local-variable backup-inhibited t
after-find-file find-file-use-truenames default-directory backup-enable-predicate rawfile
error nowarn] 3)
# (condition-case ... . ((t (byte-code "=c2!=88=c3 @ A\"=87" ... 3))))
# (unwind-protect ...)
# bind (error number truename buf rawfile nowarn filename)
find-file-noselect("~/foo.test")
# bind (codesys filename)
find-file("~/foo.test" nil)
# bind (command-debug-status)
call-interactively(find-file)
# (condition-case ... . error)
# (catch top-level ...)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
daffy.perf.redhat.com 2.4.17-0.13smp #1 SMP Fri Feb 1 10:30:48 EST 2002
i686 unknown unknown GNU/Linux
./configure 'i386-redhat-linux-gnu' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share'
'--libdir=/usr/lib' '--mandir=/usr/share/man/man1'
'--infodir=/usr/share/info' '--with-gpm=no' '--with-sound=native'
'--with-pop' '--mail-locking=lockf' '--with-clash-detection'
'--debug=no' '--error-checking=none' '--with-mule=yes'
'--with-database=berkdb' '--with-ldap=yes' '--with-hesiod=no'
'--with-canna=yes' '--with-wnn=yes' '--with-athena=3d'
'--with-widgets=motif' '--with-menubars=lucid'
'--with-scrollbars=lucid' '--with-dialogs=motif' '--with-xim=xlib'
'--with-msw=no' '--with-xfs=yes' '--with-dragndrop'
'--pdump'
XEmacs 21.4.8 "Honest Recruiter" configured for `i386-redhat-linux'.
Compilation / Installation:
Source code location: /usr/src/build/133915-i386/BUILD/xemacs-21.4.8
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O2 -march=i386 -mcpu=i686
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
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.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
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.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
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.
- Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "lockf" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/usr/lib/xemacs/mule-packages/lisp/skk/queue-m
/usr/lib/xemacs/xemacs-packages/lisp/elib/queue-m
/usr/lib/xemacs/xemacs-packages/lisp/flim/md5
/usr/lib/xemacs/xemacs-packages/lisp/gnus/md5
/usr/lib/xemacs/xemacs-packages/lisp/flim/smtpmail
/usr/lib/xemacs/xemacs-packages/lisp/mail-lib/smtpmail
/usr/lib/xemacs/xemacs-packages/lisp/gnus/smime
/usr/lib/xemacs/xemacs-packages/lisp/semi/smime
/usr/lib/xemacs/xemacs-packages/lisp/semi/signature
/usr/lib/xemacs/xemacs-packages/lisp/tm/signature
/usr/lib/xemacs/xemacs-packages/lisp/semi/mime-setup
/usr/lib/xemacs/xemacs-packages/lisp/tm/mime-setup
/usr/lib/xemacs/xemacs-packages/lisp/flim/mel-u
/usr/lib/xemacs/xemacs-packages/lisp/tm/mel-u
/usr/lib/xemacs/xemacs-packages/lisp/flim/mel-q
/usr/lib/xemacs/xemacs-packages/lisp/tm/mel-q
/usr/lib/xemacs/xemacs-packages/lisp/flim/mel-g
/usr/lib/xemacs/xemacs-packages/lisp/tm/mel-g
/usr/lib/xemacs/xemacs-packages/lisp/flim/mel
/usr/lib/xemacs/xemacs-packages/lisp/tm/mel
/usr/lib/xemacs/xemacs-packages/lisp/gnus/utf7
/usr/lib/xemacs/xemacs-packages/lisp/wl/utf7
/usr/lib/xemacs/xemacs-packages/lisp/apel/alist
/usr/share/xemacs-21.4.8/lisp/alist)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.1 :type regular)
(xslide :version 1.02 :type regular)
(xemacs-devel :version 1.47 :type single-file)
(xemacs-base :version 1.66 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tramp :version 1.05 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.48 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.07 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.25 :type regular)
(psgml :version 1.28 :type regular)
(ps-print :version 1.04 :type regular)
(prog-modes
:version
1
.6
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.63 :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)
(mh-e :version 1.14 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.47 :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)
(idlwave :version 1.25 :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)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.02 :type regular)
(eshell :version 1.03 :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)
(edt :version 1.12 :type regular)
(edit-utils :version 1.89 :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)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.28 :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)
(ada :version 1.1 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.42 :type regular)
(lookup :version 1.12 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.18 :type regular)
(latin-unity :version 1.05 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads wl-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semi-autoloads semantic-autoloads scheme-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 mh-e-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads flim-autoloads
eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads skk-setup
skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads
locale-autoloads leim-autoloads latin-unity-autoloads
egg-its-autoloads edict-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 canna-leim 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 CANNA file-coding wnn mule
lucid-scrollbars cut-buffer lucid-menubars motif-dialogs 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 xpm xbm lisp-float-type linux dialog devices
window-system base64)
Recent keystrokes:
-----------------
M-x r e p o r TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...