all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* image in email causes emacs crash (SEGV/hang)
@ 2004-05-18  8:58 Ronan Waide
  2004-05-18 15:36 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Ronan Waide @ 2004-05-18  8:58 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Hi,

the email message at http://www.waider.ie/misc/EMACSCRASHINATOR when
viewed in VM with the appended settings causes one of two fatal Emacs
events: a SEGV somewhere deep within X Image handling, or a hang. It
decodes the first two strips of the image and displays them before
this happens. I'm sending this to both VM and Emacs bug report
addresses as VM should possibly be aware of it but Emacs should not be
crashing, either.

Cheers,
Waider.

Emacs Bug Report Info:
======================
In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-02-20 on porky.devel.redhat.com
configured using `configure  --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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_IE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

(none of the "recent..." stuff is appropriate as it's not possible to
 submit a bug report with emacs when the problem occurs)

VM Bug Report Info:
===================
Emacs  : GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-02-20 on porky.devel.redhat.com
Package: VM 7.18

current state:
==============
(setq
 vm-arrived-message-hook nil
 vm-arrived-messages-hook nil
 vm-auto-center-summary 0
 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 t
 vm-auto-get-new-mail nil
 vm-auto-next-message t
 vm-berkeley-mail-compatibility nil
 vm-check-folder-types t
 vm-circular-folders t
 vm-confirm-new-folders nil
 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 90
 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 '(vm-multdom-forward-set-recipient-address
                           insert-random-sig)
 vm-forwarded-headers '("From:" "To:" "Cc:" "Subject:" "Date")
 vm-forwarding-digest-type "mime"
 vm-forwarding-subject-format "FW: %s"
 vm-frame-parameter-alist nil
 vm-frame-per-completion nil
 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 'url-highlight-face
 vm-highlighted-header-regexp nil
 vm-honor-mime-content-disposition t
 vm-honor-page-delimiters t
 vm-icontopbm-program "/usr/bin/icontopbm"
 vm-image-directory "/home/waider/src/emacs/vm/pixmaps"
 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 "%i"
 vm-included-text-attribution-format "On %m %d, %f said:\n"
 vm-included-text-discard-header-regexp nil
 vm-included-text-headers nil
 vm-included-text-prefix "> "
 vm-index-file-suffix ".idx"
 vm-init-file "~/.vm"
 vm-infer-mime-types t
 vm-invisible-header-regexp nil
 vm-jump-to-new-messages t
 vm-jump-to-unread-messages t
 vm-keep-crash-boxes t
 vm-keep-sent-messages nil
 vm-lynx-program "lynx"
 vm-mail-header-from "Ronan Waide <waider@waider.ie>"
 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 '(vm-hide-references-hook mc-install-write-mode)
 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 'quoted-printable
 vm-mime-alternative-select-method 'best-internal
 vm-mime-attachment-auto-type-alist '(("\\.html?$" . "text/html")
                                      ("\\.pcx$" . "image/pcx")
                                      ("\\.gif$" . "image/gif")
                                      ("\\.jpe?g$" . "image/jpeg")
                                      ("\\.url$"
                                       . "application/x-url")
                                      ("\\.doc$"
                                       . "application/msword")
                                      ("\\.wav$" . "audio/wav")
                                      ("\\.pdf$" . "application/pdf")
                                      ("\\.pps$" .
                                       "application/vnd.ms-powerpoint")
                                      )
 vm-mime-attachment-save-directory "~/tmp/"
 vm-mime-avoid-folding-content-type t
 vm-mime-base64-decoder-program "/home/waider/bin/base64-decode"
 vm-mime-base64-decoder-switches nil
 vm-mime-base64-encoder-program "/home/waider/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 '("X-UNKNOWN" "windows-1252" "iso-8859-15")
 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 '(("application/msword"
                                         "/home/waider/crossover/bin/wordview.sh")
                                        ("application/rtf"
                                         "/home/waider/crossover/bin/wordview.sh")
                                        ("application/vnd.ms-powerpoint"
                                         "/home/waider/crossover/bin/powerpointview.sh")
                                        ("image" "display")
                                        ("audio" "artsplay")
                                        ("application/pdf" "xpdf"
                                         "-remote"
                                         "waidersrv")
                                        ("application/mac-binhex40"
                                         "(cd tmp; hexbin -a %f)")
                                        )
 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 t
 vm-mime-max-message-size nil
 vm-mime-qp-decoder-program "/home/waider/bin/qp-decode"
 vm-mime-qp-decoder-switches nil
 vm-mime-qp-encoder-program "/home/waider/bin/qp-encode"
 vm-mime-qp-encoder-switches nil
 vm-mime-require-mime-version-header nil
 vm-mime-type-converter-alist '(("application/x-url" "text/plain"
                                 "fetchurl")
                                ("text/html" "text/plain" "dumphtml")
                                ("application/msword" "text/plain"
                                 "catdoc")
                                ("application/ms-tnef" "text/plain"
                                 "tnef")
                                ("application/mac-binhex40"
                                 "text/plain"
                                 "hexbin -s")
                                )
 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 '(mc-install-read-mode)
 vm-mode-hooks nil
 vm-mosaic-program "Mosaic"
 vm-mosaic-program-switches nil
 vm-move-after-deleting t
 vm-move-after-undeleting t
 vm-move-after-killing t
 vm-move-messages-physically nil
 vm-movemail-program "movemail"
 vm-mutable-frames t
 vm-mutable-windows t
 vm-netscape-program "mozilla"
 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 nil
 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 nil
 vm-preview-read-messages t
 vm-primary-inbox "~/Mail/mbox"
 vm-quit-hook '(maybe-save-buffers)
 vm-recognize-imap-maildrops "^\\(imap\\|imap-ssl\\|imap-ssh\\):[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:.+"
 vm-recognize-pop-maildrops "^\\(pop:\\|pop-ssl:\\|pop-ssh:\\)?[^:]+:[^:]+:[^:]+:[^:]+:.+"
 vm-reply-hook '(vm-multdom-reply-set-recipient-address insert-random-sig)
 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 '(bbdb/vm-pop-up-bbdb-buffer)
 vm-select-new-message-hook '(maybe-mc-verify)
 vm-select-unread-message-hook nil
 vm-send-digest-hook nil
 vm-send-using-mime t
 vm-skip-deleted-messages t
 vm-skip-read-messages nil
 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 nil
 vm-stunnel-program "/usr/sbin/stunnel"
 vm-stunnel-program-switches nil
 vm-stunnel-random-data-method 'generate
 vm-subject-significant-chars nil
 vm-summary-format "%n %*%a %-17.17UB %-3.3m %2d %4l/%-5c %I\"%s\"\n"
 vm-summary-highlight-face 'bold
 vm-summary-mode-hook '(mc-install-read-mode)
 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 "waider@\\|ronan.waide@"
 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 "/home/waider/src/emacs/vm/pixmaps"
 vm-trust-From_-with-Content-Length nil
 vm-uncompface-program nil
 vm-undisplay-buffer-hook nil
 vm-unforwarded-header-regexp nil
 vm-url-browser 'vm-mouse-send-url-to-netscape-tab
 vm-url-browser-switches nil
 vm-url-retrieval-methods '(lynx wget fetch curl w3m)
 vm-url-search-limit 65536
 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 '(newcomment reporter view vm-delete vm-crypto vm-minibuf
            vm-imap
            vm-undo bbdb-hooks vm-page vm-mime vm-save vm-toolbar
            vm-summary
            tapestry vm-motion vm-folder vm-misc vm-easymenu vm-menu
            vm-mouse
            vm-window vm-complain vm-reply vm-multdom fmailutils
            vm-message
            vm-hacks ccl codepage bbdb-vm bbdb-snarf mail-extr
            bbdb-com
            mailabbrev vm-autoload vm-vars vm-startup vm-version vm
            eldoc
            jit-lock font-lock regexp-opt time-stamp edict-autoloads
            ljupdate
            thingatpt sendmail linkfarm-mode gronk diary-helper
            diary-lib
            filladapt time mailcrypt rfc822 comint ring sort calendar
            cal-menu
            easymenu bbdb-autoloads bbdb timezone gnuserv-compat
            gnuserv
            devices advice advice-preload cl cl-19 tooltip image
            tool-bar
            fontset ediff-hook vc-hooks lisp-float-type lisp-mode page
            menu-bar timer select scroll-bar mldrag mouse facemenu
            faces
            cus-face frame misc-lang vietnamese tibetan thai lao
            korean
            japanese hebrew greek romanian slovak czech european
            ethiopic
            devanagari indian cyrillic chinese case-table help overlay
            md5
            base64 format mule env backquote custom widget x-toolkit)
 )
-- 
waider@waider.ie / Yes, it /is/ very personal of me.

"Oh, you're always quotable.  Not often quotable in polite company, but when do
 I mix with polite company?" - Lockhart Horsburgh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: image in email causes emacs crash (SEGV/hang)
  2004-05-18  8:58 image in email causes emacs crash (SEGV/hang) Ronan Waide
@ 2004-05-18 15:36 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-05-18 15:36 UTC (permalink / raw)


Ronan Waide wrote:
 > the email message at http://www.waider.ie/misc/EMACSCRASHINATOR when
 > viewed in VM with the appended settings causes one of two fatal Emacs
 > events: a SEGV somewhere deep within X Image handling, or a hang. It
 > decodes the first two strips of the image and displays them before
 > this happens.

What happens if you set vm-mime-display-image-strips-incrementally to
nil?

What happens if you set vm-mime-use-image-strips to nil?

 > I'm sending this to both VM and Emacs bug report
 > addresses as VM should possibly be aware of it but Emacs should not be
 > crashing, either.

I didn't see your report on gnu.emacs.vm.bug, but I'm posting this there
(and sending to bug-gnu-emacs@gnu.org).

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-18 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18  8:58 image in email causes emacs crash (SEGV/hang) Ronan Waide
2004-05-18 15:36 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.