================================================================
Dear Bug Team!
I open a .tex file which does not start with \documentclass.
When I click on Edit in the menu list, then I am asked for the "Master
file" and I can do whatever I want, but xemacs crashes with the error
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
...
Lisp backtrace follows:
# (condition-case ... . error)
# (catch top-level ...)
The application of gdb gave:
#0 0x404a0471 in kill () from /lib/libc.so.6
#1 0x080b0aac in fatal_error_signal ()
#2 <signal handler called>
#3 0x080e4553 in XIM_init_device ()
#4 0x0000007f in ?? ()
#5 0x401ac976 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#6 0x401b58b6 in Phase2Callbacks () from /usr/X11R6/lib/libXt.so.6
#7 0x401b5759 in Recursive () from /usr/X11R6/lib/libXt.so.6
#8 0x401b57a6 in Recursive () from /usr/X11R6/lib/libXt.so.6
#9 0x401b57a6 in Recursive () from /usr/X11R6/lib/libXt.so.6
#10 0x401b5c02 in XtPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#11 0x401b5f0c in _XtDoPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#12 0x401bb49f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#13 0x401c7e1b in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#14 0x081a1009 in emacs_Xt_event_handler ()
#15 0x081a10ee in emacs_Xt_event_handler ()
#16 0x080f8858 in allocate_command_builder ()
#17 0x080f9358 in detect_input_pending ()
#18 0x080fa598 in in_single_console_state ()
#19 0x080fa76d in Fnext_event ()
#20 0x0809c061 in Fcommand_loop_1 ()
#21 0x080b5753 in condition_case_1 ()
#22 0x0809bb4a in Freally_early_error_handler ()
#23 0x0809bb7b in Freally_early_error_handler ()
#24 0x080b5379 in internal_catch ()
#25 0x0809bccf in initial_command_loop ()
#26 0x080b14c9 in xemacs_21_4_12_i386_suse_linux ()
#27 0x080b263e in main ()
#28 0x4048c857 in __libc_start_main () from /lib/libc.so.6
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux Zert139 2.4.20 #1 SMP Wed Mar 5 15:03:03 UTC 2003 i686 unknown unknown
GNU/Linux
./configure 'i386-suse-linux' '--with-gcc' '--dynamic'
'--rel-alloc' '--debug=no' '--error-checking=none'
'--cflags=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wno-switch -pipe -O2
-march=i586 -mcpu=i686 -fmessage-length=0' '--ldflags=-s -znocombreloc'
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/X11R6/bin'
'--datadir=/usr/share'
'--archlibdir=/usr/lib/xemacs/21.4.12/i386-suse-linux'
'--docdir=/usr/lib/xemacs/21.4.12/i386-suse-linux'
'--lispdir=/usr/share/xemacs/21.4.12/lisp'
'--pkgdir=/usr/share/xemacs/21.4.12/lisp'
'--etcdir=/usr/share/xemacs/21.4.12/etc' '--statedir=/var/lib/xemacs'
'--moduledir=/usr/lib/xemacs/21.4.12/i386-suse-linux/modules'
'--infodir=/usr/share/xemacs/info' '--mandir=/usr/share/man/man1'
'--with-sound=native' '--with-database=gnudbm,berkdb'
'--with-ncurses' '--with-tty=yes' '--with-gpm'
'--with-site-lisp' '--pdump' '--with-xpm' '--with-gif'
'--with-tiff' '--with-jpeg' '--with-png' '--with-x'
'--with-athena=3d' '--with-menubars=lucid' '
--with-scrollbars=lucid' '--with-dialogs=athena'
'--with-widgets=athena' '--x-includes=/usr/X11R6/include'
'--x-libraries=/usr/X11R6/lib' '--with-mule' '--with-xim=xlib'
'--with-xfs' '--with-clash-detection' '--with-ldap'
'--with-pop'
XEmacs 21.4.12 "Portable Code" configured for `i386-suse-linux'.
Compilation / Installation:
Source code location: /usr/src/packages/BUILD/xemacs-21.4.12
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O2 -march=i586 -mcpu=i686 -fmessage-length=0
-Wall -Wno-switch -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0
Relocating allocator for buffers: yes
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.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
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 GNU DBM.
Compiling in support for LDAP.
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 "dot-locking" 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/share/xemacs/xemacs-packages/lisp/build/build-report
/usr/share/xemacs/21.4.12/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.04 :type regular)
(xemacs-devel :version 1.5 :type single-file)
(xemacs-base :version 1.75 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.35 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.16 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.35 :type regular)
(tramp :version 1.11 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.35 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.58 :type single-file)
(texinfo :version 1.23 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.07000000000000001 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.11 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.12 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.38 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(pgg :version 1.02 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.3 :type single-file)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.31 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.17 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.56 :type regular)
(liece :version 1.1 :type regular)
(jde :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.29 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.28 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.65 :type regular)
(gnats :version 1.15 :type regular)
(general-docs :version 1.0 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.37 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.04 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.98 :type single-file)
(ediff :version 1.46 :type regular)
(edebug :version 1.15 :type regular)
(ecrypto :version 0.12 :type regular)
(ecb :version 1.01 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.32 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.33 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular)
(Sun :version 1.13 :type regular)
(skk :version 1.23 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.42 :type regular)
(lookup :version 1.13 :type regular)
(leim :version 1.2 :type regular)
(latin-unity :version 1.07 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 tex-site pending-del
font-lock cus-face ispell un-define mule-uni latin-euro-input quail
overlay latin-unity-tables latin-unity-latin10 latin-unity-latin9
latin-unity-latin8 latin-unity-latin7 latin-unity-vars latin-unity
x-compose zenirc-autoloads xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-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
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hm--html-menus-autoloads
haskell-mode-autoloads gnus-autoloads gnats-autoloads
general-docs-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
ediff-hook edebug-autoloads ecrypto-autoloads ecb-autoloads
docbookide-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 Sun-autoloads skk-autoloads
mule-ucs-autoloads mule-base-autoloads lookup-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads lisp-autoloads
disp-table 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 CANNA file-coding wnn mule
lucid-scrollbars cut-buffer lucid-menubars athena-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 dbm md5 xemacs xim i18n2
gutter tiff png gif jpeg xface xpm xbm lisp-float-type linux dialog
devices window-system base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Loading pending-del...done
Loading pending-del...
Loading font-lock...done
Loading cus-face...done
Loading cus-face...
Loading font-lock...