Excessive CPU in HDR image - IM6 SVN - convert - 3c1c3e63
Posted: 2015-01-24T22:16:06-07:00
Source file:
https://www.dropbox.com/s/o2dwadu5ti11nwn/3c1c3e63?dl=0
To reproduce:
limit cpu to n seconds via
Then run
or
Output:
With the ulimit:
Aborted
Without the ulimit:
No output... It just runs for hours.
I don't have a handy BT on this right now, but I did run it through valgrind --tool=callgrind for about 20-30 seconds or so. When I pulled it into kcachegrind it apparently spent 800K calls in ReadHDRImage and 500K to ReadBlobByte. That's a lot for a <1KB file.
I'm running on Im6 from SVN rev17767.
System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )
https://www.dropbox.com/s/o2dwadu5ti11nwn/3c1c3e63?dl=0
To reproduce:
limit cpu to n seconds via
Code: Select all
ulimit -St 600
Code: Select all
convert 3c1c3e63 null:
Code: Select all
identify 3c1c3e63
With the ulimit:
Aborted
Without the ulimit:
No output... It just runs for hours.
I don't have a handy BT on this right now, but I did run it through valgrind --tool=callgrind for about 20-30 seconds or so. When I pulled it into kcachegrind it apparently spent 800K calls in ReadHDRImage and 500K to ReadBlobByte. That's a lot for a <1KB file.
I'm running on Im6 from SVN rev17767.
System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )