Subject: bug#13867: 24.3.50; reading certain emails containing images in mu4e causes segfault

From: Nicolas Avrutin <[email-masked]>
Date: Thu, 07 Mar 2013 19:16:40 -0500

On Thu, Mar 07 2013, Paul Eggert <[email-masked]> wrote:

> I just built ImageMagick 6.8.2-10 from source on Fedora 17 x86-64
> to try to diagnose this, and it built lib/libMagickCore6-Q16.so.1.0.0 (not 7.0.0).
> Is it possible that there is a version mismatch problem here?

The files come from the imagemagick package [1]. The link displays the
file list for the package and usr/lib/libMagickCore-Q16.so.7.0.0 (on
Arch, /lib/ is a symlink to /usr/lib) is present there.

Footnotes: 
[1]  https://www.archlinux.org/packages/extra/x86_64/imagemagick/

> ldd /usr/lib/ImageMagick-6.8.2/modules-Q16/coders/png.so
linux-vdso.so.1 (0x00007ffff6563000)
libMagickCore-Q16.so.7 => /usr/lib/libMagickCore-Q16.so.7 (0x00007fb7e594d000)
liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007fb7e56f9000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fb7e545a000)
liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0x00007fb7e5245000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fb7e4f4f000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fb7e4d14000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb7e4b00000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb7e47c7000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fb7e4561000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fb7e4350000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007fb7e4146000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fb7e3f2a000)
libpng15.so.15 => /usr/lib/libpng15.so.15 (0x00007fb7e3cfc000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007fb7e3aab000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fb7e3888000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fb7e3671000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fb7e3373000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fb7e2fc6000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fb7e2d62000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fb7e2b5a000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fb7e2930000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb7e2710000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fb7e250c000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fb7e2304000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fb7e20e7000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007fb7e6040000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fb7e1ee3000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fb7e1cdc000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fb7e1ad7000)

> ldd /usr/lib/libMagickCore-Q16.so.7.0.0
linux-vdso.so.1 (0x00007fff8a9ff000)
liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007f59e7059000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f59e6dba000)
liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0x00007f59e6ba6000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f59e68af000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f59e6674000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f59e6461000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f59e6127000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007f59e5ec1000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f59e5c9e000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f59e5a8d000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f59e5877000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f59e566d000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f59e536e000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f59e5152000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f59e4da5000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f59e4b41000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f59e4939000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f59e470f000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f59e44ef000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f59e42eb000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f59e40e3000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f59e3ec6000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f59e777c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f59e3cc2000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f59e3abb000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f59e38b6000)

> ldd temacs
linux-vdso.so.1 (0x00007fff80174000)
libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007fbb59c33000)
libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007fbb599e2000)
libpng15.so.15 => /usr/lib/libpng15.so.15 (0x00007fbb597b5000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007fbb594b7000)
libgif.so.4 => /usr/lib/libgif.so.4 (0x00007fbb592ad000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00007fbb5909b000)
libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007fbb589e8000)
libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007fbb58731000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fbb584e6000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fbb581c8000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fbb57fa6000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fbb57c53000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fbb57a05000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fbb5770f000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fbb57507000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fbb572eb000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fbb56fb2000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fbb56da7000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x00007fbb56b92000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fbb568a1000)
librsvg-2.so.2 => /usr/lib/librsvg-2.so.2 (0x00007fbb5666c000)
libMagickWand-Q16.so.7 => /usr/lib/libMagickWand-Q16.so.7 (0x00007fbb56354000)
libMagickCore-Q16.so.7 => /usr/lib/libMagickCore-Q16.so.7 (0x00007fbb55ec1000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007fbb55cb9000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fbb55a72000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007fbb55716000)
libgpm.so.2 => /usr/lib/libgpm.so.2 (0x00007fbb5550f000)
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0x00007fbb552b0000)
libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00007fbb55080000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fbb54de1000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fbb54ba6000)
libotf.so.0 => /usr/lib/libotf.so.0 (0x00007fbb54991000)
libm17n-core.so.0 => /usr/lib/libm17n-core.so.0 (0x00007fbb54764000)
libm17n-flt.so.0 => /usr/lib/libm17n-flt.so.0 (0x00007fbb54559000)
libacl.so.1 => /usr/lib/libacl.so.1 (0x00007fbb54350000)
libgnutls.so.28 => /usr/lib/libgnutls.so.28 (0x00007fbb54043000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fbb53e27000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fbb53a7a000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fbb53857000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007fbb53641000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fbb5343d000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fbb53230000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fbb53021000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fbb52e1a000)
libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007fbb52e10000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fbb52bed000)
libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007fbb529c3000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fbb527ae000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fbb525ab000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fbb523a1000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fbb52197000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fbb51f94000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fbb51d91000)
libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fbb51b85000)
libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007fbb51923000)
libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007fbb5171b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fbb51508000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fbb51270000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0x00007fbb5104e000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fbb50e4a000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007fbb50c47000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007fbb50a3d000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fbb5081e000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fbb50616000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fbb50414000)
libffi.so.6 => /usr/lib/libffi.so.6 (0x00007fbb5020b000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fbb4ffa8000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fbb4fd91000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fbb4fb8c000)
libcroco-0.6.so.3 => /usr/lib/libcroco-0.6.so.3 (0x00007fbb4f951000)
liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007fbb4f6fd000)
liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0x00007fbb4f4e9000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fbb4f283000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fbb4f073000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007fbb4ee69000)
libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007fbb4ec41000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fbb4ea17000)
libattr.so.1 => /usr/lib/libattr.so.1 (0x00007fbb4e812000)
libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007fbb4e5fe000)
libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007fbb4e3eb000)
libnettle.so.4 => /usr/lib/libnettle.so.4 (0x00007fbb4e1c0000)
libhogweed.so.2 => /usr/lib/libhogweed.so.2 (0x00007fbb4dfad000)
libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fbb4dd37000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbb59ea6000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fbb4daa3000)
libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007fbb4d87e000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007fbb4d67c000)
libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x00007fbb4d477000)
libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x00007fbb4d270000)
libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x00007fbb4d06c000)
libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x00007fbb4ce5a000)
libgbm.so.1 => /usr/lib/libgbm.so.1 (0x00007fbb4cc54000)
libglapi.so.0 => /usr/lib/libglapi.so.0 (0x00007fbb4ca2e000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007fbb4c81d000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00007fbb4c611000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fbb4c40d000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fbb4c206000)
libatiuki.so.1 => /usr/lib/libatiuki.so.1 (0x00007fbb4c0ec000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fbb4becd000)
libicule.so.50 => /usr/lib/libicule.so.50 (0x00007fbb4bc8b000)
libicuuc.so.50 => /usr/lib/libicuuc.so.50 (0x00007fbb4b915000)
libicudata.so.50 => /usr/lib/libicudata.so.50 (0x00007fbb4a342000)
libsystemd-daemon.so.0 => /usr/lib/libsystemd-daemon.so.0 (0x00007fbb4a13e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fbb49e3b000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fbb49c26000)

-- 
Nicolas Avrutin