FlashPix convert/identify/display locks up

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wildbug
Posts: 21
Joined: 2008-06-18T12:53:24-07:00

FlashPix convert/identify/display locks up

Post by wildbug »

I'm trying to convert some old FlashPix images to something more portable. According to identify -list formats, my version of ImageMagick is read/write enabled for fpx files, but any operation with them hangs.

Here's the output of 'identify -debug All':

Code: Select all

$ identify -debug All ku_ureter_40xr.fpx      
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: utility.c/ExpandFilenames/865/Configure
  Command line: identify {-debug} {All} {ku_ureter_40xr.fpx}
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.2/config/coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.5.2/config/coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.5.2/coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.2/coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/home/me/.magick/coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "coder.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: coder.c/LoadCoderList/639/Configure
  Loading coder configuration file "/usr/share/ImageMagick-6.5.2/config/coder.xml" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Module identify[27161]: module.c/OpenModule/1154/Module
  Searching for module "FPX" using filename "fpx.la"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Module identify[27161]: module.c/GetMagickModulePath/549/Module
  Searching for coder module file "fpx.la" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Module identify[27161]: module.c/OpenModule/1163/Module
  Opening module at path "/usr/lib64/ImageMagick-6.5.2/modules-Q16/coders/fpx.la"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Module identify[27161]: module.c/OpenModule/1190/Module
  Method "RegisterFPXImage" in module "FPX" at address 0x7f8e4baa786c
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Module identify[27161]: module.c/OpenModule/1204/Module
  Method "UnregisterFPXImage" in module "FPX" at address 0x7f8e4baa7860
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Policy identify[27161]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="ku_ureter_40xr.fpx" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Blob identify[27161]: blob.c/OpenBlob/2416/Blob
    read 3 magic header bytes
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.2/config/magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.5.2/config/magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.5.2/magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.2/magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/home/me/.magick/magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "magic.xml"
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Configure identify[27161]: magic.c/LoadMagicList/682/Configure
  Loading magic configure file "/usr/share/ImageMagick-6.5.2/config/magic.xml" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Policy identify[27161]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Coder; rights=Read; pattern="FPX" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Policy identify[27161]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="ku_ureter_40xr.fpx" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Blob identify[27161]: blob.c/OpenBlob/2416/Blob
    read 3 magic header bytes
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Policy identify[27161]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="ku_ureter_40xr.fpx" ...
2009-07-14T12:35:46-04:00 0:01 0.000u 6.5.2 Blob identify[27161]: blob.c/OpenBlob/2416/Blob
    read 3 magic header bytes
After that last line, it hangs.

Version: ImageMagick 6.5.2-9 2009-06-03 Q16 OpenMP
OS: Gentoo Linux, 2.6.25
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: FlashPix convert/identify/display locks up

Post by magick »

Post a URL to one or two of your FlashPix images. We need to determine if the process hangs within the FlashPix delegate library or within ImageMagick itself.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: FlashPix convert/identify/display locks up

Post by magick »

We downloaded ImageMagick 6.5.4-2 from ftp://ftp.imagemagick.org/pub/ImageMagick and libfpx-1.3.0-1 from ftp://ftp.imagemagick.org/pub/ImageMagick/delegates and built and installed both distributions. Your image converted without complaint. The identify program returns:

Code: Select all

Image: ku_ureter_40xr.fpx
  Format: FPX (FlashPix Format)
  Class: DirectClass
  Geometry: 4297x4898+0+0
  Resolution: 72x72
  Print size: 59.6806x68.0278
  Units: Undefined
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    red:
      min: 0 (0)
      max: 255 (1)
      mean: 246.619 (0.967133)
      standard deviation: 20.1491 (0.0790162)
      kurtosis: 35.3695
      skewness: -5.20307
    green:
      min: 0 (0)
      max: 255 (1)
      mean: 239.251 (0.938238)
      standard deviation: 29.3848 (0.115235)
      kurtosis: 14.2829
      skewness: -3.49646
    blue:
      min: 0 (0)
      max: 255 (1)
      mean: 245.758 (0.963757)
      standard deviation: 18.7544 (0.0735467)
      kurtosis: 37.9951
      skewness: -5.22408
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 182.907 (0.717282)
      standard deviation: 107.541 (0.421729)
      kurtosis: -0.792829
      skewness: -1.06721
  Rendering intent: Undefined
  Interlace: None
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 4297x4898+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Undefined
  Orientation: Undefined
  Properties:
    create-date: 2009-07-14T16:03:49-04:00
    modify-date: 2009-07-14T16:03:49-04:00
    signature: 413fad16fae0492437c8b55c6ddd7ac5719f020e6504ab312fb473d625a9656e
  Artifacts:
    verbose: true
  Tainted: False
  Filesize: 2.834mb
  Number pixels: 20.07mb
  Pixels per second: 437kb
  User time: 8.580u
  Elapsed time: 28
  Version: ImageMagick 6.5.4-2 2009-07-14 Q16 OpenMP http://www.imagemagick.org
