VLC segfault [Solved]

Discussions Regarding Software

Moderator: Moderators

Post Reply
Zeikcied
Simple Hen
Posts: 84
Joined: Tue Nov 10, 2015 8:37

VLC segfault [Solved]

Post by Zeikcied » Mon Jan 02, 2017 10:21

VLC has started to segfault following the recent repositories update. While VLC itself wasn't updated, some 200+ packages were (at least for my system), and for some reason VLC has been segfaulting ever since. It throws a segfault whenever I try to open it with the normal interface. If I use cvlc in a terminal to open it (along with the path to a video file), it will open with the dummy interface and play the video just fine. Though I need to ctrl+c in the terminal to close it out completely.

I have no idea why this is. I tried deleting the config files, deleting the ~/.local/share/vlc folder, reinstalling VLC, rebooting, nothing worked. Also did deptest and libtest to make sure nothing was wrong. While there were some issues, I fixed those, but they seem to be unrelated, as they had no impact on VLC.

I did run VLC with the -vv option to get some debug info. I don't know how much it helps, but it seems something related to LUA, given where it segfaults. I reinstalled LUA, and that didn't help, either.

Code: Select all

$ vlc -vv
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000001d08118] core libvlc debug: VLC media player - 2.2.4 Weatherwax
[0000000001d08118] core libvlc debug: Copyright © 1996-2016 the VideoLAN team
[0000000001d08118] core libvlc debug: revision 2.2.3-37-g888b7e89
[0000000001d08118] core libvlc debug: configured with ./configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-silent-rules' '--htmldir=/usr/share/doc/vlc-2.2.4/html' '--libdir=/usr/lib64' '--with-default-font=/usr/share/fonts/dejavu//DejaVuSans.ttf' '--with-default-font-family=Sans' '--with-default-monospace-font=/usr/share/fonts/dejavu//DejaVuSansMono.ttf' '--with-default-monospace-font-family=Monospace' '--enable-vlc' '--docdir=/usr/share/doc/vlc-2.2.4' '--disable-dependency-tracking' '--disable-optimizations' '--disable-update-check' '--enable-fast-install' '--enable-screen' '--enable-a52' '--enable-aa' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--enable-avcodec' '--enable-avformat' '--enable-fribidi' '--enable-bluray' '--enable-vcd' '--enable-libcddb' '--disable-chromaprint' '--enable-dbus' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--enable-sout' '--disable-faad' '--disable-fdkaac' '--enable-flac' '--disable-fluidsynth' '--enable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-gnomevfs' '--enable-gnutls' '--disable-growl' '--enable-httpd' '--enable-dv1394' '--enable-jack' '--enable-jpeg' '--disable-kate' '--without-kde-solid' '--enable-libass' '--disable-caca' '--enable-notify' '--enable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--enable-live555' '--enable-lua' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--enable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--enable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--disable-omxil-vout' '--disable-opencv' '--enable-glspectrum' '--enable-opus' '--disable-optimize-memory' '--enable-png' '--disable-postproc' '--disable-projectm' '--enable-pulse' '--enable-qt=5' '--disable-freerdp' '--enable-realrtsp' '--disable-run-as-root' '--enable-smbclient' '--disable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-sid' '--disable-sftp' '--disable-shout' '--enable-skins2' '--enable-speex' '--enable-sse' '--disable-svg' '--disable-svgdec' '--enable-swscale' '--enable-taglib' '--enable-theora' '--disable-tremor' '--enable-freetype' '--disable-twolame' '--enable-udev' '--enable-upnp' '--enable-v4l2' '--enable-libva' '--disable-vcdx' '--disable-vdpau' '--enable-vlm' '--disable-vnc' '--enable-vorbis' '--disable-vpx' '--disable-wma-fixed' '--with-x' '--enable-x264' '--enable-x265' '--enable-xcb' '--enable-libxml2' '--enable-xvideo' '--enable-bonjour' '--disable-zvbi' '--enable-telx' '--disable-asdcp' '--disable-coverage' '--disable-cprof' '--disable-crystalhd' '--disable-decklink' '--disable-gles1' '--disable-gles2' '--disable-goom' '--disable-kai' '--disable-kva' '--disable-maintainer-mode' '--disable-merge-ffmpeg' '--disable-mfx' '--disable-mmal-codec' '--disable-mmal-vout' '--disable-opensles' '--disable-oss' '--disable-quicktime' '--disable-rpi-omxil' '--disable-shine' '--disable-sndio' '--disable-vda' '--disable-vsxu' '--disable-wasapi' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -march=x86-64 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/' 'CPPFLAGS= -I/usr/include/samba-4.0' 'CXXFLAGS=-O2 -march=x86-64 -pipe' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig'
[0000000001d08118] core libvlc debug: searching plug-in modules
[0000000001d08118] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[0000000001d08118] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[0000000001d08118] core libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[0000000001d08118] core libvlc debug: plug-ins loaded: 424 modules
[0000000001d08118] core libvlc debug: opening config file (/home/darthbrandon/.config/vlc/vlcrc)
[0000000001d08118] core libvlc debug: translation test: code is "C"
[0000000001d08118] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU 
[0000000001dc4ed8] core playlist debug: creating audio output
[0000000001dc6958] core audio output debug: looking for audio output module matching "any": 6 candidates
[0000000001dc6958] pulse audio output debug: using library version 9.0.0
[0000000001dc6958] pulse audio output debug:  (compiled with version 9.0.0, protocol 31)
[0000000001dc6958] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #36
[0000000001dc6958] pulse audio output debug: using protocol 31, server protocol 31
[0000000001dc6958] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
[0000000001dc6958] core audio output debug: using audio output module "pulse"
[0000000001dc4ed8] core playlist debug: keeping audio output
[0000000001dd1158] core interface debug: looking for interface module matching "hotkeys,none": 18 candidates
[0000000001dd1158] core interface debug: using interface module "hotkeys"
[0000000001dd1a08] core interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates
[0000000001dd1a08] core interface debug: using interface module "xcb_hotkeys"
[0000000001de2008] core interface debug: looking for interface module matching "dbus,none": 18 candidates
[0000000001de2008] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[0000000001de2008] core interface debug: using interface module "dbus"
[0000000001d08118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000001de5128] core interface debug: looking for interface module matching "any": 18 candidates
[0000000001de2008] dbus interface debug: Getting All properties
[0000000001de2008] dbus interface debug: Getting All properties
[00007f25a4228968] core generic debug: looking for extension module matching "any": 1 candidates
[00007f25a4228968] lua generic debug: Opening Lua Extension module
[00007f25a4228968] lua generic debug: Trying Lua scripts in /home/darthbrandon/.local/share/vlc/lua/extensions
[00007f25a4228968] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions
[00007f25a4228968] lua generic debug: Trying Lua playlist script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007f25a4228968] lua generic debug: Scanning Lua script /usr/lib64/vlc/lua/extensions/VLSub.luac
[00007f25a4228968] lua generic debug: Script /usr/lib64/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007f25a4228968] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[00007f25a4228968] core generic debug: using extension module "lua"
Segmentation fault

