Page 1 of 1

Attempting to repeat an invalid file: VLC gets unresponsive

Posted: 29 Jul 2014 03:41
by masoud
VLC can't handle opening an invalid file for repeating. How to reproduce my problem:

Code: Select all

$ echo "vlc" > file $ vlc -R file
VLC constantly tries to open the file and constantly spits out error messages, effectively going into an infinite loop, using up 100% of a processor core and after a few seconds X server hangs

I tested this on a win-7. It is a problem on there too, it won't freeze the whole thing but VLC still becomes unresponsive and uses up all 100% of cpu.

Re: Attempting to repeat an invalid file: VLC gets unrespons

Posted: 29 Jul 2014 20:02
by RĂ©mi Denis-Courmont
We are aware of the inconvenience, but this is more or less working as specified. There are many ways to trigger infinite busy loops from the command lines, and not just with VLC.

Some use cases depend on --repeat to work as it does...

Re: Attempting to repeat an invalid file: VLC gets unresponsive

Posted: 02 Sep 2019 09:30
by xeztllor
The issue is relevant, when contolling VLC via the GUI, because it should still be responsive in order to disable repeat mode!
A counter measure would be to either change the way the repeat interferes with the GUI processing or to implement a option to stop repeating after a given number of playback attempts according to some setting. Is there such setting and I have missed it? It can be *very* helpful!