Some PDF fail to convert in Centos7

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
xomero
Posts: 3
Joined: 2015-10-16T09:26:07-07:00
Authentication code: 1151

Some PDF fail to convert in Centos7

Post by xomero » 2016-04-04T09:26:15-07:00

ImageMagick 6.9.3-7 Q16 x86_64 2016-04-01
GPL Ghostscript 9.18 (2015-10-05)
Centos 7

Fails to convert PDF, exact same IM and GS versions not failing in Centos 6. This is happening only to certain types of PDF files, some of them coming from Indesign, but other indesign PDF works ok. Debug all output:

Any help will be appreciated!

Code: Select all

$ convert -debug ALL My_Pdf_File.pdf test.png
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: utility.c/ExpandFilenames/940/Configure
  Command line: convert {-debug} {ALL} {My_Pdf_File.pdf} {test.png}
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.9.3//config-Q16/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.config/ImageMagick/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.magick/coder.xml"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Configure convert[27416]: coder.c/LoadCoderCache/823/Configure
  Loading coder configuration file "/etc/ImageMagick-6/coder.xml" ...
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Module convert[27416]: module.c/OpenModule/1286/Module
  Searching for module "PDF" using filename "pdf.la"
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Module convert[27416]: module.c/GetMagickModulePath/556/Module
  Searching for coder module file "pdf.la" ...
2016-04-04T11:35:20-04:00 0:00.000 0.000u 6.9.3 Module convert[27416]: module.c/OpenModule/1295/Module
  Opening module at path "/usr/lib64/ImageMagick-6.9.3//modules-Q16/coders/pdf.la"
2016-04-04T11:35:20-04:00 0:00.010 0.020u 6.9.3 Module convert[27416]: module.c/OpenModule/1322/Module
  Method "RegisterPDFImage" in module "PDF" at address 0x7f82a3e77f40
2016-04-04T11:35:20-04:00 0:00.010 0.020u 6.9.3 Module convert[27416]: module.c/OpenModule/1336/Module
  Method "UnregisterPDFImage" in module "PDF" at address 0x7f82a3e78110
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Policy convert[27416]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="My_Pdf_File.pdf" ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Blob convert[27416]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Cache convert[27416]: cache.c/DestroyPixelCache/999/Cache
  destroy
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.9.3//config-Q16/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.config/ImageMagick/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.magick/magic.xml"
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Configure convert[27416]: magic.c/LoadMagicCache/789/Configure
  Loading magic configure file "/etc/ImageMagick-6/magic.xml" ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Policy convert[27416]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PDF" ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Policy convert[27416]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="My_Pdf_File.pdf" ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Blob convert[27416]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Cache convert[27416]: cache.c/DestroyPixelCache/999/Cache
  destroy
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Policy convert[27416]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="My_Pdf_File.pdf" ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Blob convert[27416]: blob.c/OpenBlob/2594/Blob
    read 3 magic header bytes
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire /tmp/magick-27416-sXGJDwJoNEJ
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Resource convert[27416]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish /tmp/magick-27416-sXGJDwJoNEJ
2016-04-04T11:35:20-04:00 0:00.020 0.020u 6.9.3 Exception convert[27416]: utility.c/ShredFile/1822/Exception
  Failed to remove: /tmp/magick-27416-sXGJDwJoNEJ.cache
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire /tmp/magick-27416wUNbFVYFq0eK
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/ImageMagick-6/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/lib64/ImageMagick-6.9.3//config-Q16/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/etc/ImageMagick-6/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/share/doc/ImageMagick-6/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.config/ImageMagick/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/home/username/.magick/delegates.xml"
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Configure convert[27416]: delegate.c/LoadDelegateCache/1498/Configure
  Loading delegate configuration file "/etc/ImageMagick-6/delegates.xml" ...
2016-04-04T11:35:21-04:00 0:00.700 0.700u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/502/Resource
  ...
2016-04-04T11:35:21-04:00 0:00.720 0.700u 6.9.3 Resource convert[27416]: resource.c/AcquireUniqueFileResource/553/Resource
  Acquire /tmp/magick-27416CzaHqJ06LjPK
2016-04-04T11:35:21-04:00 0:00.720 0.700u 6.9.3 Resource convert[27416]: resource.c/RelinquishUniqueFileResource/1042/Resource
  Relinquish /tmp/magick-27416CzaHqJ06LjPK
2016-04-04T11:35:21-04:00 0:00.720 0.700u 6.9.3 Exception convert[27416]: utility.c/ShredFile/1822/Exception
  Failed to remove: /tmp/magick-27416CzaHqJ06LjPK.cache

Post Reply