From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Barrett Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string Date: Fri, 16 Sep 2005 08:56:42 -0400 Message-ID: <17194.49418.964460.824285@spinky.blazemonger.com> References: <17184.13523.891333.897902@spinky.blazemonger.com> <17194.6918.799325.394612@spinky.blazemonger.com> Reply-To: Daniel Barrett NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126877686 18564 80.91.229.2 (16 Sep 2005 13:34:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2005 13:34:46 +0000 (UTC) Cc: Daniel Barrett , bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 15:34:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGGJ7-0003wR-VN for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2005 15:31:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGGJ6-00048G-Sr for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2005 09:31:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGFux-0003BP-NH for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 09:06:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGFty-0002t9-IF for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 09:05:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGFtr-0002Gw-HE for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 09:05:07 -0400 Original-Received: from [63.240.76.22] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGFlr-0000wz-DM for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2005 08:56:51 -0400 Original-Received: from spinky.blazemonger.com (c-24-60-175-62.hsd1.ma.comcast.net[24.60.175.62]) by comcast.net (sccrmhc12) with ESMTP id <2005091612564401200qr6ive>; Fri, 16 Sep 2005 12:56:49 +0000 Original-Received: by spinky.blazemonger.com (Postfix, from userid 500) id 31C63170B; Fri, 16 Sep 2005 08:56:43 -0400 (EDT) Original-To: storm@cua.dk X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-DJB-Valid: Yes X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:13032 Archived-At: In case it helps, here's the output of vm-submit-bug-report. I'll also forward this to Kyle (author of vm). Dan Emacs : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-07-19 on spinky Package: VM 7.19 current state: ============== (setq vm-arrived-message-hook nil vm-arrived-messages-hook nil vm-auto-center-summary nil vm-auto-decode-mime-messages t vm-auto-displayed-mime-content-type-exceptions nil vm-auto-displayed-mime-content-types '("text" "image" "multipart") vm-auto-folder-case-fold-search nil vm-auto-get-new-mail t vm-auto-next-message t vm-berkeley-mail-compatibility nil vm-check-folder-types t vm-circular-folders "neither-t-nor-nil" vm-confirm-new-folders t vm-confirm-quit 0 vm-convert-folder-types t vm-crash-box "~/INBOX.CRASH" vm-crash-box-suffix nil vm-default-From_-folder-type 'From_ vm-default-folder-permission-bits 384 vm-default-folder-type 'From_ vm-delete-after-archiving nil vm-delete-after-bursting nil vm-delete-after-saving t vm-delete-empty-folders t vm-digest-burst-type "guess" vm-digest-identifier-header-format "X-Digest: %s\n" vm-digest-center-preamble t vm-digest-preamble-format "\"%s\" (%F)" vm-digest-send-type "mime" vm-display-buffer-hook nil vm-display-using-mime t vm-edit-message-hook nil vm-edit-message-mode 'text-mode vm-fill-paragraphs-containing-long-lines nil vm-flush-interval t vm-folder-directory "~/.Mail/" vm-folder-read-only nil vm-folders-summary-database "~/.vm.folders.db" vm-folders-summary-directories '("~/") vm-folders-summary-format " %12f %4t total, %n new, %u unread, %s spooled\n" vm-follow-summary-cursor t vm-forward-message-hook nil vm-forwarded-headers nil vm-forwarding-digest-type nil vm-forwarding-subject-format "Fwd: %s" vm-frame-parameter-alist nil vm-frame-per-completion t vm-frame-per-composition nil vm-frame-per-edit nil vm-frame-per-folder nil vm-frame-per-folders-summary nil vm-frame-per-help nil vm-frame-per-summary nil vm-highlight-url-face 'bold-italic vm-highlighted-header-regexp nil vm-honor-mime-content-disposition nil vm-honor-page-delimiters nil vm-icontopbm-program "/usr/bin/icontopbm" vm-image-directory "/usr/local/emacs-dev/share/emacs/22.0.50/etc/vm/" vm-imagemagick-convert-program "/usr/bin/convert" vm-imagemagick-identify-program "/usr/bin/identify" vm-imap-bytes-per-session nil vm-imap-expunge-after-retrieving t vm-imap-max-message-size nil vm-imap-messages-per-session nil vm-imap-session-preauth-hook nil vm-in-reply-to-format nil vm-included-text-attribution-format "On %m %d, %y, %F wrote:\n" vm-included-text-discard-header-regexp nil vm-included-text-headers nil vm-included-text-prefix ">" vm-index-file-suffix nil vm-init-file "~/.vm" vm-infer-mime-types nil vm-invisible-header-regexp nil vm-jump-to-new-messages t vm-jump-to-unread-messages t vm-keep-crash-boxes nil vm-keep-sent-messages 10 vm-lynx-program "lynx" vm-mail-header-from nil vm-mail-header-insert-date t vm-mail-header-insert-message-id t vm-mail-hook nil vm-mail-check-interval nil vm-mail-mode-hook '((lambda nil (local-set-key [f9] (quote vmpc-automorph))) (lambda nil (setq default-directory "~/") (set-fill-column 75)) ) vm-mail-send-hook nil vm-make-crash-box-name nil vm-make-spool-file-name nil vm-mime-7bit-composition-charset "us-ascii" vm-mime-8bit-composition-charset "iso-8859-1" vm-mime-8bit-text-transfer-encoding '8bit vm-mime-alternative-select-method 'best-internal vm-mime-attachment-auto-type-alist '(("\\.jpe?g$" . "image/jpeg") ("\\.gif$" . "image/gif") ("\\.png$" . "image/png") ("\\.tiff?$" . "image/tiff") ("\\.html?$" . "text/html") ("\\.au$" . "audio/basic") ("\\.mpe?g$" . "video/mpeg") ("\\.mov$" . "video/quicktime") ("\\.e?ps$" . "application/postscript") ("\\.pdf$" . "application/pdf") ("\\.xls$" . "application/vnd.ms-excel") ("\\.doc$" . "application/msword") ("\\.ppt$" . "application/vnd.ms-powerpoint") ) vm-mime-attachment-save-directory nil vm-mime-avoid-folding-content-type t vm-mime-base64-decoder-program "/usr/local/bin/base64-decode" vm-mime-base64-decoder-switches nil vm-mime-base64-encoder-program "/usr/local/bin/base64-encode" vm-mime-base64-encoder-switches nil vm-mime-button-face 'gui-button-face vm-mime-button-format-alist '(("text" . "%-35.35(%d, %c%) [%k to %a]") ("multipart/alternative" . "%-35.35(%d%) [%k to %a]") ("multipart/digest" . "%-35.35(%d, %n message%s%) [%k to %a]") ("multipart" . "%-35.35(%d, %n part%s%) [%k to %a]") ("message/partial" . "%-35.35(%d, part %N (of %T)%) [%k to %a]") ("message/external-body" . "%-35.35(%d%) [%k to %a (%x)]") ("message" . "%-35.35(%d%) [%k to %a]") ("audio" . "%-35.35(%d%) [%k to %a]") ("video" . "%-35.35(%d%) [%k to %a]") ("image" . "%-35.35(%d%) [%k to %a]") ("application/octet-stream" . "%-35.35(%d, %f%) [%k to %a]") ) vm-mime-charset-converter-alist nil vm-mime-charset-font-alist nil vm-mime-confirm-delete t vm-mime-decode-for-preview t vm-mime-default-face-charset-exceptions nil vm-mime-default-face-charsets '("Windows-1257" "Windows-1252" "Windows-1251" "iso-8859-1" "us-ascii") vm-mime-delete-after-saving nil vm-mime-delete-viewer-processes t vm-mime-digest-discard-header-regexp nil vm-mime-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:" "Date:" "Message-ID:" "Keywords:" "MIME-Version:" "Content-") vm-mime-display-function nil vm-mime-external-content-types-alist nil vm-mime-forward-local-external-bodies nil vm-mime-ignore-composite-type-opaque-transfer-encoding t vm-mime-ignore-mime-version t vm-mime-ignore-missing-multipart-boundary t vm-mime-internal-content-type-exceptions '("text/html") vm-mime-internal-content-types '("text") vm-mime-max-message-size nil vm-mime-qp-decoder-program "/usr/local/bin/qp-decode" vm-mime-qp-decoder-switches nil vm-mime-qp-encoder-program "/usr/local/bin/qp-encode" vm-mime-qp-encoder-switches nil vm-mime-require-mime-version-header t vm-mime-type-converter-alist nil vm-mime-use-image-strips t vm-mime-use-w3-for-text/html t vm-mime-uuencode-decoder-program "uudecode" vm-mime-uuencode-decoder-switches nil vm-mode-hook '((lambda nil (setq make-backup-files t) (local-set-key "S" (quote vm-save-and-expunge-folder)) (local-set-key "C" (quote vm-razor-spam-check)) (local-set-key "R" (quote vm-razor-spam-report)) (local-set-key "S" (quote spamassassin-learn-and-delete-spam)) (local-unset-key "A")) ) vm-mode-hooks nil vm-mosaic-program "Mosaic" vm-mosaic-program-switches nil vm-move-after-deleting nil vm-move-after-undeleting nil vm-move-after-killing nil vm-move-messages-physically nil vm-movemail-program "movemail" vm-mutable-frames t vm-mutable-windows t vm-netscape-program "firefox" vm-netscape-program-switches nil vm-page-continuation-glyph "...press SPACE to see more..." vm-paragraph-fill-column 70 vm-pop-bytes-per-session nil vm-pop-expunge-after-retrieving t vm-pop-max-message-size nil vm-pop-messages-per-session nil vm-pop-md5-program "md5" vm-popup-menu-on-mouse-3 t vm-preferences-file "~/.vm.preferences" vm-preview-lines 0 vm-preview-read-messages t vm-primary-inbox "~/.Mail/inbox" vm-quit-hook nil vm-recognize-imap-maildrops "^\\(imap\\|imap-ssl\\|imap-ssh\\):[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:.+" vm-recognize-pop-maildrops "^\\(pop:\\|pop-ssl:\\|pop-ssh:\\)?[^:]+:[^:]+:[^:]+:[^:]+:.+" vm-reply-hook nil vm-reply-ignored-reply-tos nil vm-reply-subject-prefix "Re: " vm-resend-bounced-discard-header-regexp nil vm-resend-bounced-headers '("MIME-Version:" "Content-" "From:" "Sender:" "Reply-To:" "To:" "Cc:" "Subject:" "Newsgroups:" "In-Reply-To:" "References:" "Keywords:" "X-") vm-resend-bounced-message-hook nil vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)" vm-resend-headers nil vm-resend-message-hook nil vm-retrieved-spooled-mail-hook nil vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:" vm-rfc1153-digest-headers '("Resent-" "Date:" "From:" "Sender:" "To:" "Cc:" "Subject:" "Message-ID:" "Keywords:") vm-rfc934-digest-discard-header-regexp nil vm-rfc934-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:" "Date:" "Message-ID:" "Keywords:") vm-search-using-regexps nil vm-select-message-hook nil vm-select-new-message-hook nil vm-select-unread-message-hook nil vm-send-digest-hook nil vm-send-using-mime t vm-skip-deleted-messages 'yowza vm-skip-read-messages 'yowza vm-spool-file-suffixes nil vm-spooled-mail-waiting-hook nil vm-ssh-program "ssh" vm-ssh-program-switches nil vm-ssh-remote-command "echo ready; sleep 15" vm-startup-with-summary t vm-strip-reply-headers t vm-stunnel-program "stunnel" vm-stunnel-program-switches nil vm-stunnel-random-data-method 'generate vm-subject-significant-chars nil vm-summary-format "%n %*%a %-17.17F %-3.3m %2d %4l/%-5c %I\"%s\"\n" vm-summary-highlight-face 'bold vm-summary-mode-hook nil vm-summary-mode-hooks nil vm-summary-redo-hook nil vm-summary-show-threads nil vm-summary-thread-indent-level 2 vm-summary-uninteresting-senders nil vm-summary-uninteresting-senders-arrow "To: " vm-tale-is-an-idiot nil vm-temp-file-directory "/tmp" vm-thread-using-subject t vm-toolbar-pixmap-directory "/usr/local/lib/emacs/etc/vm" vm-trust-From_-with-Content-Length nil vm-uncompface-program nil vm-undisplay-buffer-hook nil vm-unforwarded-header-regexp "only-drop-this-header" vm-url-browser 'vm-mouse-send-url-to-netscape-new-window vm-url-browser-switches nil vm-url-retrieval-methods '(lynx wget fetch curl w3m) vm-url-search-limit 12000 vm-use-menus '(folder motion send mark label sort virtual undo dispose emacs nil help) vm-use-toolbar '(next previous delete/undelete autofile file reply compose print visit quit nil help) vm-virtual-folder-alist nil vm-virtual-mirror t vm-visible-headers '("Resent-" "From:" "Sender:" "To:" "Apparently-To:" "Cc:" "Subject:" "Date:") vm-visit-folder-hook nil vm-visit-when-saving 0 vm-warp-mouse-to-new-frame nil vm-wget-program "wget" vm-window-configuration-file "~/.vm.windows" features '(reporter emacsbug vm-digest mailalias sendmail mail-utils vm-virtual vm-sort vm-mark vm-minibuf vm-macro vm-delete vm-undo vm-page vm-mime vm-save vm-toolbar vm-summary tapestry vm-motion vm-message vm-folder vm-misc vm-easymenu vm-menu vm-mouse vm-window vm-pcrisis vm-reply advice help-fns help-mode view button advice-preload vm-autoload vm-vars vm-startup vm-version vm jit-lock font-lock syntax latin-1 crypt crypt++ crypt+pgp-pub mailcrypt rfc822 comint ring easymenu image tool-bar disp-table mwheel x-dnd dnd fontset tooltip ediff-hook jka-cmpr-hook vc-hooks lisp-float-type lisp-mode register page menu-bar timer select scroll-bar mldrag mouse facemenu font-core frame ucs-tables georgian utf-8-lang misc-lang vietnamese tibetan thai lao korean japanese hebrew greek romanian slovak czech european ethiopic kannada tamil malayalam devanagari indian cyrillic chinese case-table help simple faces cus-face text-properties overlay md5 base64 format mule env custom widget backquote make-network-process x-toolkit) ) On September 16, 2005, Kim F. Storm wrote: >I took a quick look at VM, and found this: > >> ;;(provide 'vm-byteopts) >> >> ;; get the compiler loaded so we can undo some of the things that >> ;; happen when it's loaded. >> (load "bytecomp" t t nil) >> ;; Emacs 19 byte compiler complains about too much stuff by default. >> ;; Turn off most of the warnings here. >> (setq byte-compile-warnings '(free-vars)) >> ;; need to use these variables for v18 support. >> ;; stifle the compiler. >> (put 'inhibit-local-variables 'byte-obsolete-variable nil) >> ;; Turn off dynamic docstrings and lazy function loading. This >> ;; is a new feature of FSF Emacs 19.29, and is incompatible >> ;; with pre-19.29 versions of FSF Emacs and all version of Lucid >> ;; Emacs / XEmacs. I like being able to share .elc files between >> ;; different v19 Emacses. >> (setq byte-compile-dynamic nil) >> (setq byte-compile-dynamic-docstrings nil) >> ;; avoid v20 features because users are going >> ;; to try to share elc files no matter what we tell them. >> (setq byte-compile-emacs19-compatibility t) >> >> (provide 'vm-byteopts) > > >I wonder if some of these settings may trigger some unusual >byte-code pattern which we don't normally see in emacs 22.x ??? > > >Daniel Barrett writes: > >> On September 8, 2005, Kim F. Storm wrote: >>>Daniel Barrett writes: >>>> On September 8, 2005, Kim F. Storm wrote: >>>>>Can you provide an "xbacktrace" and "bt full" backtrace. >> >> (gdb) xbacktrace >> "vm-left-justify-string" >> "vm-reencode-mime-encoded-words-in-string" >> "format" >> "list" >> "eval" >> "vm-summary-sprintf" >> "vm-su-summary" >> "vm-stuff-attributes" >> "vm-stuff-virtual-attributes" >> "vm-set-xxxx-flag" >> "vm-set-new-flag" >> "vm-show-current-message" >> "vm-scroll-forward" >> "call-interactively" >> >> (gdb) bt full >> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880 >> string = Variable "string" is not available. >> >>>Please use M-x report-emacs-bug to include proper information >>>about your emacs version and environment, including additional >>>information about the crash (as instructed). >> >> In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) >> of 2005-07-19 on spinky >> X server distributor `The XFree86 Project, Inc', version 11.0.40399902 >> configured using `configure '--prefix' '/usr/local/emacs-dev'' >> >> Important settings: >> value of $LC_ALL: nil >> value of $LC_COLLATE: C >> value of $LC_CTYPE: nil >> value of $LC_MESSAGES: nil >> value of $LC_MONETARY: nil >> value of $LC_NUMERIC: nil >> value of $LC_TIME: nil >> value of $LANG: en_US.UTF-8 >> locale-coding-system: utf-8 >> default-enable-multibyte-characters: nil >> >> Major mode: VM Summary >> >> Minor modes in effect: >> mouse-wheel-mode: t >> tooltip-mode: t >> auto-compression-mode: t >> global-font-lock-mode: t >> blink-cursor-mode: t >> unify-8859-on-encoding-mode: t >> utf-translate-cjk-mode: t >> line-number-mode: t >> next-error-follow-minor-mode: Fol >> >> Recent input: >> [irrelevant -- run much later than the bug occurrence] >> >> Recent messages: >> Reordering messages... done >> 48 messages, 0 new, 0 unread, 0 deleted >> Generating summary... 40 >> Generating summary markers... >> Generating summary... done >> 48 messages, 0 new, 0 unread, 0 deleted >> Checking for new mail for /home/dbarrett/.Mail/emacs... >> 48 messages, 0 new, 0 unread, 0 deleted >> Mark set >> Loading emacsbug...done >> >> > >-- >Kim F. Storm http://www.cua.dk