VLC/LibVLC DeadLock on connection lost

This forum is about all development around libVLC.
MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

VLC/LibVLC DeadLock on connection lost

Postby MikOfClassX » 23 Sep 2019 10:09

Hi, I am experiencing a deadlock when playing internet streams on unstable connections.

Simple test case ( vlc win 3.0.8 ):
- open VLC and add this sample source:

Code: Select all

http://interalmeria.tv/directo/live.m3u8
, play it.
- disconnect the network cable. VLC will consume buffers and then will hang on a frame.
- check the CPU. Will be very high for VLC.
- re-connect the cable. VLC still hangs. You'll have to kill it from task manager.

The same applies with libVLC.
I'm not getting notifications about errors (libvlc_MediaPlayerEncounteredError), so I can't recover or try to notify users that something is wrong.

Cheers,
Mik

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

Re: VLC/LibVLC DeadLock on connection lost

Postby Rémi Denis-Courmont » 23 Sep 2019 18:57

Get a symbolic trace and file a bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MikOfClassX
Blank Cone
Blank Cone
Posts: 48
Joined: 29 Dec 2018 10:23

Re: VLC/LibVLC DeadLock on connection lost

Postby MikOfClassX » 24 Sep 2019 10:47

Tried to get the trace with GDB

- With "target exec", VLC is no longer capable to open the stream [url]http://interalmeria.tv/directo/live.m3u8[/url].
- Attaching to the VLC process after starting VLC (stream running now), will hang VLC.

So, no way to get the trace. I'm using VLC debug version vlc-3.0.8-20190822-0510

Anyway the test is very simple. How can I help ?

Cheers,

Mik


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests