all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Avrutin <nicolasavru@gmail.com>
To: "Paul Eggert" <eggert@cs.ucla.edu>
Cc: 13867@debbugs.gnu.org
Subject: bug#13867: 24.3.50; reading certain emails containing images in mu4e causes segfault
Date: Thu, 07 Mar 2013 12:57:14 -0500	[thread overview]
Message-ID: <87fw07ytxh.fsf@gateway.local.navru.net> (raw)
In-Reply-To: <5135B1F0.2010202@cs.ucla.edu>


Took some finicking with the mu4e elisp to get it to run under temacs
(temacs doesn't like sendmail), but I got it. Valgrind info below. I can
leave that valgrind session open for a few days in case you want me
check anything else from within valgrind (if so, give me specific
commands to run, I haven't used valgrind beyond memcheck).

Also, I found this bug on the mu4e issue tracker, though it doesn't look
like there is any useful information there:
https://github.com/djcb/mu/issues/143[1]

Here's what valgrind gives me:

==5565== Invalid write of size 4
==5565==    at 0x8AD3791: AcquireQuantumInfo (in /usr/lib/libMagickCore-Q16.so.7.0.0)
==5565==    by 0x2373680E: ??? (in /usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so)
==5565==    by 0x2373762F: ??? (in /usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so)
==5565==    by 0x8A093BF: ReadImage (in /usr/lib/libMagickCore-Q16.so.7.0.0)
==5565==    by 0x870C5BB: MagickReadImage (in /usr/lib/libMagickWand-Q16.so.7.0.0)
==5565==    by 0x6748D7: imagemagick_load_image (image.c:7685)
==5565==    by 0x67537D: imagemagick_load (image.c:7978)
==5565==    by 0x66BF56: lookup_image (image.c:1697)
==5565==    by 0x43B844: handle_single_display_spec (xdisp.c:5017)
==5565==    by 0x43A0AF: handle_display_spec (xdisp.c:4515)
==5565==    by 0x439EE8: handle_display_prop (xdisp.c:4467)
==5565==    by 0x437194: handle_stop (xdisp.c:3219)
==5565==  Address 0x60 is not stack'd, malloc'd or (recently) free'd

Backtrace:
./temacs[0x55a542]
./temacs[0x536722]
./temacs[0x55a064]
./temacs[0x55a039]
./temacs[0x55a09a]
/usr/lib/libpthread.so.0(+0xf1e0)[0xaca31e0]
/usr/lib/libMagickCore-Q16.so.7(AcquireQuantumInfo+0x61)[0x8ad3791]
/usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so(+0x1780f)[0x2373680f]
/usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so(+0x18630)[0x23737630]
/usr/lib/libMagickCore-Q16.so.7(ReadImage+0x190)[0x8a093c0]
/usr/lib/libMagickWand-Q16.so.7(MagickReadImage+0x6c)[0x870c5bc]
./temacs[0x6748d8]
./temacs[0x67537e]
./temacs[0x66bf57]
./temacs[0x43b845]
./temacs[0x43a0b0]
./temacs[0x439ee9]
./temacs[0x437195]
./temacs[0x44373f]
./temacs[0x43fbf6]
./temacs[0x461ae1]
./temacs[0x458e73]
./temacs[0x4568e0]
./temacs[0x451517]
./temacs[0x5d2f10]
./temacs[0x4508c0]
./temacs[0x44e650]
./temacs[0x53cf34]
./temacs[0x549c0d]
./temacs[0x53af8d]
./temacs[0x5d2d95]
./temacs[0x53a8d6]
./temacs[0x5d2769]
./temacs[0x53a837]
./temacs[0x53a002]
./temacs[0x53a1a5]
./temacs[0x5d5f73]
./temacs[0x61d1ca]
./temacs[0x5d66d0]
./temacs[0x5d6184]
./temacs[0x5d536a]

-- 
Nicolas Avrutin





  parent reply	other threads:[~2013-03-07 17:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 16:40 bug#13867: 24.3.50; reading certain emails containing images in mu4e causes segfault Nicolas Avrutin
2013-03-05  4:41 ` Paul Eggert
     [not found]   ` <877glmpagw.fsf@gateway.local.navru.net>
2013-03-05  8:50     ` Paul Eggert
     [not found]       ` <87haknyxwa.fsf@gateway.local.navru.net>
2013-03-07 17:48         ` Paul Eggert
2013-03-07 18:11           ` Nicolas Avrutin
2013-03-07 23:20             ` Nicolas Avrutin
2013-03-07 23:53               ` Paul Eggert
2013-03-07 17:57       ` Nicolas Avrutin [this message]
2013-03-07 23:52         ` Paul Eggert
2013-03-08  0:16           ` Nicolas Avrutin
2013-03-08  1:13             ` Paul Eggert
2013-03-08 18:02               ` Nicolas Avrutin
2013-03-09  6:19                 ` Paul Eggert
2013-03-09 18:54                   ` Nicolas Avrutin
2013-03-10  6:36                     ` Paul Eggert
2013-03-17  6:46                       ` Nicolas Avrutin
2013-03-17  6:58                         ` Paul Eggert
2013-03-17 13:06                           ` Stefan Monnier
2013-03-18  5:28                             ` Paul Eggert
2013-03-18 12:36                               ` Nicolas Avrutin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw07ytxh.fsf@gateway.local.navru.net \
    --to=nicolasavru@gmail.com \
    --cc=13867@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.