convert Aborted

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.
gishii
Posts: 9
Joined: 2015-12-13T12:51:19-07:00
Authentication code: 1151

convert Aborted

Post by gishii »

hi,

I recently installed ImageMagick and I use it mainly to convert pdf to jpg, fully functioned for about 500 pdf but it hangs on 40 without I get to know why, here is the log:

Code: Select all

2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: utility.c/ExpandFilenames/940/Configure
  Command line: convert {-density} {300} {/var/www/ernmt-officiel.com/front/images/uploads/files/arrete_pdf/02805.pdf} {/var/www/ernmt-officiel.com/front/images/uploads/files/arrete_jpg/02805.jpg} {-debug} {all}
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/coder.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: coder.c/LoadCoderCache/823/Configure
  Loading coder configuration file "/usr/local/etc/ImageMagick-6/coder.xml" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Module convert[10583]: module.c/OpenModule/1286/Module
  Searching for module "PDF" using filename "pdf.la"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Module convert[10583]: module.c/GetMagickModulePath/556/Module
  Searching for coder module file "pdf.la" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Module convert[10583]: module.c/OpenModule/1295/Module
  Opening module at path "/usr/local/lib/ImageMagick-6.9.2//modules-Q8/coders/pdf.la"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Module convert[10583]: module.c/OpenModule/1322/Module
  Method "RegisterPDFImage" in module "PDF" at address 0x6806271d5890
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Module convert[10583]: module.c/OpenModule/1336/Module
  Method "UnregisterPDFImage" in module "PDF" at address 0x6806271d5a60
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Policy convert[10583]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="/var/www/ernmt-officiel.com/front/images/uploads/files/arrete_pdf/02805.pdf" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Blob convert[10583]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Cache convert[10583]: cache.c/DestroyPixelCache/996/Cache
  destroy 
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/magic.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: magic.c/LoadMagicCache/789/Configure
  Loading magic configure file "/usr/local/etc/ImageMagick-6/magic.xml" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Policy convert[10583]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PDF" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Policy convert[10583]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="/var/www/ernmt-officiel.com/front/images/uploads/files/arrete_pdf/02805.pdf" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Blob convert[10583]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Cache convert[10583]: cache.c/DestroyPixelCache/996/Cache
  destroy 
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Policy convert[10583]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="/var/www/ernmt-officiel.com/front/images/uploads/files/arrete_pdf/02805.pdf" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Blob convert[10583]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-10583wi_svJFfYD7t
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/RelinquishUniqueFileResource/1041/Resource
  Relinquish /tmp/magick-10583wi_svJFfYD7t
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Exception convert[10583]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-10583wi_svJFfYD7t.cache
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-105837Qiu7Psb2RBu
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/delegates.xml"
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Configure convert[10583]: delegate.c/LoadDelegateCache/1497/Configure
  Loading delegate configuration file "/usr/local/etc/ImageMagick-6/delegates.xml" ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-10583ebgc_kzrGg6u
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Resource convert[10583]: resource.c/RelinquishUniqueFileResource/1041/Resource
  Relinquish /tmp/magick-10583ebgc_kzrGg6u
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Exception convert[10583]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-10583ebgc_kzrGg6u.cache
2015-12-13T20:49:48+01:00 0:00.000 0.000u 6.9.2 Exception convert[10583]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-105837Qiu7Psb2RBu
thank you beforehand
jarodxxx
Posts: 5
Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151

Re: convert Aborted

Post by jarodxxx »

Same problme for me !
I am on Mac , with the Terminal , convert return "aborted" and with the php exec function the return is 134
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert Aborted

Post by fmw42 »

Not sure I understand. What is the exact command line? What is your IM version and Platform? What do you get from

Code: Select all

convert -version
to check on delegates

What exactly happens? Are you trying to convert 500 different images or one image with multiple pages? Does it quit on one particular image or page? Does it process that image or page if you process it alone?

Might you be running out of RAM? If so, see

http://www.imagemagick.org/Usage/files/#massive
http://www.imagemagick.org/script/resou ... nvironment
viewtopic.php?f=4&t=26801
jarodxxx
Posts: 5
Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151

Re: convert Aborted

Post by jarodxxx »

Hi, Thank's for your answer :)

My commande line is

Code: Select all

