You are not logged in.

#1 2015-04-25 16:54:14

cellsheet
Member
Registered: 2014-03-26
Posts: 10

Vlc segfaults (no fluidsynth installed)

I've researched into why vlc is broken as of recently with its latest update. I also have the testing repo enabled if that helps. I try to run vlc but I get

/tmp/alpm_MmFPEE/.INSTALL: line 1:  7257 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

I also tried to compile vlc-git, but i also get:

  GEN      ../modules/plugins.dat
/bin/sh: line 4: 20892 Segmentation fault      (core dumped) ./vlc-cache-gen ../modules

I also did not have fluidsynth installed when doing this. I'm not sure what plugins are causing this, here's the list of recommended dependencies installed:

Optional dependencies for vlc
    avahi: for service discovery using bonjour protocol [installed]
    libnotify: for notification plugin [installed]
    ncurses: for ncurses interface support [installed]
    libdvdcss: for decoding encrypted DVDs [pending]
    lirc: for lirc plugin [pending]
    libavc1394: for devices using the 1394ta AV/C [installed]
    libdc1394: for IEEE 1394 plugin [installed]
    kdelibs: KDE Solid hardware integration [pending]
    libva-vdpau-driver: vdpau back-end for nvidia [installed]
    libva-intel-driver: back-end for intel cards
    libbluray: for Blu-Ray support [installed]
    flac: for Free Lossless Audio Codec plugin [installed]
    portaudio: for portaudio support [installed]
    twolame: for TwoLAME mpeg2 encoder plugin [pending]
    projectm: for ProjectM visualisation plugin [pending]
    libcaca: for colored ASCII art video output [installed]
    libgme: for libgme plugin [installed]
    librsvg: for SVG plugin [installed]
    gnome-vfs: for GNOME Virtual File System support [installed]
    libgoom2: for libgoom plugin [pending]
    vcdimager: navigate VCD with libvcdinfo [pending]
    aalib: for ASCII art plugin [installed]
    libmtp: for MTP devices support [installed]
    smbclient: for SMB access plugin [installed]
    libcdio: for audio CD playback support [installed]
    ttf-freefont: for subtitle font [installed]
    ttf-dejavu: for subtitle font [installed]
    opus: for opus support [installed]
    libssh2: for sftp support [installed]
    lua-socket: for http interface

Offline

#2 2015-04-25 22:45:20

escitalopram
Member
Registered: 2015-04-25
Posts: 3

Re: Vlc segfaults (no fluidsynth installed)

I had the same problem today (My Dragon Player was also affected). After downgrading my nvidia driver (back to 346.59-1) VLC worked again.

Offline

#3 2015-04-25 22:46:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: Vlc segfaults (no fluidsynth installed)

If you're on an intel CPU, make sure you've installed and configured the microcode updates.

https://wiki.archlinux.org/index.php/Microcode

Offline

#4 2015-04-26 00:07:56

cellsheet
Member
Registered: 2014-03-26
Posts: 10

Re: Vlc segfaults (no fluidsynth installed)

escitalopram wrote:

I had the same problem today (My Dragon Player was also affected). After downgrading my nvidia driver (back to 346.59-1) VLC worked again.

Thanks, I'll try this when I get home and edit with results. Also I'm using nvidia.

Offline

#5 2015-04-26 00:35:28

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: Vlc segfaults (no fluidsynth installed)

Come on, people. Downgrading is not the solution, the microcode update is. Haswell CPUs and early Broadwell CPUs have a bug.

Offline

#6 2015-04-26 14:25:23

escitalopram
Member
Registered: 2015-04-25
Posts: 3

Re: Vlc segfaults (no fluidsynth installed)

Microcode update worked for me, thx.

Offline

#7 2015-04-26 19:03:54

cellsheet
Member
Registered: 2014-03-26
Posts: 10

Re: Vlc segfaults (no fluidsynth installed)

Same for me, thank you!

Offline

#8 2015-08-27 14:11:00

alexftw
Member
Registered: 2013-07-03
Posts: 15

Re: Vlc segfaults (no fluidsynth installed)

Scimmia wrote:

Come on, people. Downgrading is not the solution, the microcode update is. Haswell CPUs and early Broadwell CPUs have a bug.

I installed the microcode update and it still segfaults when trying to do

/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

There shouldn't be any problems with how I installed the microcode update either since the initrd line in my grub.cfg contains the update.

initrd  /boot/intel-ucode.img /boot/initramfs-linux.img

Funnily enough, I remember having this problem a while ago and installing intel-ucode fixed it. Well, now it does not. Any ideas?


Here's some stuff that might be useful:

[alexander@arch ~]$ vlc -vvv
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001cf1148] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[0000000001cf1148] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[0000000001cf1148] core libvlc debug: revision 2.2.1-0-ga425c42
[0000000001cf1148] core libvlc debug: configured with ./configure  '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-ncurses' '--enable-realrtsp' '--enable-aa' '--enable-vcdx' '--enable-upnp' '--enable-opus' '--enable-sftp' 'LUAC=/usr/bin/luac' 'LUA_LIBS=-llua -lm ' 'RCC=/usr/bin/rcc-qt4' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/samba-4.0' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2 -I/usr/include/samba-4.0' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4'
[0000000001cf1148] core libvlc debug: searching plug-in modules
[0000000001cf1148] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000000001cf1148] core libvlc warning: cannot read /usr/lib/vlc/plugins/plugins.dat: No such file or directory
[0000000001cf1148] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000000001cf1148] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libx264_plugin.so' (libx264.so.144: cannot open shared object file: No such file or directory)
Segmentation fault (core dumped)
[alexander@arch ~]$ ls /usr/lib/vlc/plugins/plugins.dat 
ls: cannot access /usr/lib/vlc/plugins/plugins.dat: No such file or directory
[alexander@arch ~]$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)

Oh, I just noticed:

[alexander@arch ~]$ dmesg
(...)
[   56.530610] vlc[1249]: segfault at 7f08fef67400 ip 00007f08fc18e912 sp 00007ffe618d0050 error 6 in libGL.so.352.30[7f08fc0e7000+be000]
[   60.049417] vlc[1251]: segfault at 7fbd755d8400 ip 00007fbd727ff912 sp 00007ffe39c23bb0 error 6 in libGL.so.352.30[7fbd72758000+be000]
[  127.482221] vlc-cache-gen[1442]: segfault at 7fe927190400 ip 00007fe9243b7912 sp 00007ffd12532d90 error 6 in libGL.so.352.30[7fe924310000+be000]
[  144.773205] vlc-cache-gen[1453]: segfault at 7fe46c0a0400 ip 00007fe4692c7912 sp 00007ffea361b230 error 6 in libGL.so.352.30[7fe469220000+be000]
[  326.662635] vlc-cache-gen[1597]: segfault at 7fc5cebfb400 ip 00007fc5cbe22912 sp 00007ffd70b94cd0 error 6 in libGL.so.352.30[7fc5cbd7b000+be000]
[  441.441658] vlc[1648]: segfault at 7fc4a8262400 ip 00007fc4a5489912 sp 00007ffe5ec57580 error 6 in libGL.so.352.30[7fc4a53e2000+be000]
[  445.787470] vlc[1650]: segfault at 7fb5e6b75400 ip 00007fb5e3d9c912 sp 00007ffe15573e40 error 6 in libGL.so.352.30[7fb5e3cf5000+be000]
[  465.295567] vlc[1664]: segfault at 7fb4b25dd400 ip 00007fb4af804912 sp 00007ffdce8e2e90 error 6 in libGL.so.352.30[7fb4af75d000+be000]
[  499.733377] vlc[1681]: segfault at 7f9e19279400 ip 00007f9e164a0912 sp 00007ffff55439d0 error 6 in libGL.so.352.30[7f9e163f9000+be000]
[  628.408455] vlc-cache-gen[1745]: segfault at 7f13943c7400 ip 00007f13915ee912 sp 00007ffdc83c0b70 error 6 in libGL.so.352.30[7f1391547000+be000]

Anyone know what this could mean? I assume it does have something to do with the Nvidia driver after all.

Offline

#9 2015-09-14 03:00:05

alexftw
Member
Registered: 2013-07-03
Posts: 15

Re: Vlc segfaults (no fluidsynth installed)

Oh, nevermind, it fixed itself it seems. Must have been some update. VLC works again for me.

Offline

Board footer

Powered by FluxBB