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!
The basic problem:
o I fire up XEmacs
o I M-x vm-visit-folder ~/Mail/DONE
* crash
The lisp backtrace is:
looking-at("^\\([^ \n:]+[ ]*:\\) *\\(.*\\(\n[ ].*\\)*\n\\)")
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (hend p e real-end too-big hack-sig end start)
highlight-headers(18768277 18987167 t)
# bind (highlight-headers-mark-urls highlight-headers-regexp)
vm-highlight-headers()
# (unwind-protect ...)
vm-highlight-headers-maybe()
# (unwind-protect ...)
# bind (vm-sbe-buffer just-passing-through)
vm-preview-current-message()
# bind (vm-auto-decode-mime-messages full-startup did-read-index-file folder-buffer first-time totals-blurb folder-name remote-spec preserve-auto-save-file)
byte-code("..." [totals-blurb preserve-auto-save-file file full-startup folder buffer-file-coding-system bufferp nil pop vm-pop-find-spec-for-name error "No such POP folder: %s" vm-pop-make-filename-for-spec expand-file-name file-directory-p "%s is a directory" vm-get-file-buffer t no-conversion raw-text message "Reading %s..." find-file-noselect "Reading %s... done" buffer-name rename-buffer set-buffer-multibyte get-coding-system no-conversion-unix no-conversion-dos no-conversion-mac binary buffer-modified-p ((set-buffer-modified-p omodified)) encode-coding-region set-buffer-file-coding-system decode-coding-region coding-system-base raw-text-unix raw-text-mac raw-text-dos ((set-buffer-modified-p omodified)) vm-check-for-killed-summary vm-check-for-killed-presentation 0 vm-mode file-newer-than-file-p make-auto-save-file-name default-value vm-folder-read-only buffer-disable-undo abbrev-mode auto-fill-mode vm-fsfemacs-nonmule-display-8bit-chars vm-mode-internal vm-set-folder-pop-maildrop-spec vm-read-index-file-maybe vm-assimilate-new-messages vm-gobble-visible-header-variables vm-gobble-bookmark vm-gobble-pop-retrieved vm-gobble-imap-retrieved vm-gobble-summary vm-gobble-labels first-time remote-spec buffer-file-name this-command folder-name did-read-index-file access-method vm-folder-directory vm-folder-history vm-fsfemacs-mule-p buffer-read-only vm-summary-buffer folder-buffer vm-primary-inbox default-directory vm-xemacs-mule-p vm-xemacs-file-coding-p item omodified vm-presentation-buffer buffer-to-display vm-raise-frame-at-startup vm-auto-decode-mime-messages coding-system-for-read default-enable-multibyte-characters enable-local-eval enable-local-variables inhibit-local-variables enable-multibyte-characters vm-messages-not-on-disk major-mode read-only vm-totals vm-use-menus vm-mutable-frames vm-frame-per-summary vm-mutable-windows vm-message-list vm-auto-get-new-mail vm-block-new-mail vm-startup-message-displayed vm-start-itimers-if-needed apply vm-goto-new-folder-frame-maybe (folder) (primary-folder folder)
vm-display vm startup vm-raise-frame vm-emit-totals-blurb vm-store-folder-totals vm-thoughtfully-select-message vm-update-summary-and-mode-line vm-toolbar-install-or-uninstall-toolbar vm-menu-support-possible-p vm-menu-install-visited-folders-menu vm-should-generate-summary vm-summarize switch-to-buffer vm-preview-current-message run-hooks vm-visit-folder-hook substitute-command-keys "Auto save file is newer; consider \\[recover-file]. FOLDER IS READ ONLY." throw done "Checking for new mail for %s..." vm-get-spooled-mail vm-display-startup-message input-pending-p] 9)
# (catch done ...)
# bind (access-method read-only folder)
vm("/home/itflanix/Mail/DONE" nil nil)
# bind (access-method foo read-only folder)
#<compiled-function (folder &optional read-only) "...(71)" [default-directory vm-recognize-pop-maildrops access-method foo vm-mail-buffer folder vm-session-initialization vm-check-for-killed-folder bufferp buffer-name vm-check-for-killed-summary nil string-match vm-pop-find-name-for-spec pop expand-file-name vm vm-last-visit-folder vm-folder-directory read-only] 4 "Visit a mail file.\nVM will parse and present its messages to you in the usual way.\n\nFirst arg FOLDER specifies the mail file to visit. When this\ncommand is called interactively the file name is read from the\nminibuffer.\n\nPrefix arg or optional second arg READ-ONLY non-nil indicates\nthat the folder should be considered read only. No attribute\nchanges, messages additions or deletions will be allowed in the\nvisited folder." (save-excursion (vm-session-initialization) (vm-check-for-killed-folder) (vm-select-folder-buffer-if-possible) (let ... ...))>("~/Mail/DONE" nil)
call-interactively(vm-visit-folder)
command-execute(vm-visit-folder t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
This also happens when visiting some files that could have a lot of
syntax highlighting happen.
The backtrace for that is:
re-search-forward("\\(<!--\\([^-]\\|-[^-]\\|--[^>]\\)*-->\\)" 6723 t)
# bind (highlights matcher keyword nkeywords iter old-progress progress bufname keywords case-fold-search loudly loudvar end start)
font-lock-fontify-keywords-region(1 6723 nil)
# (unwind-protect ...)
# bind (modified buffer-undo-list inhibit-read-only old-syntax-table buffer-file-name buffer-file-truename loudly end beg)
font-lock-default-fontify-region(1 6723 nil)
# bind (loudly end beg)
font-lock-fontify-region(1 6723)
# (unwind-protect ...)
byte-code("..." [font-lock-fontify-region] 3)
# (condition-case ... . ((t (byte-code "Á" ... 2))))
# bind (was-on font-lock-verbose font-lock-message-threshold aborted)
# (unwind-protect ...)
font-lock-default-fontify-buffer()
# bind (font-lock-verbose)
font-lock-fontify-buffer()
# bind (on-p maximum-size arg)
font-lock-mode(1)
turn-on-font-lock()
# bind (explicit-defaults)
font-lock-set-defaults()
run-hooks(font-lock-set-defaults)
# bind (nomodes after-find-file-from-revert-buffer noauto warn error)
after-find-file(nil t)
byte-code("..." [buffer-file-number number truename buffer-file-truename buf buffer-file-name set-buffer-major-mode erase-buffer nil (byte-code «Â Ã\"ª
ÄÃ\"Â" [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 "!Ã @ A\"" ... 3))))
# (unwind-protect ...)
# bind (error number truename buf rawfile nowarn filename)
find-file-noselect("/texthome/itflanix/Work/scratch/monkey/Source/ClientApps/HTMLApps/Archetypes/ColumnArchetypeTextbox.htm")
# bind (codesys filename)
find-file("/texthome/itflanix/Work/scratch/monkey/Source/ClientApps/HTMLApps/Archetypes/ColumnArchetypeTextbox.htm" nil)
# bind (command-debug-status)
call-interactively(find-file)
# (condition-case ... . error)
# (catch top-level ...)
This has been happening for a while in cygwin-based XEmacs versions.
My linux version does not seem to have this problem.
I built a copy so that I could run it in the debugger and it appears
that the stack is getting corrupted somewhere along the way. For the
VM mailbox crash, the arguments to looking_at_1 appear to be correct,
but the arguments to re_match_2 seem a bit weird:
looking_at_1(regexp = 270034580,
decode_buffer(buffer = 548864, 0) = 0x103eaa00,
0)
re_match_2(bufp = 0x86000,
string1 = "" (0x86000),
size1 = 548864,
string2 = "" (0x86000),
size2 = 548864,
pos = 4,
regs = 0x86000,
stop = 548864)
Note that 0x86000 == 548864.
I would be happy to provide more information if someone would like get
to the bottom of this. For me it's a pretty important bug to fix. :-)
Thanks,
Ian Flanigan
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: CYGWIN_NT-5.0 TSUNAMI 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
./configure '--with-dragndrop' '--with-postgresql=no' '--with-x=no' '--bindir=/usr/local/bin/i686-pc-cygwin' '--with-site-lisp=yes' '--with-ipv6-cname=no' '--with-netinstall'
XEmacs 21.4.10 "Military Intelligence (RC2 Windows)" configured for `i686-pc-cygwin'.
Compilation / Installation:
Source code location: /development/xemacs/xemacs-21.4-release
Installation prefix: /usr/local
Operating system description file: `s/cygwin32.h'
Machine description file: `m/intel386.h'
Compiler: gcc -I/usr/lib/../include/noX -I/usr/lib/../include/noX -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: no
GNU version of malloc: yes
Window System:
Compiling in support for the Microsoft window system.
Using MS-Windows menubars.
Using MS-Windows scrollbars.
Using MS-Windows dialog boxes.
Using MS-Windows native widgets.
Compiling in support for Drag'n'Drop (EXPERIMENTAL).
- Drag'n'Drop prototype: msw.
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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Internationalization:
Compiling in support for file coding.
Mail:
Compiling in support for POP mail retrieval.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs/xemacs-packages/lisp/ecrypto/md5
/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/md5
/home/itflanix/.xemacs/custom
/usr/local/lib/xemacs-21.4.10/lisp/custom)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.1 :type regular)
(xslide :version 1.03 :type regular)
(xemacs-devel :version 1.48 :type single-file)
(xemacs-base :version 1.68 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tramp :version 1.08 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.52 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.24 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.03 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.09 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.14 :type regular)
(scheme :version 1.11 :type regular)
(sasl :version 1.12 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.33 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.65
: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)
(ocaml :version 0.03 :type regular)
(net-utils :version 1.28 :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.15 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.49 :type regular)
(liece :version 1.07 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.28 :type regular)
(igrep :version 1.09 :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.03 :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.03 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.93 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(ecrypto :version 0.11 :type regular)
(docbookide :version 0.05 :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.3 :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.07 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular))
Features:
--------
(mail-abbrevs mailcrypt xemacsbug shadow sendmail rfc822 paren
blink-paren avoid pending-del gnuserv crypt crypt++ env tramp advice
advice-preload shell comint ring format-spec timer filladapt mmm-mode
mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat
overlay regexp-opt font-lock cus-face 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 rmail-autoloads reftex-autoloads psgml-dtds-autoloads
psgml-autoloads ps-print-autoloads prog-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 games-autoloads fsf-compat-autoloads
frame-icon-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 edebug-autoloads
ecrypto-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
lisp-autoloads loadhist auto-show fontl-hooks code-cmds gutter-items
menubar-items x-menubar dragdrop mode-motion mouse itimer auto-save
lisp-mode easymenu iso8859-1 page buff-menu lib-complete help-nomule
cus-file derived frame text-props obsolete cus-start custom widget
cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
file-coding mswindows-scrollbars mswindows tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar dbm md5 xemacs
gutter tiff png gif jpeg xface xpm xbm lisp-float-type cygwin32
dragdrop-api dialog devices window-system base64)
Recent keystrokes:
-----------------
ESC x r e p o r TAB x e m TAB RET
Recent messages (most recent first):
-----------------------------------
Loading mailcrypt...
Loading xemacsbug...done
Loading xemacsbug...
Paren mode is paren
Loading paren...done
Loading paren...
Loading avoid...done
Loading avoid...
Loading pending-del...done
Loading pending-del...
Loading gnuserv...done
Loading gnuserv...
Loading env...done
Loading env...
Loading cus-face...done
Loading cus-face...