convert -density 300 [PATH]/13002.pdf [PATH]/13002.jpg
I have already use the same command to convert 500 diffrent PDF (each PDF have between 1 ans 30 pages) file to Jpeg (it works good) BUT i have 40 Pdf impossible to convert with the return error code 134 -> Aborted

I don't undersatnd why This 40 Pdf (i create them with the same method like tehe 500 other)

The version of convert is :
------

Code: Select all

Version: ImageMagick 6.9.2-8 Q8 x86_64 2015-12-10 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP 
Delegates (built-in): fontconfig freetype gslib jbig jng jpeg lcms ltdl lzma png ps tiff zlib
Maybe @gishii have more information about the probleme (i am a noob) ...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert Aborted

Post by magick »

Post a URL to one of the PDF's that fail for you. We need to reproduce the problem to determine the cause of the exception.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert Aborted

Post by fmw42 »

What is your version of Ghostscript?

Code: Select all

gs --version
You may need to upgrade to a current version.
jarodxxx
Posts: 5
Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151

Re: convert Aborted

Post by jarodxxx »

There is the link of the PDF : http://www.ernmt-officiel.com/front/ima ... /13002.pdf
And the gs --version:

Code: Select all

9.06
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert Aborted

Post by fmw42 »

9.06 is very old. I would suggest you try upgrading GS past 9.16. (Get the latest)
jarodxxx
Posts: 5
Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151

Re: convert Aborted

Post by jarodxxx »

I am trying to update Gs.
Have you try to convert my PDF ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert Aborted

Post by fmw42 »

It runs fine for me on IM 6.9.2.8 Q16 Mac OSX with GS 9.10. It is slow since there are 17 pages and takes about 1 min on my system running only one thread.
gishii
Posts: 9
Joined: 2015-12-13T12:51:19-07:00
Authentication code: 1151

Re: convert Aborted

Post by gishii »

upgrading gs don't do anything, i'm now on gs 9.18 + ImageMagick 6.9.2-8

same log with the command "convert -density 300 /[path]/file.pdf /[path]/file.jpg -debug all" :

Code: Select all

2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: utility.c/ExpandFilenames/940/Configure
  Command line: convert {-density} {300} {[PATH]/file.pdf} {[PATH]/file.jpg} {-debug} {all}
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/coder.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: coder.c/LoadCoderCache/823/Configure
  Loading coder configuration file "/usr/local/etc/ImageMagick-6/coder.xml" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Module convert[12752]: module.c/OpenModule/1286/Module
  Searching for module "PDF" using filename "pdf.la"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Module convert[12752]: module.c/GetMagickModulePath/556/Module
  Searching for coder module file "pdf.la" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Module convert[12752]: module.c/OpenModule/1295/Module
  Opening module at path "/usr/local/lib/ImageMagick-6.9.2//modules-Q8/coders/pdf.la"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Module convert[12752]: module.c/OpenModule/1322/Module
  Method "RegisterPDFImage" in module "PDF" at address 0x76c8a9ce4890
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Module convert[12752]: module.c/OpenModule/1336/Module
  Method "UnregisterPDFImage" in module "PDF" at address 0x76c8a9ce4a60
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Policy convert[12752]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="[PATH]/file.pdf" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Blob convert[12752]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Cache convert[12752]: cache.c/DestroyPixelCache/996/Cache
  destroy 
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/magic.xml"
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: magic.c/LoadMagicCache/789/Configure
  Loading magic configure file "/usr/local/etc/ImageMagick-6/magic.xml" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Policy convert[12752]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Coder; rights=Read; pattern="PDF" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Policy convert[12752]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="[PATH]/file.pdf" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Blob convert[12752]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Cache convert[12752]: cache.c/DestroyPixelCache/996/Cache
  destroy 
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Policy convert[12752]: policy.c/IsRightsAuthorized/574/Policy
  Domain: Path; rights=Read; pattern="[PATH]/file.pdf" ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Blob convert[12752]: blob.c/OpenBlob/2593/Blob
    read 3 magic header bytes
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-12752qz3L7nAmjE15
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/RelinquishUniqueFileResource/1041/Resource
  Relinquish /tmp/magick-12752qz3L7nAmjE15