dacotto
Baby Hen
Posts: 2
Joined: Wed Jan 04, 2017 19:14

Re: VLC segfault

Post by dacotto » Wed Jan 04, 2017 19:22

Same issue here. On my main PC there is only segfault message when i trying to execute it from terminal but on my laptop it returns this error output:
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
Neoprávněný přístup do paměti (SIGSEGV)

I`ve also tried to delete config files, reinstall it, and run libtest and deptest

msdobrescu
Old Dear Hen
Posts: 729
Joined: Sun Aug 21, 2011 8:48

Re: VLC segfault

Post by msdobrescu » Thu Jan 05, 2017 6:54

Same here on two computers, a laptop and a desktop, Sabayon 64 bit, latest 4.8 kernel, nVidia 560Ti, Nvidia Drivers 370.28#4.8.0-sabayon~14.

Same for mplayer and kaffeine too.

Zeikcied
Simple Hen
Posts: 84
Joined: Tue Nov 10, 2015 8:37

Re: VLC segfault

Post by Zeikcied » Thu Jan 05, 2017 9:05

msdobrescu wrote:Same here on two computers, a laptop and a desktop, Sabayon 64 bit, latest 4.8 kernel, nVidia 560Ti, Nvidia Drivers 370.28#4.8.0-sabayon~14.

Same for mplayer and kaffeine too.
I didn't notice until you mentioned it, but kaffeine is segfaulting for me, too. Weird.

msdobrescu
Old Dear Hen
Posts: 729
Joined: Sun Aug 21, 2011 8:48

Re: VLC segfault

Post by msdobrescu » Thu Jan 05, 2017 13:26

Probably not so weird, they must rely on some common libs and one of them is broken.

dacotto
Baby Hen
Posts: 2
Joined: Wed Jan 04, 2017 19:14

Re: VLC segfault

Post by dacotto » Thu Jan 05, 2017 18:47

After today`s update it`s working again. I was trying start vlc from command line during system upgrade. After kde-plasma/kwin-5.8.5 it started to work. :)
I know,not very professional :)

msdobrescu
Old Dear Hen
Posts: 729
Joined: Sun Aug 21, 2011 8:48

Re: VLC segfault

Post by msdobrescu » Thu Jan 05, 2017 20:25

Indeed, solved.
Here works anyway, it is not needed to launch it from the console.
But I didn't get a kwin upgrade, must be something else.

Zeikcied
Simple Hen
Posts: 84
Joined: Tue Nov 10, 2015 8:37

Re: VLC segfault

Post by Zeikcied » Fri Jan 06, 2017 3:36

Yeah, something in today's update fixed both VLC and Kaffeine. :)

Post Reply