Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#750 some videos suffer lseek loop

Crash
pending
nobody
None
5
2013-03-28
2013-03-28
J.J. Green
No

Hi all,

I'm having mediainfo hanging on some videos -- running the command under strace I see that the program is in a loop, continually lseek-ing to the same position in the file. I added some debugging statements to

ZenLib/Source/ZenLib/File.cpp

(modified version attached) to print out some relevant numbers in File::GoTo and File::Position_Get, the output is

jjg@banach:~/MediaInfo_CLI_GNU_FromSource$ MediaInfo/Project/GNU/CLI/mediainfo ~/mycc_125_sg1.mxf
File::Position_get 0
File::Position_get 0
FromBegin
File::GoTo 3174247472
File::Position_get 3174247472
FromBegin
File::GoTo 12288
File::Position_get 12288
FromBegin
File::GoTo 12288
File::Position_get 12288
FromBegin
File::GoTo 12288

and then repeats forever.

This is on Linux, latest MediaInfo_CLI_GNU_FromSource, compiled with gcc 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1).

I would be happy to assist in the resolution of this, but unfortunately I am not able to provide a copy of the problem file (due to customer confidentiality), so this would need to be "remote debugging", which is always painful, I know.

Best wishes

Jim

1 Attachments

Discussion

  • so this would need to be "remote debugging", which is always painful, I know.

    You're totally right :), especially with such bug.

    we could see how to get only the header and footer of the MXF file (no video/audi content), or I (my company) can sign an NDA and provide a FTP private access without problem.
    Else it will be remote, but it is a lot longer to debug :(.

    Please contact me at info@mediaarea.net so we could see how we find the best method.

     
    • status: open --> pending