Till Klister wrote: > Hi all, > > I noticed that mminfo loops infinitely for some pictures and bogus mp3 > files. Check out the traces attached. The jpg trace was made by > calling parse function on picture.jpg. > > I believe there is a problem with file.seek(offset[,whence]). > See http://docs.python.org/library/stdtypes.html?highlight=seek#file.seek
No, it is not caused by seek and it is no infinite loop. dump_IFD tried to parse 18761 entries in the EXIF header maker note and the first entry itself calls s2n around 50.500 times. I guess it will finish in some hours. Anyway, I added a small check to prevent kaa.metadata from trying to parse too many entries. But EXIF.py has again proven to very unreliable. Any idea how to replace it? Can you send me a mp3 file with the problem in a private mail please? Dischi -- This fortune would be seven words long if it were six words shorter. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel