[BUG] Crash when playing FFv1 video too fast

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

[BUG] Crash when playing FFv1 video too fast

Postby b-frame » 25 Jan 2012 21:27

I've found a bug in VLC media player on Windows. Everytime I play a FFv1 video faster than the player can load / decode it, it crashes. It's reproduceable. Google found this old thread, where someone had the same probleme but didn't realize that it's a question of speed. So if you have a fast computer you'll probably never see vlc crash like this. I downloaded the file http://toenderup.de/ffv1.avi which has been uploaded by Rubi and I can perfectly reproduce it.

I was not able to send a crash report by the way. Since a few days vlc says, the FTP server isn't accessable:
---------------------------
Report sending failed
---------------------------
There was an error while connecting to the FTP server. Thanks a lot for the help anyway.
---------------------------
OK
---------------------------
So I looked for the crashdump file on my own and found it, but its size was only 3 Bytes. I guess it can't contain useful information.

OS: Windows Vista 32 bit
VLC version: 1.1.11
Intel Core 2 Duo E4700 2,6 GHz
AMD Radeon HD 5670

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [BUG] Crash when playing FFv1 video too fast

Postby Jean-Baptiste Kempf » 26 Jan 2012 14:41

Hmm. Annoying. Does it play with ffplay faster?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 26 Jan 2012 19:59

Stupid question: Could you give me an exact command line how to enable the ffplay-codec? I tried these two:

Code: Select all

vlc -vvv --codec ffplay ffv1.avi vlc -vvv --codec=ffplay ffv1.avi
In both cases, vlc still crashed and wrote this line into the log:

Code: Select all

avcodec debug: ffmpeg codec (FFMpeg Video 1) started

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [BUG] Crash when playing FFv1 video too fast

Postby Jean-Baptiste Kempf » 27 Jan 2012 14:34

ffplay codecs? that means nothing.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: [BUG] Crash when playing FFv1 video too fast

Postby VLC_help » 27 Jan 2012 19:21

I cannot replicate the crash with VLC 2.0.0-rc1

I tried with

Code: Select all

vlc --rate=32 ffv1.avi
no crash with my e7300

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 27 Jan 2012 20:59

Okay, now i realized that ffplay is a player and not a codec. So I downloaded and tried it. As there seems to be no option to speed up the playback in ffplay, I created a new, more complex ffv1 file which makes vlc crash even with 1.00x speed. (It has peak bitrates of > 180 MBit/s.) The Result: ffplay isn't able to play the file at normal speed (of course) but it doesn't crash and shows the video in slow motion. I wanted to upload the new file to the FTP-sample server, but I can't (or don't know how to) connect.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 27 Jan 2012 23:41

I downloaded vlc 2.0 rc1 and it still crashes with the new file. The old file doesn't make it crash but I only see a black picture instead of the video. :?:

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: [BUG] Crash when playing FFv1 video too fast

Postby VLC_help » 29 Jan 2012 16:09

Can you upload the problematic file to some file sharing service? Like to http://www.multiupload.com/

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 30 Jan 2012 11:41

Thank you for the link. Multiupload.com is currently not working but at least it gave me links to other filehosters. So here is the file:
http://www.fileserve.com/file/bZDMAng (265 MiB)

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: [BUG] Crash when playing FFv1 video too fast

Postby VLC_help » 30 Jan 2012 18:10

I'll check that file during weekend.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: [BUG] Crash when playing FFv1 video too fast

Postby VLC_help » 05 Feb 2012 13:39

I tried with vlc-2.0.0-rc1-20120205-0203 using --rate=36 but I cannot get it to crash.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 05 Feb 2012 19:13

Okay, I (re-)downloaded "vlc 2.0.0-rc1 Twoflower" version from http://download.videolan.org/pub/testin ... rc1/win32/. I'm not sure, whether this is the same version as "vlc-2.0.0-rc1-20120205-0203". I tested it both on Windows Vista and on Win XP. Here is the result:

Vista: The player doesn't really crash. It plays the video but you only get to see the first frame at best (all the other frames are dropped). When the time of the video is over, vlc still causes full cpu load on one core for a while (as if it catches up decoding the dropped frames). The memory behaviour of vlc is interesting during playback. First, vlc has a RAM consumption of about 6 MB. While the progress bar moves to the right, the memory consumption increases up to 170 MB. Then it decreases again to about 20 MB. Seems like vlc keeps dropped frames in memory until they're finally decoded after the playback time is over. When i set --rate=0.25, then I see more frames and the memory consumption reaches "only" about 60 MB peak. It is not possible to close vlc, before it's ready with this strange cleanup procedure.

XP: The player crashes like before and offers to send a bug report. This time, the bug report was succesful so it may help you. I submitted it at 18:27 in the time zone of Germany.

The VIsta computer is a real machine, whereas the XP system is simulated using VirtualBox. I can provide further details about the systems if you wish to, but I'm not sure whether this is relevant and don't wanna spam around.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: [BUG] Crash when playing FFv1 video too fast

Postby VLC_help » 06 Feb 2012 19:06

You know GDB? Backtrace from the XP would be nice.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 06 Feb 2012 21:41

Okay, this is the first time I used the GNU Debugger by command line. This is my output:

Code: Select all

Reading symbols from C:\Dokumente und Einstellungen\Administrator\Eigene Dateien \vlc-2.0.0-rc1\vlc.exe...(no debugging symbols found)...done. (gdb) run Starting program: C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\vl c-2.0.0-rc1\vlc.exe [New Thread 1212.0x510] [New Thread 1212.0x528] [New Thread 1212.0x5f8] [New Thread 1212.0x618] [New Thread 1212.0x43c] [New Thread 1212.0x440] [New Thread 1212.0x19c] [New Thread 1212.0x494] [New Thread 1212.0x5b8] [New Thread 1212.0x2d4] [New Thread 1212.0x310] [New Thread 1212.0x428] [New Thread 1212.0x2cc] [New Thread 1212.0x2a0] [New Thread 1212.0x504] warning: SuspendThread failed. (winerr 5) Error in re-setting breakpoint -128: PC register is not available [New Thread 1212.0x780] [New Thread 1212.0x6c8] [New Thread 1212.0x140] [New Thread 1212.0x1b8] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1212.0x2a0] 0x03f6ad66 in wined3d!WineDirect3DCreateClipper () from C:\WINDOWS\system32\wined3d.dll
Hope it helps. If not, maybe you can tell me which additional parameters I should use to get more precise results.

b-frame
Blank Cone
Blank Cone
Posts: 42
Joined: 13 Sep 2010 17:00

Re: [BUG] Crash when playing FFv1 video too fast

Postby b-frame » 06 Feb 2012 21:50

Looking at the GDB-output, i was wondering why the log talks about "wined3d". I know Wine is used on Linux systems to simulate WinAPI functions. If i remember correctly, VirtualBox also uses Wine to simulate DirectX API functions. So I got the idea of changing the video output method from "Standard" to "OpenGL", and *tatata* vlc doesn't crash any more. :) It behaves the same way as it does on Vista.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests