Andy Piper writes:
I'm going to upload another RC with REGEX_MALLOC defined. Look
for
rc3 at a mirror site near you.
I tried it out on the file that was crashing rc2 and it seems to work
fine. However, it still crashes when I use VM:
/usr/local/bin/i686-pc-cygwin/xemacs
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/local/bin/i686-pc-cygwin/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:
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 ...)
Segmentation fault
The C backtrace is:
#0 0x005364b3 in probe ()
#1 0x00000002 in ?? ()
#2 0x0050b2a9 in re_match_2 ()
#3 0x0050b854 in looking_at_1 ()
#4 0x0050f5ab in Flooking_at ()
#5 0x0043a60c in Ffuncall ()
#6 0x0040f7db in execute_optimized_program ()
#7 0x0040f223 in funcall_compiled_function ()
#8 0x0043a7b3 in Ffuncall ()
#9 0x0040f7db in execute_optimized_program ()
#10 0x0040f223 in funcall_compiled_function ()
#11 0x0043a7b3 in Ffuncall ()
#12 0x0040f7db in execute_optimized_program ()
#13 0x0040f223 in funcall_compiled_function ()
#14 0x0043a7b3 in Ffuncall ()
#15 0x0040f7db in execute_optimized_program ()
#16 0x0040f223 in funcall_compiled_function ()
#17 0x0043a7b3 in Ffuncall ()
#18 0x0040f7db in execute_optimized_program ()
#19 0x0041235a in Fbyte_code ()
#20 0x00439c85 in Feval ()
#21 0x00440388 in internal_catch ()
#22 0x00410205 in execute_rare_opcode ()
#23 0x0040f66b in execute_optimized_program ()
#24 0x0040f223 in funcall_compiled_function ()
#25 0x0043a7b3 in Ffuncall ()
#26 0x0040f7db in execute_optimized_program ()
#27 0x0040f223 in funcall_compiled_function ()
#28 0x0043a7b3 in Ffuncall ()
#29 0x0043b0c6 in Fapply ()
#30 0x0043f904 in apply1 ()
#31 0x00412fdc in Fcall_interactively ()
#32 0x00439197 in Fcommand_execute ()
#33 0x0043a624 in Ffuncall ()
#34 0x0040f7db in execute_optimized_program ()
#35 0x0040f223 in funcall_compiled_function ()
#36 0x0043a7b3 in Ffuncall ()
#37 0x004147dc in Fcall_interactively ()
#38 0x00439197 in Fcommand_execute ()
#39 0x00482221 in execute_command_event ()
#40 0x00482b69 in Fdispatch_event ()
#41 0x00419452 in Fcommand_loop_1 ()
#42 0x0041979d in command_loop_1 ()
#43 0x004404d7 in condition_case_1 ()
#44 0x00419913 in command_loop_2 ()
#45 0x00440388 in internal_catch ()
#46 0x0041917a in initial_command_loop ()
#47 0x0043272e in xemacs_21_4_10_i686_pc_cygwin ()
#48 0x00435b0d in main ()
#49 0x61005b8e in _bss_end__ ()
#50 0x61005e2c in _bss_end__ ()
#51 0x00536522 in cygwin_crt0 ()
#52 0x0040103c in mainCRTStartup ()
#53 0x77ea847e in _bss_end__ ()
All of that looks about the same as before.