vlc media player crashes on libvlc_release
Posted: 23 Sep 2016 07:17
VLC media Player crashes on libvlc_release(inst);
Error Log :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcd865700 (LWP 18829)]
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
66 ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb) backtrace
#0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
#1 0x00007ffff3a332a5 in vlc_mutex_lock (p_mutex=p_mutex@entry=0x28) at posix/thread.c:283
#2 0x00007ffff6f5bc23 in libvlc_release (p_instance=0x0) at core.c:95
#3 0x00000000004566f1 in libvlc_release (inst);
#4 0x0000000000456a88 in vlc_media_player_handle_reached_end_event ()
#5 vlc_player_task () at ../../export/platforms/abs/linux/vlc_player_pl.c:353
#6 0x00007ffff6b36182 in start_thread (arg=0x7fffcd865700) at pthread_create.c:312
#7 0x00007ffff686330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Code: Select all
libvlc_media_player_stop (mp);
libvlc_event_detach(event_manager, libvlc_MediaPlayerPaused,vlc_media_player_event_handle, NULL);
/* Free the media_player */
libvlc_media_player_release (mp);
libvlc_release (inst);
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcd865700 (LWP 18829)]
__GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
66 ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb) backtrace
#0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
#1 0x00007ffff3a332a5 in vlc_mutex_lock (p_mutex=p_mutex@entry=0x28) at posix/thread.c:283
#2 0x00007ffff6f5bc23 in libvlc_release (p_instance=0x0) at core.c:95
#3 0x00000000004566f1 in libvlc_release (inst);
#4 0x0000000000456a88 in vlc_media_player_handle_reached_end_event ()
#5 vlc_player_task () at ../../export/platforms/abs/linux/vlc_player_pl.c:353
#6 0x00007ffff6b36182 in start_thread (arg=0x7fffcd865700) at pthread_create.c:312
#7 0x00007ffff686330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111