Process Stuck during stopping Media player

This forum is about all development around libVLC.
Won
New Cone
New Cone
Posts: 5
Joined: 18 Feb 2013 10:44

Process Stuck during stopping Media player

Postby Won » 20 Feb 2013 14:48

Hello VLC Developers.

I really have a big problem about my project that contains VLCMedia Library.
The process is stuck sometimes during stopping Media player. It is not always stuck, but very oftenly. I got read some posts with similar problem in this forum, but I still don't get it how to fix this. I am a biginner of this. I really need your helps.
I am gladly appreciated for Any hand and comment. Please help me out to get rid of this problem.

Won.

P. S. My development environment is quite good. VS2010 on a workstation consisted 48GB RAM, Twin Hexa core CPU, and so on. If it is stuck by resource problem, please let me know how to force the memory allocation of VLC increased.

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

Re: Process Stuck during stopping Media player

Postby Rémi Denis-Courmont » 20 Feb 2013 17:46

This is likely either a deadlock with your application callbacks or your window messages pump.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Won
New Cone
New Cone
Posts: 5
Joined: 18 Feb 2013 10:44

Re: Process Stuck during stopping Media player

Postby Won » 21 Feb 2013 01:27

This is likely either a deadlock with your application callbacks or your window messages pump.
Thank you very much about your advice. You meant the media player crashed to other threads, such as user-create-threads or MFC threads, didn't you?

I am also suspicious the cause, but I am still confused. Coz, the deadlock is occured on the method named <libvlc_media_player_stop> or other methods that have similar functionality with this method.

Is it possible the method could be deadlocked by other threads? If it could be, I should look into other parts.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: Process Stuck during stopping Media player

Postby mangokm40 » 22 Feb 2013 18:28

Did you already search the forum? There's a few threads on this.

Here's one:
viewtopic.php?f=32&t=106415&p=360488&hi ... op#p360488

Won
New Cone
New Cone
Posts: 5
Joined: 18 Feb 2013 10:44

Re: Process Stuck during stopping Media player [solved]

Postby Won » 23 Feb 2013 14:20

Did you already search the forum? There's a few threads on this.

Here's one:
viewtopic.php?f=32&t=106415&p=360488&hi ... op#p360488
Thanks for your advice. It actually helps me and also below discussion.
I solved the problem with creating new thread for stopping vlcplayer. If there are anyone has a similar problem with me, can figure out with above two discussions.

I AM Always grateful to all developers.

Won.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests