Page 1 of 1
libvlc_media_player_release causes segment fault?
Posted: 27 Jan 2011 05:08
by Kevin Hoang
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?
Re: libvlc_media_player_release causes segment fault?
Posted: 27 Jan 2011 09:47
by Beardless2
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
Re: libvlc_media_player_release causes segment fault?
Posted: 27 Jan 2011 10:51
by Kevin Hoang
I'm using Fedora Linux, not Windows! I think this is a bug of libvlc access to invalid memory.
Re: libvlc_media_player_release causes segment fault?
Posted: 01 Mar 2011 09:14
by f!oc
Same prb too ! Did you found a solution ?
Re: libvlc_media_player_release causes segment fault?
Posted: 01 Mar 2011 10:10
by Sébastien Escudier
works fine here...
would you have a small test application to reproduce the problem ?
Re: libvlc_media_player_release causes segment fault?
Posted: 05 Apr 2011 12:38
by Kevin Hoang
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!
Re: libvlc_media_player_release causes segment fault?
Posted: 26 Apr 2011 05:43
by geostein8888
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