DDS question... cpu usage issue - 303e3e4a

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
Posts: 82
Joined: 2014-10-03T21:38:50-07:00
Authentication code: 6789

DDS question... cpu usage issue - 303e3e4a

Post by JodieC »

Source file:

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 ( 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:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

ImageMagick 6 compiled from SVN checkout 20150109
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
Post Reply