Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17404 - imagemagick-5.5.3.2 segfault when writing TIFF to stdout
Summary: imagemagick-5.5.3.2 segfault when writing TIFF to stdout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bartosch Pixa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 16:22 UTC by delta407
Modified: 2003-07-21 13:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (strace.log,17.06 KB, text/plain)
2003-03-12 16:28 UTC, delta407
Details

Note You need to log in before you can comment on or make changes to this bug.
Description delta407 2003-03-12 16:22:19 UTC
`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"
Comment 1 delta407 2003-03-12 16:25:13 UTC
Confirmed with imagemagick-5.5.4.4, as well. 
Comment 2 delta407 2003-03-12 16:28:55 UTC
Created attachment 9314 [details]
strace output
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-03-12 16:39:44 UTC

*** This bug has been marked as a duplicate of 17161 ***
Comment 4 delta407 2003-03-12 17:22:04 UTC
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. 
Comment 5 Bartosch Pixa (RETIRED) gentoo-dev 2003-04-24 10:52:20 UTC
just commited imagemagick 5.5.6, plz check if it works for you, if not i guess it's a upstream bug.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 13:33:12 UTC
fixed in upstream version