From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Avrutin Newsgroups: gmane.emacs.bugs Subject: bug#13867: 24.3.50; reading certain emails containing images in mu4e causes segfault Date: Mon, 04 Mar 2013 11:40:55 -0500 Message-ID: <87hakri0dk.fsf@gateway.local.navru.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362415326 30102 80.91.229.3 (4 Mar 2013 16:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Mar 2013 16:42:06 +0000 (UTC) To: 13867@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 04 17:42:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UCYT0-0003nu-Fj for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2013 17:42:22 +0100 Original-Received: from localhost ([::1]:33451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYSf-0001EZ-1m for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2013 11:42:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYSX-0001EA-9z for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:41:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCYSR-0007q3-Oc for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:41:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYSR-0007pY-KQ for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:41:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UCYSg-00016v-Gj for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Avrutin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Mar 2013 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13624153114250 (code B ref -1); Mon, 04 Mar 2013 16:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2013 16:41:51 +0000 Original-Received: from localhost ([127.0.0.1]:58911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCYSQ-00016R-Mx for submit@debbugs.gnu.org; Mon, 04 Mar 2013 11:41:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45615) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCYSI-000163-U3 for submit@debbugs.gnu.org; Mon, 04 Mar 2013 11:41:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCYRt-0007gN-6r for submit@debbugs.gnu.org; Mon, 04 Mar 2013 11:41:18 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:43015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYRt-0007gC-1b for submit@debbugs.gnu.org; Mon, 04 Mar 2013 11:41:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYRn-0001BN-4l for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:41:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCYRf-0007bg-Rf for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:41:07 -0500 Original-Received: from mail-qe0-f51.google.com ([209.85.128.51]:43193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCYRe-0007bK-TV for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 11:40:59 -0500 Original-Received: by mail-qe0-f51.google.com with SMTP id nd7so4042281qeb.10 for ; Mon, 04 Mar 2013 08:40:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=3eEpEo1aUkWrgpk7T9PBrci9KGD7j5SsRnUoKWX4+kM=; b=pC3RYn0BkX64NETTkkqpqqoixcdofNcuktnRwXnE68zHvOvKisgG2h99O8bwvfU9pN H0KwdGPSip2Q+Ed7ZIqsEZG31IL7F9u1y9aSe//J3fR276eqWhQaNVKSp1Fji6Fwz+Ds 6//ifY2QEcKUsYycYn2zQ2l+PBq8wM4cMcGc0lKq1HZ5t7+7lsd+ZtPDALLTAGhJja9e ZzPAhM5ifhU4p3JjO1YOdQQYadXjXLD2mUBsngGhR8VghENo49ze9v41iCNfdKueJAIn TGaP1mpj9lcacwvWkXQRhyuvU2V17oV0XukSwT8R3fpPT0hN1ZHje11RnA9gmEHC9Qhl zHog== X-Received: by 10.224.184.130 with SMTP id ck2mr34677390qab.41.1362415257915; Mon, 04 Mar 2013 08:40:57 -0800 (PST) Original-Received: from gateway.local.navru.net ([2001:470:1f07:7d5::109]) by mx.google.com with ESMTPS id c16sm36290553qey.4.2013.03.04.08.40.56 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 08:40:57 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72081 Archived-At: Reading certain emails with mu4e (https://github.com/djcb/mu/tree/master/mu4e) causes emacs to segfault. Steps to reproduce: emacs -Q (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e/") (load-file "~/.emacs.d/conf/mu4e-conf.el") M-x mu4e ji RET ; ji to view inbox, select the right message, then RET to open it Relevant lines from mu4e-conf.el: ;; enable inline images (setq mu4e-view-show-images t) ;; use imagemagick, if available (when (fboundp 'imagemagick-register-types) (imagemagick-register-types)) Setting mu4e-view-show-images to nil causes the the segfault to not occur. Backtrace: (gdb) run -Q Starting program: /usr/bin/emacs -Q warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in import gdb.backtrace ImportError: No module named backtrace [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe6dea700 (LWP 8465)] [New Thread 0x7fffe63de700 (LWP 8466)] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff3f45791 in AcquireQuantumInfo () from /usr/lib/libMagickCore-Q16.so.7 (gdb) bt full #0 0x00007ffff3f45791 in AcquireQuantumInfo () from /usr/lib/libMagickCore-Q16.so.7 No symbol table info available. #1 0x00007fffcfac980f in ?? () from /usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so No symbol table info available. #2 0x00007fffcfaca630 in ?? () from /usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so No symbol table info available. #3 0x00007ffff3e7b3c0 in ReadImage () from /usr/lib/libMagickCore-Q16.so.7 No symbol table info available. #4 0x00007ffff43295bc in MagickReadImage () from /usr/lib/libMagickWand-Q16.so.7 No symbol table info available. #5 0x00000000006875bc in ?? () No symbol table info available. #6 0x0000000000688156 in ?? () No symbol table info available. #7 0x000000000067e187 in ?? () No symbol table info available. #8 0x000000000043bd6f in ?? () No symbol table info available. #9 0x000000000043a5b9 in ?? () No symbol table info available. #10 0x000000000043a3f2 in ?? () No symbol table info available. #11 0x00000000004375b2 in ?? () No symbol table info available. #12 0x0000000000443faa in ?? () No symbol table info available. #13 0x00000000004402e1 in ?? () No symbol table info available. #14 0x0000000000463e94 in ?? () No symbol table info available. #15 0x000000000045aae0 in ?? () No symbol table info available. #16 0x0000000000458bc1 in ?? () No symbol table info available. #17 0x000000000045272f in ?? () No symbol table info available. #18 0x00000000005e04b2 in ?? () No symbol table info available. #19 0x000000000045269d in ?? () No symbol table info available. #20 0x0000000000452657 in ?? () No symbol table info available. #21 0x000000000045176f in ?? () No symbol table info available. #22 0x0000000000451f58 in ?? () No symbol table info available. #23 0x000000000063a525 in ?? () No symbol table info available. #24 0x0000000000422d2b in ?? () No symbol table info available. #25 0x0000000000546b17 in ?? () No symbol table info available. #26 0x000000000055354a in ?? () No symbol table info available. #27 0x00000000005441fb in ?? () No symbol table info available. #28 0x00000000005e0331 in ?? () No symbol table info available. #29 0x0000000000543b35 in ?? () No symbol table info available. #30 0x00000000005dfcd8 in ?? () No symbol table info available. #31 0x0000000000543ae5 in ?? () No symbol table info available. #32 0x000000000054323e in ?? () No symbol table info available. #33 0x00000000005433e1 in ?? () No symbol table info available. #34 0x00000000005412b6 in ?? () No symbol table info available. #35 0x00007ffff19d0a15 in __libc_start_main () from /usr/lib/libc.so.6 No symbol table info available. #36 0x0000000000416339 in ?? () No symbol table info available. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2013-03-04 on gateway Bzr revision: yamaoka@jpl.org-20130304102733-4qy111z41qwoh2as Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --mandir=/usr/share/man --without-toolkit-scroll-bars --with-xft --with-x-toolkit=gtk3 CFLAGS='-march=x86-64 -mtune=generic -O0 -g3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'' Important settings: value of $LC_ALL: en_US.utf8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t C-g C-/ M-: M-: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Mark set Undo! ("/usr/share/emacs/site-lisp/mu4e/" "/usr/share/emacs/24.3.50/lisp" "/usr/share/emacs/24.3.50/lisp/vc" "/usr/share/emacs/24.3.50/lisp/url" "/usr/share/emacs/24.3.50/lisp/textmodes" "/usr/share/emacs/24.3.50/lisp/progmodes" "/usr/share/emacs/24.3.50/lisp/play" "/usr/share/emacs/24.3.50/lisp/org" "/usr/share/emacs/24.3.50/lisp/nxml" "/usr/share/emacs/24.3.50/lisp/net" "/usr/share/emacs/24.3.50/lisp/mh-e" "/usr/share/emacs/24.3.50/lisp/mail" ...) Loading /home/avru/.emacs.d/conf/mu4e-conf.el (source)...done t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug edmacro kmacro mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa derived epg epg-config browse-url comint ansi-color ring mu4e-headers mu4e-compose mu4e-draft mu4e-actions rfc2368 smtpmail auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util password-cache sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode dired mu4e-lists mu4e-about mu4e-vars message cl-macs gv format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader hl-line cl nadvice cl-lib mu4e-meta time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Nicolas Avrutin