Page 1 of 1

Possible bug loading PSDs

Posted: 2013-03-06T11:45:26-07:00
by richerm
I'm using a pretty basic command line to try to convert a PSD to PNG.

Code: Select all

convert.exe -debug "All" "D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd[0]" -density 72 -depth 8 "D:\Output.PNG"
No error is outputted to the console but app. faults and crashes on Windows. I'm using the latest release build 6.8.3-5 and I've tried both x86 and x64 builds.

Debug output:

Code: Select all

2013-03-06T13:45:02-05:00 0:00.002 0.000u 6.8.3 Configure convert.exe[9084]: utility.c/ExpandFilenames/936/Configure
  Command line: D:\ImageMagick\convert.exe {-debug} {All} {D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd[0]} {-density} {72} {-depth} {8} {D:\Output.png}
2013-03-06T13:45:02-05:00 0:00.007 0.000u 6.8.3 Policy convert.exe[9084]: policy.c/IsRightsAuthorized/485/Policy
  Domain: Path; rights=Read; pattern="D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd" ...
2013-03-06T13:45:02-05:00 0:00.007 0.000u 6.8.3 Blob convert.exe[9084]: blob.c/OpenBlob/2533/Blob
    read 3 magic header bytes
2013-03-06T13:45:02-05:00 0:00.008 0.000u 6.8.3 Cache convert.exe[9084]: cache.c/DestroyPixelCache/954/Cache
  destroy 
2013-03-06T13:45:02-05:00 0:00.008 0.000u 6.8.3 Configure convert.exe[9084]: nt-base.c/NTRegistryKeyLookup/1714/Configure
  SOFTWARE\ImageMagick\6.8.3\Q:16
2013-03-06T13:45:02-05:00 0:00.008 0.000u 6.8.3 Configure convert.exe[9084]: nt-base.c/NTRegistryKeyLookup/1735/Configure
  ConfigurePath
2013-03-06T13:45:02-05:00 0:00.008 0.000u 6.8.3 Configure convert.exe[9084]: configure.c/GetConfigureOptions/589/Configure
  Searching for configure file: "C:\Program Files\ImageMagick-6.8.3-Q16\magic.xml"
2013-03-06T13:45:02-05:00 0:00.009 0.000u 6.8.3 Configure convert.exe[9084]: configure.c/GetConfigureOptions/589/Configure
  Searching for configure file: "C:\Users\Matt\.magick\magic.xml"
2013-03-06T13:45:02-05:00 0:00.009 0.000u 6.8.3 Configure convert.exe[9084]: magic.c/LoadMagicList/681/Configure
  Loading magic configure file "C:\Program Files\ImageMagick-6.8.3-Q16\magic.xml" ...
2013-03-06T13:45:02-05:00 0:00.010 0.000u 6.8.3 Policy convert.exe[9084]: policy.c/IsRightsAuthorized/485/Policy
  Domain: Coder; rights=Read; pattern="PSD" ...
2013-03-06T13:45:02-05:00 0:00.011 0.000u 6.8.3 Policy convert.exe[9084]: policy.c/IsRightsAuthorized/485/Policy
  Domain: Path; rights=Read; pattern="D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd" ...
2013-03-06T13:45:02-05:00 0:00.011 0.000u 6.8.3 Blob convert.exe[9084]: blob.c/OpenBlob/2533/Blob
    read 3 magic header bytes
2013-03-06T13:45:02-05:00 0:00.012 0.016u 6.8.3 Cache convert.exe[9084]: cache.c/DestroyPixelCache/954/Cache
  destroy 
2013-03-06T13:45:02-05:00 0:00.012 0.016u 6.8.3 Policy convert.exe[9084]: policy.c/IsRightsAuthorized/485/Policy
  Domain: Path; rights=Read; pattern="D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd" ...
2013-03-06T13:45:02-05:00 0:00.013 0.016u 6.8.3 Blob convert.exe[9084]: blob.c/OpenBlob/2533/Blob
    read 3 magic header bytes
2013-03-06T13:45:02-05:00 0:00.013 0.016u 6.8.3 Coder convert.exe[9084]: psd.c/ReadPSDImage/825/Coder
    Image is 993 x 921 with channels=3, depth=8, mode=RGB
2013-03-06T13:45:02-05:00 0:00.013 0.016u 6.8.3 Resource convert.exe[9084]: resource.c/AcquireMagickResource/278/Resource
  Area: 7.316MB/7.316MB/12.866GB
2013-03-06T13:45:02-05:00 0:00.013 0.016u 6.8.3 Resource convert.exe[9084]: resource.c/AcquireMagickResource/278/Resource
  Memory: 7.316MB/6.977MiB/5.9913GiB
2013-03-06T13:45:02-05:00 0:00.013 0.016u 6.8.3 Cache convert.exe[9084]: cache.c/OpenPixelCache/3663/Cache
  open D:\56b7d9f3-a59a-49c0-af93-f7efc8506895.psd[0] (Heap Memory, 993x921 6.977MiB)
2013-03-06T13:45:02-05:00 0:00.017 0.016u 6.8.3 Coder convert.exe[9084]: psd.c/ReadPSDImage/912/Coder
    reading image resource blocks - 3838460 bytes
Event Log Output:

Code: Select all

Faulting application name: convert.exe, version: 1.0.0.0, time stamp: 0x512b1db5
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec4aa8e
Exception code: 0xc00000fd
Fault offset: 0x0000000000054f4a
Faulting process id: 0x1fb4
Faulting application start time: 0x01ce1a987b3f09a5
Faulting application path: D:\ImageMagick\convert.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: d88936a1-868b-11e2-bf36-002618823912
Any thoughts/ideas?

Thanks!

Matt