Attempting to repeat an invalid file: VLC gets unresponsive

*nix specific usage questions
masoud
New Cone
New Cone
Posts: 1
Joined: 29 Jul 2014 03:25

Attempting to repeat an invalid file: VLC gets unresponsive

Postby masoud » 29 Jul 2014 03:41

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 29 Jul 2014 20:02

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...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

xeztllor
New Cone
New Cone
Posts: 2
Joined: 14 Jul 2019 17:30

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

Postby xeztllor » 02 Sep 2019 09:30

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!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests