Page 1 of 1

DDS question... cpu usage issue - 303e3e4a

Posted: 2015-01-11T09:40:32-07:00
by JodieC
Source file:
https://www.dropbox.com/s/bsyxvtiszri25q6/303e3e4a?dl=0

To reproduce:

Code: Select all

convert 303e3e4a null:
This image shows up as 32x32 in Identify

Code: Select all

~/ImageMagick-6/utilities/identify 303e3e4a 
303e3e4a DDS 32x32 32x32+0+0 8-bit sRGB 788B 0.000u 0:00.000
However when I run the conversion, it runs for 5m30s.
Valgrind never finished, but when I cancelled, the output reports that convert is spending about 60 billion calls in SkipDXTMipmaps, and further in SeekBlob (libMagickCore-6.Q16.so.2.0.0: blob.c,), but I don't have debug symbols for that for some reason.

This performs a little better on my other systems (as little as 38 seconds on my desktop) but I was curious if you could reproduce the issue, or if there was any issue in the DDS decoder.


System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

ImageMagick 6 compiled from SVN checkout 20150109

Re: DDS question... cpu usage issue - 303e3e4a

Posted: 2015-01-11T12:12:04-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-4 Beta, available by sometime tomorrow. Thanks.