Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 104540

Summary: media-gfx/imagemagick - libfpx causes mogrify segfault on converting fpx file to other format
Product: Gentoo Linux Reporter: Francisco J. Perez <fperez>
Component: [OLD] LibraryAssignee: Karol Wojtaszek (RETIRED) <sekretarz>
Status: RESOLVED NEEDINFO    
Severity: normal CC: graphics+disabled
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Francisco J. Perez 2005-09-01 21:07:04 UTC
Imagemagic-6.2.2.3-r1 
Libfpx-1.2.0.9
Gentoo 2005.1
(2)Intel Pentium III Xeon 1.0 GHz

When attempting to convert from an fpx image to another image format (tried
converting to png, gif and jpg) using Imagemagick's mogrify tool, mogrify
produces a segmentation fault.  As per imagemagic.org
(http://studio.imagemagick.org/pipermail/magick-bugs/2003-January/001033.html),
this problem is with libfpx, however I cannot find any evidence that this
problem has been fixed.  Cannot find other mentions of this specific problem or
a possible fix however there is a newer version of libfpx on the portage tree
which is still masked (1.2.0.12) and a another newer version on the imagemagick
website (1.2.0.13).       


Reproducible: Always
Steps to Reproduce:
1.frank@stevens ~/pictures/balboa_terminal $ mogrify -format png *.fpx
2.
3.

Actual Results:  
frank@stevens: ~/pictures/balboa_terminal $ mogrify -format png *.fpx
Segmentation fault


Expected Results:  
The images in the directory should have been converted from fpx format to png
format and then saved as new files with the extension changed to png.

frank@stevens: less debug.tmp

File pres_fpx.cpp; line 481 # Assertion fausse
File pres_fpx.cpp; line 484 # Assertion fausse
File pres_fpx.cpp; line 245 # Assertion fausse
File buffdesc.cpp; line 838 # Assertion fausse
File pres_fpx.cpp; line 508 # Assertion fausse
File buffdesc.cpp; line 634 # Assertion fausse
File pres_fpx.cpp; line 481 # Assertion fausse
File pres_fpx.cpp; line 484 # Assertion fausse
File pres_fpx.cpp; line 245 # Assertion fausse
File buffdesc.cpp; line 838 # Assertion fausse
File pres_fpx.cpp; line 508 # Assertion fausse
File buffdesc.cpp; line 634 # Assertion fausse
Comment 1 Francisco J. Perez 2005-09-02 19:37:51 UTC
I found the source of libfpx @
ftp://ftp.imagemagick.com/pub/ImageMagick/delegates/  
and after verifying the changelog, I cannot find any mention of this problem,
but on the other hand, I'm not a programmer and really don't know what I am
looking for. 
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2006-02-06 11:28:16 UTC
Could you attach one of your fpx files? I can't reproduce it with mine.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 21:25:54 UTC
See above; we need some sample files to reproduce this.