libvlc_media_player_release causes segment fault?

This forum is about all development around libVLC.
Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

libvlc_media_player_release causes segment fault?

Postby Kevin Hoang » 27 Jan 2011 05:08

I have called libvlc_media_player_release function in a small QT App at destructor of Main Widget, and it cause a segment fault when I close the App. If I comment the line with this function, it works fine. (libvlc 1.1.5)

Somebody know how to fix this problem?

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

Re: libvlc_media_player_release causes segment fault?

Postby Beardless2 » 27 Jan 2011 09:47

I have seen similar problems with 1.1.5 and 1.1.6 in Delphi.

Can you remove the libfluidsynth_plugin.dll from the plugins folder (C:\Program Files\VideoLAN\VLC\plugins), and then try your app and get back to me to see if it still occurs?

Chris

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: libvlc_media_player_release causes segment fault?

Postby Kevin Hoang » 27 Jan 2011 10:51

I'm using Fedora Linux, not Windows! I think this is a bug of libvlc access to invalid memory.

f!oc
New Cone
New Cone
Posts: 3
Joined: 21 Sep 2010 10:56

Re: libvlc_media_player_release causes segment fault?

Postby f!oc » 01 Mar 2011 09:14

Same prb too ! Did you found a solution ?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: libvlc_media_player_release causes segment fault?

Postby Sébastien Escudier » 01 Mar 2011 10:10

works fine here...
would you have a small test application to reproduce the problem ?

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: libvlc_media_player_release causes segment fault?

Postby Kevin Hoang » 05 Apr 2011 12:38

I found where cause this problem, by use valgrind debugger. The problem in Qt, not in libvlc. It works fine now...

@f!oc: I think you have problem like me! Can you show me your code, I can help you fix it!

geostein8888
Cone that earned his stripes
Cone that earned his stripes
Posts: 142
Joined: 15 Dec 2010 11:32

Re: libvlc_media_player_release causes segment fault?

Postby geostein8888 » 26 Apr 2011 05:43

Hello,
i also use the QT environement and i have already the problem that i can't use the debugger, when it need an instance of the vlc player. everything works fine up to the point where the instance will be crated and the lib starts loading his plugins.

is this normal?

i use QT4,71 under windows and mac


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests