Infinite loop when problem opening a file and "loop one" selected

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.
cc109
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2019 20:29

Infinite loop when problem opening a file and "loop one" selected

Postby cc109 » 01 Apr 2019 20:37

I am not sure where to report this, and it is probably trivial for the VLC team to fix this.

When "loop one" is activated (which I leave activated most of the time), trying to open a file which for any reason cannot be opened (file deleted in between, network drive ceases to be available, file corrupted, etc), VLC goes into an infinite loop of attempting to re-open the file. This makes VLC unresponsive, and the only solution then seems to be to kill the process, which is sometimes challenging if the VLC windows is brought forward on each attempt to open the file, sending the Task Manager back to the background within milliseconds.

Happens on Win 7 + Win 10.

There should be some logic that if the file failed to open and "loop one/all" is activated, there shouldn't be more than n attempts made over a period of time.

Lotesdelere
Cone Master
Cone Master
Posts: 10002
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Infinite loop when problem opening a file and "loop one" selected

Postby Lotesdelere » 02 Apr 2019 11:37

Yes, confirmed, and it's the same behaviour when the connection to a stream is lost (without loop), you have to kill the process.
Old and very very annoying bug.

You should create a new ticket on the VLC Trac with the link to this thread.

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

Re: Infinite loop when problem opening a file and "loop one" selected

Postby Rémi Denis-Courmont » 02 Apr 2019 18:14

What makes VLC unresponsive is the error dialog repeatedly stealing the focus.

Try with the HTTP or RC interface instead of the GUI - it is perfectly possible to stop the playback even during a live loop of errors.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

cc109
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2019 20:29

Re: Infinite loop when problem opening a file and "loop one" selected

Postby cc109 » 02 Apr 2019 19:18

That may be the case but I am not sure what good it does to users of the GUI. Unless there is a way to set the error dialog in a mode that allows the user to take back control of the UI when that happens.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 43 guests