FS#57805 - [vlc] 3.0.1-2 Fails to launch GUI on xfce4

Attached to Project: Arch Linux
Opened by Yonhjang Liu (sigma96) - Monday, 12 March 2018, 15:53 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 25 September 2018, 19:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading vlc to 3.0, it won't start when launching with GUI. On command line, the messages are:

VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc)
[0000556540a7b3f0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Gdk-Message: vlc: Fatal IO error 2 (No such file or directory) on X server :0.0.

I removed ~/.config/vlc and the same error persists. Tried reinstalling vlc and the same error persists.

Additional info:
* package version(s)

pacman -Qi vlc
Name : vlc
Version : 3.0.1-2
Description : Multi-platform MPEG, VCD/DVD, and DivX player
Architecture : x86_64
URL : https://www.videolan.org/vlc/
Licenses : LGPL2.1 GPL2
Groups : None
Provides : None
Depends On : a52dec libdvbpsi libxpm libdca libproxy libtiger lua
libmatroska taglib libmpcdec ffmpeg faad2 libupnp
libmad libmpeg2 xcb-util-keysyms libtar libxinerama
libsecret libarchive qt5-base qt5-x11extras qt5-svg
freetype2 fribidi harfbuzz fontconfig libxml2 gnutls
libplacebo wayland-protocols
Optional Deps : avahi: service discovery using bonjour protocol [installed]
gst-plugins-base-libs: for libgst plugins [installed]
libdvdcss: decoding encrypted DVDs
libavc1394: devices using the 1394ta AV/C [installed]
libdc1394: IEEE 1394 access plugin [installed]
kdelibs: KDE Solid hardware integration
kwallet: kwallet keystore [installed]
libva-vdpau-driver: vdpau backend nvidia
libva-intel-driver: video backend intel
libbluray: Blu-Ray video input [installed]
flac: Free Lossless Audio Codec plugin [installed]
twolame: TwoLAME mpeg2 encoder plugin [installed]
libgme: Game Music Emu plugin [installed]
vcdimager: navigate VCD with libvcdinfo
libmtp: MTP devices discovery [installed]
libsystemd: udev services discovery [installed]
smbclient: SMB access plugin
libcdio: audio CD playback [installed]
ttf-freefont: subtitle font
ttf-dejavu: subtitle font [installed]
libssh2: sftp access [installed]
opencv: opencv video [installed]
libnfs: NFS access [installed]
mpg123: mpg123 codec [installed]
protobuf: chromecast streaming [installed]
libmicrodns: mDNS services discovery (chromecast etc)
lua-socket: http interface
live-media: RTSP input
libdvdread: DVD input module [installed]
libdvdnav: DVD with navigation input module [installed]
libogg: Ogg and OggSpots codec [installed]
libshout: shoutcast/icecast output plugin [installed]
libmodplug: MOD output plugin [installed]
libvpx: VP8 and VP9 codec [installed]
libvorbis: Vorbis decoder/encoder [installed]
speex: Speex codec [installed]
opus: opus codec [installed]
libtheora: theora codec [installed]
libpng: PNG support [installed]
libjpeg-turbo: JPEG support [installed]
librsvg: SVG plugin [installed]
libx264: H264 encoding [installed]
x265: HEVC/H.265 encoder [installed]
zvbi: VBI/Teletext decoding [installed]
libass: Subtitle support [installed]
libkate: Kate codec [installed]
libtiger: Tiger rendering for Kate streams [installed]
sdl_image: SDL image support [installed]
aalib: ASCII art video output [installed]
libcaca: colored ASCII art video output [installed]
libpulse: PulseAudio audio output [installed]
alsa-lib: ALSA audio output [installed]
jack: jack audio server [installed]
libsamplerate: audio Resampler [installed]
libsoxr: SoX audio Resampler [installed]
chromaprint: Chromaprint audio fingerprinter [installed]
lirc: lirc control
libgoom2: Goom visualization
projectm: ProjectM visualisation
ncurses: ncurses interface [installed]
libnotify: notification plugin [installed]
gtk3: notification plugin [installed]
Required By : phonon-qt5-vlc vlc-plugin-fluidsynth
Optional For : None
Conflicts With : vlc-plugin
Replaces : vlc-plugin
Installed Size : 56.44 MiB
Packager : Levente Polyak <anthraxx@archlinux.org>
Build Date : Wed 07 Mar 2018 03:50:14 AM CST
Install Date : Mon 12 Mar 2018 11:07:34 PM CST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 25 September 2018, 19:04 GMT
Reason for closing:  Deferred
Additional comments about closing:  Qt scaling and icon related
Comment by Levente Polyak (anthraxx) - Monday, 12 March 2018, 16:12 GMT
can you attache a log file from 'strace vlc' ?
Comment by Yonhjang Liu (sigma96) - Monday, 12 March 2018, 23:48 GMT
Here is a log from strace.
Comment by Levente Polyak (anthraxx) - Tuesday, 13 March 2018, 00:16 GMT
Can't see much there, please try investigate and possibly attach:
- output of vlc -vvv
- ltrace of vlc
- .xsession-error
Comment by Yonhjang Liu (sigma96) - Tuesday, 13 March 2018, 00:47 GMT
`ltrace vlc` gives nothing more, except a line of

+++ exited (status 1) +++

while `.xsession-errors` says

(wrapper-2.0:1016): GLib-GObject-CRITICAL **: g_value_get_enum: assertion 'G_VALUE_HOLDS_ENUM (value)' failed

after each attempt to run vlc.


An output of `vlc -vvv` is in the attachment (but I'm afraid not much can be seen there either).
Comment by Levente Polyak (anthraxx) - Tuesday, 13 March 2018, 00:57 GMT
please try to open an upstream bug ticket and add the infos and logs you have collected here. Would be great if you could add the ticket link here, thanks!
Comment by Yonhjang Liu (sigma96) - Wednesday, 14 March 2018, 00:15 GMT
I've reported to upstream, and the link is https://trac.videolan.org/vlc/ticket/20014 .
The only reply I got was that the assertion is not in vlc code, hence not a vlc bug.
Comment by RL (rlf) - Wednesday, 14 March 2018, 21:18 GMT
Have you tried following the directions on the wiki (https://wiki.archlinux.org/index.php/VLC_media_player#Segmentation_fault)? I had a very similar issue and this fixed it for me.
Comment by Yonhjang Liu (sigma96) - Thursday, 15 March 2018, 01:20 GMT
No, that didn't work, and actually the crash I encountered did not involve segfaults.
Comment by Tong Chunli (manifolds) - Thursday, 22 March 2018, 14:30 GMT
Rebuild VLC from source will be solve this bug. I use the vlc-git aur script (small modification). My desktop environment is Gnome3. I guess official package is build on old libc.
Comment by Eli Schwartz (eschwartz) - Thursday, 22 March 2018, 21:05 GMT
> I guess official package is build on old libc.

What old libc, the GNU C library has maintained strict forwards-compatibility with libc.so.6 for the past 20 years. Building on old libc and running on new libc is in fact highly recommended by every developer who builds precompiled binaries for multiple distros. It works *really* well and an astonishing number of highly talented people have devoted significant effort into making sure of it...

If you can track down which vlc-git commit fixed this, we'd be happy to backport it. But don't tell us that vlc-git works therefore vlc stable releases just need a rebuild from source, that's ridiculous.
Comment by Naramski (naramski) - Thursday, 22 March 2018, 21:40 GMT
I have the same problem with Gnome3. I receive Segmentation fault (core dumped)

vlc -vvv

gives :

VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc)
[0000558335f583f0] main libvlc debug: VLC media player - 3.0.1 Vetinari
[0000558335f583f0] main libvlc debug: Copyright © 1996-2018 the VideoLAN team
[0000558335f583f0] main libvlc debug: revision 3.0.1-0-gec0f700fcc
[0000558335f583f0] main libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-nls' '--enable-archive' '--enable-live555' '--enable-dc1394' '--enable-dv1394' '--enable-dvdread' '--enable-dvdnav' '--enable-bluray' '--enable-opencv' '--enable-smbclient' '--enable-sftp' '--enable-nfs' '--enable-realrtsp' '--enable-dvbpsi' '--enable-gme' '--enable-ogg' '--enable-shout' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mad' '--enable-mpg123' '--enable-gst-decode' '--enable-avcodec' '--enable-libva' '--enable-avformat' '--enable-postproc' '--enable-faad' '--enable-vpx' '--enable-twolame' '--disable-fdkaac' '--enable-a52' '--enable-dca' '--enable-flac' '--enable-libmpeg2' '--enable-vorbis' '--enable-speex' '--enable-opus' '--enable-oggspots' '--disable-schroedinger' '--enable-png' '--enable-jpeg' '--enable-x264' '--enable-x265' '--enable-zvbi' '--enable-libass' '--enable-kate' '--enable-tiger' '--enable-vdpau' '--enable-wayland' '--enable-sdl-image' '--enable-freetype' '--enable-fribidi' '--enable-harfbuzz' '--enable-fontconfig' '--enable-svg' '--enable-svgdec' '--enable-aa' '--enable-caca' '--enable-pulse' '--enable-alsa' '--enable-jack' '--enable-samplerate' '--enable-soxr' '--enable-chromaprint' '--enable-chromecast' '--enable-qt' '--enable-skins2' '--enable-libtar' '--enable-ncurses' '--enable-lirc' '--enable-goom' '--enable-projectm' '--enable-avahi' '--enable-mtp' '--enable-upnp' '--enable-microdns' '--enable-libxml2' '--disable-libgcrypt' '--enable-gnutls' '--enable-taglib' '--enable-secret' '--enable-kwallet' '--disable-update-check' '--enable-notify' '--enable-libplacebo' '--enable-vlc' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -I/usr/include/samba-4.0' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -std=c++11' 'LUA_LIBS=-llua -lm' 'LUAC=/usr/bin/luac'
[0000558335f583f0] main libvlc debug: searching plug-in modules
[0000558335f583f0] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000558335f583f0] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libgoom_plugin.so' (libgoom2.so.0: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_filter/libopencv_wrapper_plugin.so' (libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_filter/libopencv_example_plugin.so' (libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libtwolame_plugin.so' (libtwolame.so.0: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/services_discovery/libmicrodns_plugin.so' (libmicrodns.so.0: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libnfs_plugin.so' (libnfs.so.11: cannot open shared object file: No such file or directory)
[0000558335f583f0] main libvlc debug: plug-ins loaded: 510 modules
[0000558335f583f0] main libvlc debug: opening config file (/home/david/.config/vlc/vlcrc)
[0000558335f58740] main logger debug: looking for logger module matching "any": 4 candidates
[0000558335f58740] main logger debug: using logger module "console"
[0000558335f583f0] main libvlc debug: translation test: code is "C"
[0000558335f59550] main keystore debug: looking for keystore module matching "memory": 4 candidates
[0000558335f59550] main keystore debug: using keystore module "memory"
[0000558335f583f0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FPU
[0000558335febf60] main input debug: Creating an input for 'Media Library'
[0000558335febf60] main input debug: Input is a meta file: disabling unneeded options
[0000558335febf60] main input debug: using timeshift granularity of 50 MiB
[0000558335febf60] main input debug: using default timeshift path
[0000558335febf60] main input debug: `file/directory:///home/david/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/david/.local/share/vlc/ml.xspf'
[0000558335fffbd0] main input source debug: creating demux: access='file' demux='directory' location='/home/david/.local/share/vlc/ml.xspf' file='/home/david/.local/share/vlc/ml.xspf'
[0000558335fffe80] main demux debug: looking for access_demux module matching "file": 19 candidates
Segmentation fault (core dumped)

If I can provide any information useful. Just tell me what I can do.

Kind regards,
Comment by Yonhjang Liu (sigma96) - Wednesday, 09 May 2018, 06:52 GMT
I'm almost certain that my problem is same as https://bbs.archlinux.org/viewtopic.php?id=235223 .

Changing the icon set from flat-remix to other ones (e.g. Adwaita) solves the problem.

Loading...