wildbug
Posts: 21
Joined: 2008-06-18T12:53:24-07:00

Re: FlashPix convert/identify/display locks up

Post by wildbug »

I upgraded both packages, and now there is no problem.

The latest versions in Gentoo's portage repository for ImageMagick and libfpx were 6.5.2-9 and 1.2.0-9, respectively. Usually portage has the most "bleeding edge" versions; this time I had to make my own overlays to reflect the latest sources.

(Btw, don't you mean libfpx-1.3.0-0 instead of libfpx-1.3.0-1?)

Thanks for looking into this.
wildbug
Posts: 21
Joined: 2008-06-18T12:53:24-07:00

Re: FlashPix convert/identify/display locks up

Post by wildbug »

I may have spoken too soon. The previous file opens, now I have a few that won't. I see that the 1.3.0-1 version is now on the FTP server, and I have upgraded to it. Same deal as before; IM locks up.

These two won't open:

http://virtualslides.psu.edu/tmp/t11_40xr.fpx
http://virtualslides.psu.edu/tmp/o22.fpx

Output:

Code: Select all

$ identify -debug All t11_40xr.fpx 
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: utility.c/ExpandFilenames/865/Configure
  Command line: identify {-debug} {All} {t11_40xr.fpx}
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.4/config/coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.5.4/config/coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.5.4/coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.4/coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/home/me/.magick/coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "coder.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: coder.c/LoadCoderList/639/Configure
  Loading coder configuration file "/usr/share/ImageMagick-6.5.4/config/coder.xml" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Module identify[16168]: module.c/OpenModule/1154/Module
  Searching for module "FPX" using filename "fpx.la"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Module identify[16168]: module.c/GetMagickModulePath/549/Module
  Searching for coder module file "fpx.la" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Module identify[16168]: module.c/OpenModule/1163/Module
  Opening module at path "/usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/fpx.la"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Module identify[16168]: module.c/OpenModule/1190/Module
  Method "RegisterFPXImage" in module "FPX" at address 0x7fdde28f286c
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Module identify[16168]: module.c/OpenModule/1204/Module
  Method "UnregisterFPXImage" in module "FPX" at address 0x7fdde28f2860
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Policy identify[16168]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="t11_40xr.fpx" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Blob identify[16168]: blob.c/OpenBlob/2407/Blob
    read 3 magic header bytes
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.4/config/magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.5.4/config/magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6.5.4/magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/usr/share/ImageMagick-6.5.4/magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "/home/me/.magick/magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: configure.c/GetConfigureOptions/528/Configure
  Searching for configure file: "magic.xml"
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Configure identify[16168]: magic.c/LoadMagicList/682/Configure
  Loading magic configure file "/usr/share/ImageMagick-6.5.4/config/magic.xml" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Policy identify[16168]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Coder; rights=Read; pattern="FPX" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Policy identify[16168]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="t11_40xr.fpx" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Blob identify[16168]: blob.c/OpenBlob/2407/Blob
    read 3 magic header bytes
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Policy identify[16168]: policy.c/IsRightsAuthorized/520/Policy
  Domain: Path; rights=Read; pattern="t11_40xr.fpx" ...
2009-07-15T16:59:56-04:00 0:01 0.000u 6.5.4 Blob identify[16168]: blob.c/OpenBlob/2407/Blob
    read 3 magic header bytes
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: FlashPix convert/identify/display locks up

Post by magick »

To help you'll need to attach gdb to the process and post a stack trace. If the lock up is in the FlashPix delegate library you will need to post a bug report to the FlashPix folks. If you can identify the lock up is within ImageMagick we will certainly attempt to fix the problem.
wildbug
Posts: 21
Joined: 2008-06-18T12:53:24-07:00

Re: FlashPix convert/identify/display locks up

Post by wildbug »

Okay, this is the first time I've used gdb (I'm not a real programmer); is this what you need?

Code: Select all

$ identify t11_40xr.fpx &
[1] 24059
$ gdb identify 24059
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/bin/identify, process 24059
Reading symbols from /usr/lib64/libMagickCore.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libMagickCore.so.2
Reading symbols from /usr/lib64/libMagickWand.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libMagickWand.so.2
Reading symbols from /usr/lib64/libtiff.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtiff.so.5
Reading symbols from /lib64/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib64/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib64/libjpeg.so.62...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib64/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib64/libXt.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /lib64/libbz2.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1
Reading symbols from /lib64/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libgomp.so.1
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib64/libpthread.so.0...
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7fd24287f790 (LWP 24059)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib64/libltdl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /usr/lib64/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /lib64/libuuid.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib64/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib64/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib64/libm.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/fpx.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/fpx.so
Reading symbols from /usr/lib64/libfpx.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfpx.so.1
Reading symbols from /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1

