`convert` segfaults when reading a JPEG and writing to "tiff:-" (meaning TIFF to stdout). I can write other formats (like BMP) to stdout, and this behavior was not present in... whatever version I had before 5.5.3.2 (about 10 days ago), which I think was imagemagick-5.4.9.1-r2. I can post an strace if necessary. Reproducible: Always Steps to Reproduce: 1. Pick a source image 2. Run `convert [image file] tiff:- >/dev/null` Actual Results: It printed "Segmentation fault" and died. Expected Results: Given me a TIFF file on stdout. Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r7 i686 AMD Athlon(tm) 4 Processor GENTOO_MIRRORS=" http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/portage.local" USE="x86 oss 3dnow crypt cups jpeg libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb gdbm gif imlib kde libwww motif mozilla nls oggvorbis pam png python qt readline sdl slang ssl svga tcpd X -apm -avi cdr -encode flash gd -gpm -gtk imap innodb ipv6 -java ldap maildir mysql -opengl perl pic ruby samba sasl snmp sse tetex tiff xml zlib" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Confirmed with imagemagick-5.5.4.4, as well.
Created attachment 9314 [details] strace output
*** This bug has been marked as a duplicate of 17161 ***
Negative -- this is not a duplicate of 17161. TIFFs work fine when writing to files, just not to stdout. Besides which, 17161 results in an error message, not a segfault.
just commited imagemagick 5.5.6, plz check if it works for you, if not i guess it's a upstream bug.
fixed in upstream version