2015-12-15T02:44:01+01:00 0:00.000 0.000u 6.9.2 Exception convert[12752]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-12752qz3L7nAmjE15.cache
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-12752P2hKRLoXJa5L
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/ImageMagick-6/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/lib/ImageMagick-6.9.2//config-Q8/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/etc/ImageMagick-6/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/usr/local/share/doc/ImageMagick-6/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.config/ImageMagick/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: configure.c/GetConfigureOptions/679/Configure
  Searching for configure file: "/root/.magick/delegates.xml"
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Configure convert[12752]: delegate.c/LoadDelegateCache/1497/Configure
  Loading delegate configuration file "/usr/local/etc/ImageMagick-6/delegates.xml" ...
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/501/Resource
  ...
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/AcquireUniqueFileResource/552/Resource
  Acquire /tmp/magick-12752vS9hF7e7JM8r
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Resource convert[12752]: resource.c/RelinquishUniqueFileResource/1041/Resource
  Relinquish /tmp/magick-12752vS9hF7e7JM8r
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Exception convert[12752]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-12752vS9hF7e7JM8r.cache
2015-12-15T02:44:02+01:00 0:00.000 0.000u 6.9.2 Exception convert[12752]: utility.c/ShredFile/1821/Exception
  Failed to remove: /tmp/magick-12752P2hKRLoXJa5L
Aborted
thank you beforehand
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert Aborted

Post by fmw42 »

Since it works fine for me, I would guess that your IM configuration (policy.xml) file may have you restricted in resources. But I will defer to the IM developers, since this is beyond my understanding.

Do you get any error messages without the -debug all? Does it just hang?
gishii
Posts: 9
Joined: 2015-12-13T12:51:19-07:00
Authentication code: 1151

Re: convert Aborted

Post by gishii »

nop without the -debug all y juste have the output : "Aborted"
gishii
Posts: 9
Joined: 2015-12-13T12:51:19-07:00
Authentication code: 1151

Re: convert Aborted

Post by gishii »

my config file :

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
<!ELEMENT policymap (policy)+>
<!ELEMENT policy (#PCDATA)>
<!ATTLIST policy domain (delegate|coder|filter|path|resource) #IMPLIED>
<!ATTLIST policy name CDATA #IMPLIED>
<!ATTLIST policy rights CDATA #IMPLIED>
<!ATTLIST policy pattern CDATA #IMPLIED>
<!ATTLIST policy value CDATA #IMPLIED>
]>
<!--
  Configure ImageMagick policies.

  Domains include system, delegate, coder, filter, path, or resource.

  Rights include none, read, write, and execute.  Use | to combine them,
  for example: "read | write" to permit read from, or write to, a path.

  Use a glob expression as a pattern.

  Suppose we do not want users to process MPEG video images:

    <policy domain="delegate" rights="none" pattern="mpeg:decode" />

  Here we do not want users reading images from HTTP:

    <policy domain="coder" rights="none" pattern="HTTP" />

  Lets prevent users from executing any image filters:

    <policy domain="filter" rights="none" pattern="*" />

  The /repository file system is restricted to read only.  We use a glob
  expression to match all paths that start with /repository:
  
    <policy domain="path" rights="read" pattern="/repository/*" />

  Any large image is cached to disk rather than memory:

    <policy domain="resource" name="area" value="1GB"/>

  Define arguments for the memory, map, area, and disk resources with
  SI prefixes (.e.g 100MB).  In addition, resource policies are maximums for
  each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB
  exceeds policy maximum so memory limit is 1GB).
-->
<policymap>
  <!-- <policy domain="resource" name="temporary-path" value="/tmp/"/> -->
  <policy domain="resource" name="memory" value="8GiB"/>
  <!-- <policy domain="resource" name="map" value="4GiB"/> -->
  <!-- <policy domain="resource" name="area" value="1GB"/> -->
  <!-- <policy domain="resource" name="disk" value="16EB"/> -->
  <!-- <policy domain="resource" name="file" value="768"/> -->
  <!-- <policy domain="resource" name="thread" value="4"/> -->
  <!-- <policy domain="resource" name="throttle" value="0"/> -->
  <!-- <policy domain="resource" name="time" value="3600"/> -->
  <!-- <policy domain="system" name="precision" value="6"/> -->
  <policy domain="cache" name="shared-secret" value="passphrase"/>
</policymap>
i can give you one of my pdf that bug if you want but only by PM
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: convert Aborted

Post by magick »

Post a URL by PM. We'll try to reproduce the problem. Your 17 page 13002.pdf file converted without complaint for us in only 5 seconds on our Fedora system. We used ImageMagick 6.9.2-8 and Ghostscript 9.16.
Post Reply