(no debugging symbols found)
0x00007fd23ee2147c in CMSFPageTable::FindSwapPage () from /usr/lib/libfpx.so.1
(gdb) backtrace
#0  0x00007fd23ee2147c in CMSFPageTable::FindSwapPage () from /usr/lib/libfpx.so.1
#1  0x00007fd23ee214ff in CMSFPageTable::GetFreePage () from /usr/lib/libfpx.so.1
#2  0x00007fd23ee215b7 in CMSFPageTable::FindPage () from /usr/lib/libfpx.so.1
#3  0x00007fd23ee2162e in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#4  0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#5  0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#6  0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#7  0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#8  0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#9  0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#10 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#11 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#12 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#13 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#14 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#15 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#16 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#17 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#18 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#19 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#20 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#21 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#22 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#23 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#24 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#25 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#26 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#27 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#28 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#29 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#30 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#31 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#32 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#33 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#34 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#35 0x00007fd23ee181bf in CDIFat::GetSect () from /usr/lib/libfpx.so.1
#36 0x00007fd23ee21737 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#37 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#38 0x00007fd23ee18274 in CDIFat::GetFatSect () from /usr/lib/libfpx.so.1
#39 0x00007fd23ee21717 in CMSFPageTable::GetPage () from /usr/lib/libfpx.so.1
#40 0x00007fd23ee2363d in CPagedVector::GetTable () from /usr/lib/libfpx.so.1
#41 0x00007fd23ee1dc56 in CFat::GetNext () from /usr/lib/libfpx.so.1
#42 0x00007fd23ee1de9d in CFat::GetLength () from /usr/lib/libfpx.so.1
#43 0x00007fd23ee1fe20 in CMStream::Init () from /usr/lib/libfpx.so.1
#44 0x00007fd23ee1f69d in DllMultiStreamFromStream () from /usr/lib/libfpx.so.1
#45 0x00007fd23ee22213 in CRootExposedDocFile::InitRoot () from /usr/lib/libfpx.so.1
#46 0x00007fd23ee1a047 in DfFromLB () from /usr/lib/libfpx.so.1
#47 0x00007fd23ee1a14e in DfOpenStorageOnILockBytesW () from /usr/lib/libfpx.so.1
#48 0x00007fd23ee16c74 in DfOpenStorageOnILockBytes () from /usr/lib/libfpx.so.1
#49 0x00007fd23ee23035 in StgOpenStorageOnILockBytes () from /usr/lib/libfpx.so.1
#50 0x00007fd23ee230c9 in StgOpenStorage () from /usr/lib/libfpx.so.1
#51 0x00007fd23edfd1c0 in OLEFile::OpenOLEFile () from /usr/lib/libfpx.so.1
#52 0x00007fd23edfd3d8 in OLEFile::GetCLSID () from /usr/lib/libfpx.so.1
#53 0x00007fd23edde5e0 in PFlashPixImageView::PFlashPixImageView () from /usr/lib/libfpx.so.1
#54 0x00007fd23ede315a in OpenImageByFilename () from /usr/lib/libfpx.so.1
#55 0x00007fd23ede335a in FPX_OpenImageByFilename () from /usr/lib/libfpx.so.1
#56 0x00007fd23f04a31a in ?? () from /usr/lib64/ImageMagick-6.5.4/modules-Q16/coders/fpx.so
#57 0x00007fd2422cfd00 in ReadImage () from /usr/lib/libMagickCore.so.2
#58 0x00007fd2423a315a in ReadStream () from /usr/lib/libMagickCore.so.2
#59 0x00007fd2422d0d5e in PingImage () from /usr/lib/libMagickCore.so.2
#60 0x00007fd2422d0f7b in PingImages () from /usr/lib/libMagickCore.so.2
#61 0x00007fd241fd1e81 in IdentifyImageCommand () from /usr/lib/libMagickWand.so.2
#62 0x0000000000401039 in ?? ()
#63 0x00007fd2419a95c6 in __libc_start_main () from /lib/libc.so.6
#64 0x0000000000400e69 in ?? ()
#65 0x00007fff4a8a86d8 in ?? ()
#66 0x000000000000001c in ?? ()
#67 0x0000000000000002 in ?? ()
#68 0x00007fff4a8aa12f in ?? ()
#69 0x00007fff4a8aa138 in ?? ()
#70 0x0000000000000000 in ?? ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/bin/identify, process 24059
$ kill 24059
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: FlashPix convert/identify/display locks up

Post by magick »

The deadlock is in the FlashPix delegate library rather than ImageMagick. Unfortunately we cannot reproduce the problem. Your image converts without complaint on our Fedora system with ImageMagick 6.5.4-2 and Flashpix 1.3.0-1.
Post Reply