You are not logged in.

#1 2014-05-14 17:02:09

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

VLC is very sad right now, segfaults on startup.

Reinstalled VLC several times, always with the message:
/tmp/alpm_GxgO9S/.INSTALL: line 1:  2818 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

So I imagine that this is the cause of

$ vlc -v
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1007118] main libvlc warning: cannot read /usr/lib/vlc/plugins/plugins.dat (No such file or directory)
Segmentation fault (core dumped)

Offline

#2 2014-05-14 17:10:46

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: VLC is very sad right now, segfaults on startup.

shouldn't this be part of this thread?

Offline

#3 2014-05-14 18:18:06

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

Sorry for the confusion, but no. That thread was about the AUR package vlc-fluidsynth. This is about the package vlc from the arch repos.

Offline

#4 2014-05-14 21:38:53

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: VLC is very sad right now, segfaults on startup.

ok, sorry for barging in.
fwiw, i get this:

vlc -v
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0xf0b118] 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)
[0xf0b118] 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)
[0xf0b118] 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)
[0xf0b118] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_gnomevfs_plugin.so' (libgnomevfs-2.so.0: cannot open shared object file: No such file or directory)
[0xf0b118] main 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)
[0xfef598] pulse audio output error: PulseAudio server connection failure: Connection refused
[0xf0b118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.

when starting vlc, but it works alright.

Offline

#5 2014-05-14 22:14:29

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: VLC is very sad right now, segfaults on startup.

try

vlc --no-plugins-cache

to see if it is the plugins-cache causing the segfault in vlc

Offline

#6 2014-05-14 22:20:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: VLC is very sad right now, segfaults on startup.

Half-Shot wrote:

Reinstalled VLC several times, always with the message:
/tmp/alpm_GxgO9S/.INSTALL: line 1:  2818 Segmentation fault      (core dumped) usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

So I imagine that this is the cause of

$ vlc -v
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1007118] main libvlc warning: cannot read /usr/lib/vlc/plugins/plugins.dat (No such file or directory)
Segmentation fault (core dumped)

Why don't you have that file? It's part of the vlc package.

$ pacman -Qo /usr/lib/vlc/plugins/plugins.dat
/usr/lib/vlc/plugins/plugins.dat is owned by vlc 2.1.4-2

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2014-05-15 18:13:40

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

It's sort of fixed right now. The interface starts and works after reinstalling 'qt4 phonon-qt4-vlc qt-gstreamer qt4' but the plugin generation still segfaults on reinstallation.

Edit:

WorMxy wrote:

Why don't you have that file? It's part of the vlc package.

$ pacman -Qo /usr/lib/vlc/plugins/plugins.dat
/usr/lib/vlc/plugins/plugins.dat is owned by vlc 2.1.4-2

Not sure. I cleared my cache and redownloaded but the file is still not there.
Still getting this on reinstall

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

Edit 2:

Installing vlc-git brings the original issue back

This is so wierd. If i reinstall those qt packages then it runs fine and just whines about missing plugins. That's not normal behaviour.

Last edited by Half-Shot (2014-05-15 18:20:49)

Offline

#8 2014-05-15 18:59:56

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: VLC is very sad right now, segfaults on startup.

Can you run the cache generator manually, with strace:

# strace /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins &>/tmp/vlc-cache-output

Upload the output file to a pastebin site and link to it here.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2014-05-15 19:08:46

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

WorMzy wrote:

Can you run the cache generator manually, with strace:

# strace /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins &>/tmp/vlc-cache-output

Upload the output file to a pastebin site and link to it here.

Interestingly, pastebin actually rejected it because its larger than 500kb.
https://gist.github.com/Half-Shot/1966d0ee4a8843f22204
All 12108 lines of it.

Thanks for reading it smile

EDIT:

Noticed that it actually doesn't segfault if I run it manually anymore, but still does if being reinstalled.

Last edited by Half-Shot (2014-05-15 19:12:21)

Offline

#10 2014-05-15 19:22:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: VLC is very sad right now, segfaults on startup.

Unfortunately, a strace from an instance of it not segfaulting is next to useless. Sorry you went trough the trouble of uploading it. tongue

Try building VLC, using ABS, with a modified install file. Add strace, and the redirect, to the appropriate line.

If it segfaults, just upload the last 100 lines or so to start with.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2014-05-15 19:52:21

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

WorMzy wrote:

Unfortunately, a strace from an instance of it not segfaulting is next to useless. Sorry you went trough the trouble of uploading it. tongue

Try building VLC, using ABS, with a modified install file. Add strace, and the redirect, to the appropriate line.

If it segfaults, just upload the last 100 lines or so to start with.

Here is the vlc-git edition. Although its not exactly the same package, it builds fine and has the same issue.

Last Hundred Lines : http://pastebin.com/q6k6281R

Full Fat 8000 Lines: https://gist.github.com/Half-Shot/e8a74ede479274d57342

Offline

#12 2014-05-18 10:57:46

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

Bump?

Offline

#13 2014-05-18 13:34:45

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: VLC is very sad right now, segfaults on startup.

Sorry, nothing leapt out at me from the strace, and I can't reproduce the problem here, either with vlc or vlc-git. However, I did a search, and I think you're experiencing this bug: https://bugs.archlinux.org/task/39676

Unfortunately there's no real solution at the moment, just a hacky workaround. You could check on the VLC bug tracker (https://trac.videolan.org/vlc/) and see if there's any reports on there that have a better solution.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#14 2014-05-20 20:37:20

Half-Shot
Member
From: Chelmsford, Essex, UK
Registered: 2013-10-19
Posts: 18

Re: VLC is very sad right now, segfaults on startup.

Thanks for all your help anyway. smile

Edit: FIXED! Installing glib2-git from the AUR fixes the issue so I imagine someone has thrown a patch into glib to fix it.

Last edited by Half-Shot (2014-05-20 20:46:44)

Offline

#15 2014-05-20 21:12:04

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: VLC is very sad right now, segfaults on startup.

Half-Shot wrote:

Thanks for all your help anyway. smile

Edit: FIXED! Installing glib2-git from the AUR fixes the issue so I imagine someone has thrown a patch into glib to fix it.

https://bugzilla.gnome.org/show_bug.cgi?id=707298 Upstream bug report with the relevant patch

Offline

Board footer

Powered by FluxBB