You are not logged in.

#1 2015-04-27 13:57:35

Strubbl
Member
Registered: 2013-12-10
Posts: 26

[solved] VLC segmentation fault (due to missing microcode update)

Hello,
when starting vlc i get the following error message:

$ vlc -vvv
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[000000000078f118] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[000000000078f118] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[000000000078f118] core libvlc debug: revision 2.2.1-0-ga425c42
[000000000078f118] 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'
[000000000078f118] core libvlc debug: searching plug-in modules
[000000000078f118] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[000000000078f118] core libvlc warning: cannot read /usr/lib/vlc/plugins/plugins.dat: No such file or directory
[000000000078f118] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
Segmentation fault (core dumped)

When trying to reinstall, i get an error too:

$ sudo pacman -S vlc
warning: vlc-2.2.1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) vlc-2.2.1-2

Total Installed Size:  47.87 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                                                                 [#######################################################################################################################] 100%
(1/1) checking package integrity                                                                                                                                                               [#######################################################################################################################] 100%
(1/1) loading package files                                                                                                                                                                    [#######################################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                                                              [#######################################################################################################################] 100%
(1/1) checking available disk space                                                                                                                                                            [#######################################################################################################################] 100%
(1/1) reinstalling vlc                                                                                                                                                                         [#######################################################################################################################] 100%
/tmp/alpm_pf91cx/.INSTALL: line 1: 14623 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

So i started the failing command with strace and get the following info before the crash happens:

$ sudo strace /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
…
open("/usr/lib/libnvidia-glsi.so.349.16", O_RDONLY|O_CLOEXEC) = 5
read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0/\0\0\0\0\0\0"..., 832) = 832
fstat(5, {st_mode=S_IFREG|0755, st_size=494720, ...}) = 0
mmap(NULL, 2647072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7ff2be3d2000
mprotect(0x7ff2be442000, 2097152, PROT_NONE) = 0
mmap(0x7ff2be642000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x70000) = 0x7ff2be642000
mmap(0x7ff2be64b000, 54304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff2be64b000
close(5)                                = 0
mprotect(0x7ff2beb4c000, 4096, PROT_READ) = 0
munmap(0x7ff2c74e0000, 279970)          = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=279970, ...}) = 0
mmap(NULL, 279970, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7ff2c74e0000
close(5)                                = 0
open("/usr/lib/tls/x86_64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7ffe039bc1c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7ffe039bc1c0)    = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7ffe039bc1c0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnvidia-egl-wayland.so.", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=237568, ...}) = 0
munmap(0x7ff2c74e0000, 279970)          = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++

(full trace)

So my guess is, the machine is searching for libnvidia-egl-wayland.so, cannot find it and then it crashes. But why? I did not do anything unusual. Only updating my system once a week.

Any hint for solving my vlc issue is appreciated.

Last edited by Strubbl (2015-04-27 15:58:15)

Offline

#2 2015-04-27 15:15:58

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

Re: [solved] VLC segmentation fault (due to missing microcode update)

I'm starting to feel like a bot.

Intel CPU? If so, microcode up to date?

Offline

#3 2015-04-27 15:57:30

Strubbl
Member
Registered: 2013-12-10
Posts: 26

Re: [solved] VLC segmentation fault (due to missing microcode update)

Sorry for bot-erizing you with my request. But your hint helped! I have never heard of microcode stuff. Yes, do have Intel. Updating microcode solved the issue.
Thanks a lot.

PS: Do you have some more descriptive background info why the Intel microcode update was necessary, e.g. a similar bbs thread where you explained it?

Offline

#4 2015-04-27 16:00:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [solved] VLC segmentation fault (due to missing microcode update)

The Arch News linked from the main page. https://www.archlinux.org/news/changes- … deupdates/


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2015-04-27 16:01:32

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

Re: [solved] VLC segmentation fault (due to missing microcode update)

Offline

#6 2015-04-27 17:56:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] VLC segmentation fault (due to missing microcode update)

Scimmia wrote:

I'm starting to feel like a bot.

Welcome to my world ;P

I have to say I'm very pleased with your performance, you're a good bot, have some tacos :-)

Offline

#7 2015-04-28 01:14:54

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

Re: [solved] VLC segmentation fault (due to missing microcode update)

Mmmm, tacos...dqgndt.gif

Offline

#8 2015-04-29 20:00:55

nanawel
Member
Registered: 2012-05-07
Posts: 89
Website

Re: [solved] VLC segmentation fault (due to missing microcode update)

Thanks! It fixed a segfault with zenity, nvidia-settings and other programs that have been filling up my /var/lib/systemd/coredump for 4 days!

Offline

#9 2015-06-03 21:14:07

Schism
Member
From: Texas
Registered: 2015-06-03
Posts: 1

Re: [solved] VLC segmentation fault (due to missing microcode update)

Scimmia wrote:

I'm starting to feel like a bot.

Intel CPU? If so, microcode up to date?

THANK YOU SO MUCH! It was driving me crazy and I felt like it was either QT or GTK or some library that was messed up... did a full reinstall. Also ran several hours or "memtests" to check hardware (didn't notice the issue until after several reoccurring power outages and feared the worse.) Once again, thank you very much!

Offline

Board footer

Powered by FluxBB