convert crashes on win64 converting PDf to JPG with -rotate

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
robmcg
Posts: 5
Joined: 2015-09-14T07:48:03-07:00
Authentication code: 1151

convert crashes on win64 converting PDf to JPG with -rotate

Post by robmcg »

Latest version windows 64 static or dll 6.x from download today or previous version from months back. can't be 100% sure but I think after a Windows update today running the following command:

d:\ImageMagick\convert -density 300 "\\share\filename.pdf" -units PixelsPerInch -background white -alpha remove -resize 50% -rotate -180 "\\share\temp\filename.jpg"

Creates a windows crash :

Faulting application convert.exe, version 6.9.2.1, time stamp 0x55f57ca0, faulting module MSVCR120.dll, version 12.0.21005.1, time stamp 0x524f83ff, exception code 0xc000001d, fault offset 0x000000000009a130, process id 0x1538, application start time 0x01d0eefc9c67c431.

and for previous version :

Faulting application convert.exe, version 6.9.2.0, time stamp 0x55cec30d, faulting module MSVCR120.dll, version 12.0.21005.1, time stamp 0x524f83ff, exception code 0xc000001d, fault offset 0x000000000009a130, process id 0x15c8, application start time 0x01d0eedc58d592fa.

Taking out the -rotate option and everything is happy!

I feel sure that this worked previously but maybe not. I have it working an another server that hasn't got the windows update (version 6.9.2.0)

Also tried to install the Visual C++ 2013 Redistributable Package but that didn't help.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by snibgo »

Bug-chasers like to have a reproducible problem, so providing the PDF that shows the problem would help. Also, other people can try on other machines, to narrow the problem to Windows only, or whatever.
snibgo's IM pages: im.snibgo.com
robmcg
Posts: 5
Joined: 2015-09-14T07:48:03-07:00
Authentication code: 1151

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by robmcg »

snibgo, thanks for the response, how do I attach a files? It happens on any PDF that I tried so not sure it is specific to a single PDF file!

Here is a file that will break it http://www.podbit.com/atest.pdf
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by snibgo »

That command on that file works fine for me, IM v6.9.1-6 on Windows 8.1.

I haven't come across that error message before, and have no idea what it means. A couple of things you might try:

Code: Select all

identify atest.pdf
The same convert command, but with "-debug all" at the start:

Code: Select all

d:\ImageMagick\convert -debug all -density 300 "\\share\filename.pdf" -units PixelsPerInch -background white -alpha remove -resize 50% -rotate -180 "\\share\temp\filename.jpg"
Post the text output here. This might tell people how far into the process it failed.

Beyond that, I can't help, sorry. The experts are needed.
snibgo's IM pages: im.snibgo.com
robmcg
Posts: 5
Joined: 2015-09-14T07:48:03-07:00
Authentication code: 1151

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by robmcg »

here is the debug trace Please ignore the installed folder name it is actually the 6.9.X.X version

