You are not logged in.

#1 2015-11-20 21:48:59

jenia
Member
Registered: 2014-07-12
Posts: 37

[SOLVED] VLC segmentation fault on Arch Linux.

Hello.

VLC is giving me a segmentation fault on Arch Linux.

Here is the backtrace:

[jenia@localhost Desktop]$ vlc -vvv lec
lec2b.mp4  lec3a.mp4  
[jenia@localhost Desktop]$ vlc -vvv lec2b.mp4 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001747178] core libvlc debug: VLC media player - 2.2.1 Terry Pratchett (Weatherwax)
[0000000001747178] core libvlc debug: Copyright  1996-2015 the VideoLAN team
[0000000001747178] core libvlc debug: revision 2.2.1-0-ga425c42
[0000000001747178] 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 -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'
[0000000001747178] core libvlc debug: searching plug-in modules
[0000000001747178] core libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[0000000001747178] core libvlc warning: cannot read /usr/lib/vlc/plugins/plugins.dat: No such file or directory
[0000000001747178] core libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0000000001747178] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libdv1394_plugin.so' (libavc1394.so.0: cannot open shared object file: No such file or directory)
[0000000001747178] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
Segmentation fault (core dumped)

The exact same thing happens when no file is given as input.

However, on the one hand I can find those libraries in the correct folder with no problems:

[jenia@localhost Desktop]$ ls -l /usr/lib/vlc/plugins/access/libdv1394_plugin.so
-rwxr-xr-x 1 root root 14608 Nov 10 15:37 /usr/lib/vlc/plugins/access/libdv1394_plugin.so
[jenia@localhost Desktop]$
[jenia@localhost Desktop]$
[jenia@localhost Desktop]$ ls -l /usr/lib/vlc/plugins/access/libvcdx_plugin.so
-rwxr-xr-x 1 root root 47696 Nov 10 15:37 /usr/lib/vlc/plugins/access/libvcdx_plugin.so

On the other hand, the .dat file is absent.

[jenia@localhost Desktop]$ ls -l /usr/lib/vlc/plugins/plugins.dat
ls: cannot access /usr/lib/vlc/plugins/plugins.dat: No such file or directory

So I really don't understand waht is happening.
Did anyone else encouter or can help with this problem?

Thanks

Last edited by jenia (2015-11-21 14:26:06)

Offline

#2 2015-11-20 21:53:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] VLC segmentation fault on Arch Linux.

pacman -Syyu

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-11-20 22:01:31

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Hi jasonwryan.

I did pacman -Syyu and it said "there is nothing to do".

What does it mean "moving to NC"?


Tahnks

P.S. Wait, does it mean Newbie Corner? I'm no newbie. I tried updating the system

Last edited by jenia (2015-11-20 22:15:13)

Offline

#4 2015-11-20 22:02:34

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

When I tried to re-install VLC it, I got a segfault:

[root@localhost access]# pacman -S vlc
resolving dependencies...
looking for conflicting packages...

Packages (1) vlc-2.2.1-9

Total Installed Size:  47.90 MiB

:: Proceed with installation? [Y/n] y
(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) installing vlc                                                                                                                           [#######################################################################################] 100%
/tmp/alpm_ryr687/.INSTALL: line 1: 14928 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

Offline

#5 2015-11-20 22:33:51

loqs
Member
Registered: 2014-03-06
Posts: 17,169

Re: [SOLVED] VLC segmentation fault on Arch Linux.

what is the output of

pacman -Qikk libavc1394

Offline

#6 2015-11-20 22:35:39

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

Re: [SOLVED] VLC segmentation fault on Arch Linux.

What CPU?

Offline

#7 2015-11-20 22:41:58

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Hi Scimmia.

It's an i7.

Offline

#8 2015-11-20 22:43:03

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Hi loqs.

It says:

[root@localhost jenia]# pacman -Qikk libavc1394
Name           : libavc1394
Version        : 0.5.4-2
Description    : A library to control A/V devices using the 1394ta AV/C commands.
Architecture   : x86_64
URL            : http://sourceforge.net/projects/libavc1394/
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : libraw1394
Optional Deps  : None
Required By    : None
Optional For   : vlc
Conflicts With : None
Replaces       : None
Installed Size : 110.00 KiB
Packager       : Jan de Groot <jgc@archlinux.org>
Build Date     : Tue Oct 22 03:56:01 2013
Install Date   : Fri Nov 20 17:43:47 2015
Install Reason : Explicitly installed
Install Script : No
Validated By   : Signature

libavc1394: 25 total files, 0 altered files

Last edited by jenia (2015-11-20 22:44:43)

Offline

#9 2015-11-20 22:43:56

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

Re: [SOLVED] VLC segmentation fault on Arch Linux.

jenia wrote:

Hi Scimmia.

It's an i7.

Need to be more specific than that

Offline

#10 2015-11-20 22:46:16

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Scimmia wrote:
jenia wrote:

Hi Scimmia.

It's an i7.

Need to be more specific than that


Okay. This is the output of lscpu:

[root@localhost jenia]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Stepping:              3
CPU MHz:               4306.093
CPU max MHz:           4400.0000
CPU min MHz:           800.0000
BogoMIPS:              7998.99
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm xsaveopt

Last edited by jenia (2015-11-20 22:46:32)

Offline

#11 2015-11-20 22:49:42

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

Re: [SOLVED] VLC segmentation fault on Arch Linux.

OK, the i7-4790K is a Haswell chip. Is your microcode up-to-date?

Offline

#12 2015-11-20 22:56:14

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Scimmia wrote:

OK, the i7-4790K is a Haswell chip. Is your microcode up-to-date?


No. That's probably the reason.

I have  a quick question though, I'm using systemd-boot with UEFI to boot.

But I have no file called `/intel-ucode.img` in the boot directory as per instructions: https://wiki.archlinux.org/index.php/Mi … stemd-boot

Is that normal?

Offline

#13 2015-11-20 22:59:37

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

Re: [SOLVED] VLC segmentation fault on Arch Linux.

You need to install the package (intel-ucode).

Offline

#14 2015-11-20 23:07:25

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Scimmia wrote:

You need to install the package (intel-ucode).

Yup missed that bit. hahaha

I installed it and VLC now works perfectly.

Thanks a lot for your help.

Offline

#15 2015-11-20 23:36:08

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

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Don't forget to mark your thread [Solved} by editing the first post.

Offline

#16 2015-11-21 14:26:51

jenia
Member
Registered: 2014-07-12
Posts: 37

Re: [SOLVED] VLC segmentation fault on Arch Linux.

Scimmia wrote:

Don't forget to mark your thread [Solved} by editing the first post.

Sure. Thanks Scimmia.

Is this (the title edit) what I needed to do?

Offline

Board footer

Powered by FluxBB