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
Post
by gishii » 2015-12-13T13:03:27-07:00
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
Post
by jarodxxx » 2015-12-13T15:14:45-07:00
Same problme for me !
I am on Mac , with the Terminal , convert return "aborted" and with the php exec function the return is 134
jarodxxx
Posts: 5 Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151
Post
by jarodxxx » 2015-12-13T16:05:12-07:00
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) ...
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2015-12-13T17:38:06-07:00
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2015-12-13T17:45:15-07:00
What is your version of Ghostscript?
You may need to upgrade to a current version.
jarodxxx
Posts: 5 Joined: 2015-12-13T15:11:34-07:00
Authentication code: 1151
Post
by jarodxxx » 2015-12-14T00:38:17-07:00
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2015-12-14T00:55:10-07:00
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
Post
by jarodxxx » 2015-12-14T14:46:15-07:00
I am trying to update Gs.
Have you try to convert my PDF ?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2015-12-14T15:08:11-07:00
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
Post
by gishii » 2015-12-14T18:48:06-07:00
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
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2015-12-14T19:53:58-07:00
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
Post
by gishii » 2015-12-15T00:24:39-07:00
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
Post
by gishii » 2015-12-15T02:24:10-07:00
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
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2015-12-15T03:29:22-07:00
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.