2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: utility.c/ExpandFilenames/935/Configure
Command line: d:\ImageMagick-6.7.5-Q8\convert {-debug} {all} {-density} {300} {\\pserver\pserversharec\icconvertdir\8738768768\SQLSERVEREP_1508280838570024.pdf} {-rotate} {180} {-units} {PixelsPerInch} {-background} {white} {-alpha} {remove} {-resize} {50%} {-rotate} {180} {\\pserver\ic\temp\8738768768\8769869869\1442235170879\19272sqlserverep_1508280838570024.jpg}
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "D:\ImageMagick-6.7.5-Q8\coder.xml"
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.config\ImageMagick\coder.xml"
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.magick\coder.xml"
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: coder.c/LoadCoderCache/821/Configure
Loading coder configuration file "D:\ImageMagick-6.7.5-Q8\coder.xml" ...
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1270/Module
Searching for module "PDF" using filename "IM_MOD_RL_PDF_.dll"
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Module convert.exe[3812]: module.c/GetMagickModulePath/556/Module
Searching for coder module file "IM_MOD_RL_PDF_.dll" ...
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
CoderModulesPath
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1279/Module
Opening module at path "D:\ImageMagick-6.7.5-Q8\modules\coders\IM_MOD_RL_PDF_.dll"
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1306/Module
Method "RegisterPDFImage" in module "PDF" at address 000007FEF04C2950
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1320/Module
Method "UnregisterPDFImage" in module "PDF" at address 000007FEF04C2BF0
2015-09-14T17:10:23+01:00 0:00.000 0.000u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Path; rights=Read; pattern="\\pserver\pserversharec\icconvertdir\8738768768\SQLSERVEREP_1508280838570024.pdf" ...
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Blob convert.exe[3812]: blob.c/OpenBlob/2587/Blob
read 3 magic header bytes
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Cache convert.exe[3812]: cache.c/DestroyPixelCache/991/Cache
destroy
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "D:\ImageMagick-6.7.5-Q8\magic.xml"
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.config\ImageMagick\magic.xml"
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.magick\magic.xml"
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Configure convert.exe[3812]: magic.c/LoadMagicCache/789/Configure
Loading magic configure file "D:\ImageMagick-6.7.5-Q8\magic.xml" ...
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Coder; rights=Read; pattern="PDF" ...
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Path; rights=Read; pattern="\\pserver\pserversharec\icconvertdir\8738768768\SQLSERVEREP_1508280838570024.pdf" ...
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Blob convert.exe[3812]: blob.c/OpenBlob/2587/Blob
read 3 magic header bytes
2015-09-14T17:10:23+01:00 0:00.062 0.000u 6.9.2 Cache convert.exe[3812]: cache.c/DestroyPixelCache/991/Cache
destroy
2015-09-14T17:10:24+01:00 0:00.078 0.016u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Path; rights=Read; pattern="\\pserver\pserversharec\icconvertdir\8738768768\SQLSERVEREP_1508280838570024.pdf" ...
2015-09-14T17:10:24+01:00 0:00.078 0.016u 6.9.2 Blob convert.exe[3812]: blob.c/OpenBlob/2587/Blob
read 3 magic header bytes
2015-09-14T17:10:24+01:00 0:00.078 0.016u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/501/Resource
...
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/550/Resource
Acquire C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812reI7unc_Iyex
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/501/Resource
...
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/550/Resource
Acquire C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812OcHrFs9Km8LG
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "D:\ImageMagick-6.7.5-Q8\delegates.xml"
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.config\ImageMagick\delegates.xml"
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: configure.c/GetConfigureOptions/679/Configure
Searching for configure file: "C:\Users\Administrator.PRESENCEUK\.magick\delegates.xml"
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: delegate.c/LoadDelegateCache/1497/Configure
Loading delegate configuration file "D:\ImageMagick-6.7.5-Q8\delegates.xml" ...
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.093 0.031u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/501/Resource
...
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireUniqueFileResource/550/Resource
Acquire C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishUniqueFileResource/1039/Resource
Relinquish C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Exception convert.exe[3812]: utility.c/ShredFile/1814/Exception
Failed to remove: C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP.cache
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTLocateGhostscript/1073/Configure
Ghostscript ((null)) version 0.00
2015-09-14T17:10:24+01:00 0:00.109 0.047u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Delegate; rights=Execute; pattern="gswin32c.exe" ...
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishUniqueFileResource/1039/Resource
Relinquish C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812OcHrFs9Km8LG
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Exception convert.exe[3812]: utility.c/ShredFile/1814/Exception
Failed to remove: C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812OcHrFs9Km8LG.cache
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishUniqueFileResource/1039/Resource
Relinquish C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812reI7unc_Iyex
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Exception convert.exe[3812]: utility.c/ShredFile/1814/Exception
Failed to remove: C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812reI7unc_Iyex.cache
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Path; rights=Read; pattern="C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1" ...
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Blob convert.exe[3812]: blob.c/OpenBlob/2587/Blob
read 3 magic header bytes
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Cache convert.exe[3812]: cache.c/DestroyPixelCache/991/Cache
destroy
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1270/Module
Searching for module "PNG" using filename "IM_MOD_RL_PNG_.dll"
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Module convert.exe[3812]: module.c/GetMagickModulePath/556/Module
Searching for coder module file "IM_MOD_RL_PNG_.dll" ...
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
CoderModulesPath
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1279/Module
Opening module at path "D:\ImageMagick-6.7.5-Q8\modules\coders\IM_MOD_RL_PNG_.dll"
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1306/Module
Method "RegisterPNGImage" in module "PNG" at address 000007FEEF86AF20
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Module convert.exe[3812]: module.c/OpenModule/1320/Module
Method "UnregisterPNGImage" in module "PNG" at address 000007FEEF86B5A0
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Coder; rights=Read; pattern="PNG" ...
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Coder convert.exe[3812]: png.c/ReadPNGImage/3907/Coder
Enter ReadPNGImage()
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Policy convert.exe[3812]: policy.c/IsRightsAuthorized/574/Policy
Domain: Path; rights=Read; pattern="C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1" ...
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Blob convert.exe[3812]: blob.c/OpenBlob/2587/Blob
read 3 magic header bytes
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Map: 95.1KB/92.9KiB/14.389GiB
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2024/Coder
Enter ReadOnePNGImage()
IM version = 6.9.2-1
Libpng version = 1.6.17
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2037/Coder
Zlib version = 1.2.8
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2067/Coder
Before reading:
image->matte=0
image->rendering_intent=2
image->colorspace=13
image->gamma=0.454545
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Coder convert.exe[3812]: png.c/MagickPNGWarningHandler/1653/Coder
libpng-1.6.17 warning: iCCP: profile 'default_rgb.icc': 0h: PCS illuminant is not D50
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "D:\ImageMagick-6.7.5-Q8\locale.xml"
2015-09-14T17:10:26+01:00 0:02.606 0.047u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "C:\Users\Administrator.PRESENCEUK\.config\ImageMagick\locale.xml"
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "C:\Users\Administrator.PRESENCEUK\.magick\locale.xml"
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: locale.c/LoadLocaleCache/1176/Configure
Loading locale configure file "D:\ImageMagick-6.7.5-Q8\locale.xml" ...
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1878/Configure
SOFTWARE\ImageMagick\6.9.2\Q:8
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: nt-base.c/NTRegistryKeyLookup/1899/Configure
ConfigurePath
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "D:\ImageMagick-6.7.5-Q8\english.xml"
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "C:\Users\Administrator.PRESENCEUK\.config\ImageMagick\english.xml"
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Locale convert.exe[3812]: locale.c/GetLocaleOptions/825/Locale
Searching for locale file: "C:\Users\Administrator.PRESENCEUK\.magick\english.xml"
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Configure convert.exe[3812]: locale.c/LoadLocaleCache/1176/Configure
Loading locale configure file "D:\ImageMagick-6.7.5-Q8\english.xml" ...
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Exception convert.exe[3812]: png.c/MagickPNGWarningHandler/1656/Exception
iCCP: profile 'default_rgb.icc': 0h: PCS illuminant is not D50 `C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1'
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2352/Coder
PNG width: 2541, height: 3410
PNG color_type: 6, bit_depth: 8
PNG compression_method: 0
PNG interlace_method: 0, filter_method: 0
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2368/Coder
Found PNG iCCP chunk.
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2436/Coder
Reading PNG iCCP chunk.
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2500/Coder
Got a 2576-byte ICC profile not recognized as sRGB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2671/Coder
Reading PNG pHYs chunk: xres: 11811, yres: 11811, units: 1.
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2781/Coder
Reading PNG bKGD chunk, raw ping_background=(65535,65535,65535).
bkgd_scale=257. ping_background=(65535,65535,65535).
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/2802/Coder
image->background_color=(255,255,255).
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3067/Coder
Reading PNG IDAT chunk(s)
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Memory: 10.2KB/9.93KiB/7.1943GiB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3081/Coder
Converting PNG pixels to pixel packets
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Width: 2.54KB/2.54KB/429.5MB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Height: 3.41KB/3.41KB/429.5MB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Area: 34.66MB/34.66MB/15.45GB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Resource convert.exe[3812]: resource.c/AcquireMagickResource/312/Resource
Memory: 34.66MB/33.06MiB/7.1943GiB
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Cache convert.exe[3812]: cache.c/OpenPixelCache/3627/Cache
open C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1[0] (Heap Memory, 2541x3410 33.05MiB)
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3163/Coder
Looking for cheap transparent pixel
2015-09-14T17:10:26+01:00 0:02.622 0.062u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3173/Coder
...got one.
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3396/Coder
Found transparent pixel
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3557/Coder
image->colorspace=13
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3575/Coder
Reading PNG text chunk
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3628/Coder
length: 20
Keyword: Software
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishMagickResource/1002/Resource
Memory: 10.2KB/33.05MiB/7.1943GiB
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadOnePNGImage/3860/Coder
exit ReadOnePNGImage()
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishMagickResource/1002/Resource
Map: 95.1KB/0B/14.389GiB
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadPNGImage/3983/Coder
page.w: 0, page.h: 0,page.x: 0, page.y: 0.
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Coder convert.exe[3812]: png.c/ReadPNGImage/3989/Coder
exit ReadPNGImage()
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Resource convert.exe[3812]: resource.c/RelinquishUniqueFileResource/1039/Resource
Relinquish C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Exception convert.exe[3812]: utility.c/ShredFile/1814/Exception
Failed to remove: C:/Users/ADMINI~1.PRE/AppData/Local/Temp/2/magick-3812Mql4r2TlFsMP1.cache
2015-09-14T17:10:26+01:00 0:02.918 0.359u 6.9.2 Cache convert.exe[3812]: cache.c/DestroyPixelCache/991/Cache
destroy
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by snibgo »

I should have noticed, but didn't, that you read/write from/to ""\\share\...". So both operations are over the network. Try copying the file to your local disk, then repeating the command, writing the output to your local disk.
snibgo's IM pages: im.snibgo.com
robmcg
Posts: 5
Joined: 2015-09-14T07:48:03-07:00
Authentication code: 1151

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by robmcg »

Nope, same issue, A byte input stream wouldn't really know the difference between a network shared file and a local file as the file input stream would deal with that first. I noticed you tried against an earlier release and not the one(s) I am reporting the bug against. In the trace I see it is failing to remove temp resources, looking at the dir those resources are not there - possible cause?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by dlemstra »

Can you create a crashdump and share this with us? Feel free to send me a PM if you don't want to share this publicly.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
robmcg
Posts: 5
Joined: 2015-09-14T07:48:03-07:00
Authentication code: 1151

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by robmcg »

PM sent, many thanks
xomero
Posts: 3
Joined: 2015-10-16T09:26:07-07:00
Authentication code: 1151

Re: convert crashes on win64 converting PDf to JPG with -rotate

Post by xomero »

Hey guys did you get this to work?, I have the same issue in Centos7 IM 6.9.1
However not in Centos 6 same IM
Post Reply