Infinite loop with Windows Media DRM

Started by Archive, May 12, 2010, 08:54:06 AM

Previous topic - Next topic

Archive

[Originally posted by humyo on 2007-07-13 20:06:06-07]

Hi,

Windows media files (ASF/WMA/WMV) with Windows Media DRM seem to make exiftool enter an infinite loop (100% CPU).

e.g. with the testfile from http://www.dansplace.co.uk/test.wma" target="_blank">http://www.dansplace.co.uk/test.wma.

exiftool text.wma

I'm guess this is not intentional. Of course the meta information may not be accessible but returning nothing would probably be better than entering an infinite loop.

I've not done any investigation into where the loop is yet.

Dan

Archive

[Originally posted by exiftool on 2007-07-14 12:09:34-07]

Hi Dan,

Thank you very much for pointing out this bug and for providing
the sample for testing.  I have been able to reproduce this problem,
and fixed it here in my development version of exiftool.  The bug fix
will appear in the next ExifTool release.  An endless loop is a problem
that I take very seriously, and is definitely not intentional. Crash and/or
hang bugs should not happen, and I have worked hard to keep bugs like
this out of exiftool.

BTW, the reason this bug was exposed is that your file is corrupted.
It actually crashes Windows Media Player on my system, but good luck
trying to get Microsoft to fix this problem in their software... https://exiftool.org/forum/Smileys/default/tongue.gif" alt="Tongue" border="0" />

- Phil

Archive

[Originally posted by humyo on 2007-07-15 08:24:52-07]

Phil,

Sorry, I didn't realise it was corrupted, it opens in windows media player on my XP system - pops up the acquire license window.

Thank you so much for the fix!

Dan

Archive

[Originally posted by humyo on 2007-07-15 16:04:50-07]

Phil,

Is there any chance of getting the patch for this prior to the next release?

It's making my mod_perl's go into 100% CPU loops!

Dan

Archive

[Originally posted by exiftool on 2007-07-16 11:49:28-07]

Sorry, for some reason I thought you were using the Windows stand-alone
version or I would have already added this to the pre-release for you.

But I have done it now, and you can try out the new code by downloading the
https://exiftool.org/Image-ExifTool-6.94.tar.gz" target="_blank">6.94
pre-release.

- Phil