Opened 16 years ago

Last modified 13 years ago

#1097 new defect

mencoder freezing with 100% CPU messages on a broken m4v file

Reported by: admin@… Owned by: reimar
Priority: important Component: demuxer
Version: HEAD Severity: major
Keywords: Cc: reimar, compn, admin@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Download http://blip.tv/file/get/Map-games20080523bonushd241.m4v. It apparently has some headers broken as evident from:

mencoder Map-games20080523bonushd241.m4v -o Map-games20080523bonushd241.avi
MEncoder dev-SVN-r26924-4.2.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0 data: 0x0 - 0xa8fd000
libavformat file format detected.
LAVF: no audio or video headers found - broken file?
ISO: Unknown File Type Major Brand: M4VH
MOV: missing data (mdat) chunk! Maybe broken file...

<<<freeze, with top showing 100% cpu.

BTW, the 1.0rc2 freezes but in addition floods with endless "Seek failed":
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
...

While it's true that the file may be broken, mencoder shouldn't go into an endless loop using 100% cpu (or flood the disk with Seek failed until out of space - brought my machine down a few times).

Change History (4)

comment:1 by admin@…, 16 years ago

Cc: admin@… added

Actually, just trying it with the very latest HEAD on another machine has the same flood:

mencoder Map-games20080523bonushd241.m4v -o a.avi
MEncoder dev-SVN-r26968-4.2.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 0 data: 0x0 - 0xa8fd000
libavformat file format detected.
LAVF: no audio or video headers found - broken file?
ISO: Unknown File Type Major Brand: M4VH
MOV: missing data (mdat) chunk! Maybe broken file...
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
...

Not sure why there's no flood with the version in the topic.

comment:2 by admin@…, 16 years ago

any comments on this issue?

comment:3 by compn, 13 years ago

Cc: patriotact@… added

well its not using 100% cpu here. but still seems to seek into whole file.

comment:4 by compn, 13 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.