You are not logged in.

#1 2017-01-08 10:35:06

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,281

[SOLVED] vlc segfaults at startup

As the topic suggests, vlc is segfaulting at startup when started either with a video file or no file (though if I start with an audio file it doesn't, it plays it but there's no GUI). The error is:

VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[000000000097c218] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000000a90248] core interface error: corrupt module: /usr/lib/vlc/plugins/gui/libqt4_plugin.so
[0000000000a90248] core interface error: corrupt module: /usr/lib/vlc/plugins/gui/libskins2_plugin.so
[0000000000a90248] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.4 Weatherwax
Command Line Interface initialized. Type `help' for help.
> [00007f3750000e88] core demux error: corrupt module: /usr/lib/vlc/plugins/access/liblibbluray_plugin.so
[00007f3750004e98] core decoder error: corrupt module: /usr/lib/vlc/plugins/codec/libsvgdec_plugin.so
[00007f3750004e98] core decoder error: corrupt module: /usr/lib/vlc/plugins/codec/liblibass_plugin.so
Segmentation fault (core dumped)

This suggests that it's a GUI problem, supported by the fact that ffplay and mplayer both play the files just fine.

I can't remove qt4 (which I understand is optional for vlc now) since I have so much depending on it.

I'm wondering if it could possibly be related to https://bbs.archlinux.org/viewtopic.php?id=221112, though the responses in that thread suggested that it was nothing to worry about.

I tried removing vlc and installing vlc-git to ensure that it was built against current libraries with the same result.

I've tried removing vlc and then deleting all remaining vlc files (the only ones left were in ~/.config) before re-installing, but no joy.

Any ideas where to go to next. Google and the forum search have been no help.

Last edited by Roken (2017-01-08 11:44:31)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#2 2017-01-08 10:45:15

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,643
Website

Re: [SOLVED] vlc segfaults at startup

You using freetype2-infinality?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2017-01-08 11:32:44

imdn
Member
Registered: 2016-04-12
Posts: 40

Re: [SOLVED] vlc segfaults at startup

It seems you are yet another casualty of the infinality-bundle freetype2 package being being incompatible with the latest harfbuzz updates. You will need to revert to the official freetype2 package if that's the case.

Offline

#4 2017-01-08 11:33:05

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: [SOLVED] vlc segfaults at startup

Hey

not sure what happened but yesterday before I closed my PC VLC was working fine but not it refuses to open any files or open up generally even.

some logs: LD_DEBUG=files vlc > log 2>&1 http://pastebin.com/Ats8HCQx

http://pastebin.com/tdZZNjwE vlc -vv log


I'm worried about these plugin errors it shows.

core libvlc warning: cannot load module `/usr/lib/vlc/plugins/control/liblirc_plugin.so' (liblirc_client.so.0: cannot open shared object file: No such file or directory)

Offline

#5 2017-01-08 11:44:02

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,281

Re: [SOLVED] vlc segfaults at startup

Thank you, both. I don't recall any announcement about infinalty breakages, but reverting to official freetype2 has fixed.

Thank you.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#6 2017-01-08 12:13:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,643
Website

Re: [SOLVED] vlc segfaults at startup

https://bbs.archlinux.org/viewtopic.php?id=221666?

Last edited by graysky (2017-01-08 12:13:17)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2017-01-08 12:24:05

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: [SOLVED] vlc segfaults at startup

well hmm

~ » sudo pacman -R infinality-bundle-multilib
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-harfbuzz: removing lib32-freetype2-infinality-ultimate breaks dependency 'lib32-freetype2'
:: lib32-libxft: removing lib32-fontconfig-infinality-ultimate breaks dependency 'lib32-fontconfig'
:: lib32-pango: removing lib32-cairo-infinality-ultimate breaks dependency 'lib32-cairo'
:: wine: removing lib32-fontconfig-infinality-ultimate breaks dependency 'lib32-fontconfig'
:: wine: removing lib32-freetype2-infinality-ultimate breaks dependency 'lib32-freetype2'

Offline

#8 2017-01-08 12:31:06

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

Mod note: Moving to Multimedia and Games.


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 2017-01-08 12:33:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

I'm going to merge these two topics since they were started at similar times and both deal with the same problem.


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

#10 2017-01-08 12:34:12

munikarmanish
Member
From: Kathmandu, Nepal
Registered: 2015-01-14
Posts: 2
Website

Re: [SOLVED] vlc segfaults at startup

Hello everyone,

I see installing official freetype2 solves this problem. But my problem is that I can't even install official freetype2. I get a conflict error that is not fixable.

manish@localhost:~$ pacaur -S freetype2
[sudo] password for manish: 
resolving dependencies...
looking for conflicting packages...
:: freetype2 and freetype2-infinality-ultimate are in conflict. Remove freetype2-infinality-ultimate? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: fontconfig-infinality-ultimate: removing freetype2-infinality-ultimate breaks dependency 'freetype2-infinality-ultimate'

Any clue on what I can do here? smile

Offline

#11 2017-01-08 12:36:00

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

Try replacing fontconfig-infinality-ultimate with extra/fontconfig in the same transaction.

Last edited by WorMzy (2017-01-08 12:36:16)


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

#12 2017-01-08 12:40:35

munikarmanish
Member
From: Kathmandu, Nepal
Registered: 2015-01-14
Posts: 2
Website

Re: [SOLVED] vlc segfaults at startup

@WorMzy: Fixed. Thanks a lot! big_smile

Offline

#13 2017-01-08 12:43:11

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: [SOLVED] vlc segfaults at startup

ntldr wrote:

Hey

not sure what happened but yesterday before I closed my PC VLC was working fine but not it refuses to open any files or open up generally even.

some logs: LD_DEBUG=files vlc > log 2>&1 http://pastebin.com/Ats8HCQx

http://pastebin.com/tdZZNjwE vlc -vv log


I'm worried about these plugin errors it shows.

core libvlc warning: cannot load module `/usr/lib/vlc/plugins/control/liblirc_plugin.so' (liblirc_client.so.0: cannot open shared object file: No such file or directory)

but this also doesn't make sense because I had infinality installed since I installed arch and VLC worked before just fine and suddenly after shutting down and starting it decided to break down.. so I'm not convinced that the font itself is doing it?

Offline

#14 2017-01-08 13:02:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

You're forgetting that Arch is rolling release. Just because an unofficial package worked when you installed it, doesn't mean that it will continue to work when the rest of your system gets updated. The problem seems to be that fontconfig-infinality needs to be updated, but the maintainer has yet to do this (for whatever reason). The packages in the official repositories have been updated to work with the latest version of harfbuzz, whereas this unofficial package hasn't. Switching to the official packages (at least until the infinality packages get updated) is the best 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

#15 2017-01-08 13:09:24

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: [SOLVED] vlc segfaults at startup

WorMzy wrote:

You're forgetting that Arch is rolling release. Just because an unofficial package worked when you installed it, doesn't mean that it will continue to work when the rest of your system gets updated. The problem seems to be that fontconfig-infinality needs to be updated, but the maintainer has yet to do this (for whatever reason). The packages in the official repositories have been updated to work with the latest version of harfbuzz, whereas this unofficial package hasn't. Switching to the official packages (at least until the infinality packages get updated) is the best solution.

infinality-bundle/fontconfig-infinality-ultimate 2.11.95-4 (infinality-bundle)

are you talking about this one? but at the same time I don't know how I can remove infinality then switch to freetype2? breaks dependencies if you try to do so..

Offline

#16 2017-01-08 13:10:07

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,281

Re: [SOLVED] vlc segfaults at startup

FYI, you've linked to this thread smile


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#17 2017-01-08 13:23:23

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

That's because I merged them. tongue


ntldr wrote:
WorMzy wrote:

You're forgetting that Arch is rolling release. Just because an unofficial package worked when you installed it, doesn't mean that it will continue to work when the rest of your system gets updated. The problem seems to be that fontconfig-infinality needs to be updated, but the maintainer has yet to do this (for whatever reason). The packages in the official repositories have been updated to work with the latest version of harfbuzz, whereas this unofficial package hasn't. Switching to the official packages (at least until the infinality packages get updated) is the best solution.

infinality-bundle/fontconfig-infinality-ultimate 2.11.95-4 (infinality-bundle)

are you talking about this one? but at the same time I don't know how I can remove infinality then switch to freetype2? breaks dependencies if you try to do so..

Am I talking about this one, what?

Ideally, you don't remove then switch, you replace. Like munikarmanish did. Tell pacman to install the official packages, and it will ask you if you want to remove the unofficial versions.

Last edited by WorMzy (2017-01-08 13:27:08)


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

#18 2017-01-08 14:16:04

ntldr
Member
Registered: 2017-01-04
Posts: 65

Re: [SOLVED] vlc segfaults at startup

WorMzy wrote:

That's because I merged them. tongue


ntldr wrote:
WorMzy wrote:

You're forgetting that Arch is rolling release. Just because an unofficial package worked when you installed it, doesn't mean that it will continue to work when the rest of your system gets updated. The problem seems to be that fontconfig-infinality needs to be updated, but the maintainer has yet to do this (for whatever reason). The packages in the official repositories have been updated to work with the latest version of harfbuzz, whereas this unofficial package hasn't. Switching to the official packages (at least until the infinality packages get updated) is the best solution.

infinality-bundle/fontconfig-infinality-ultimate 2.11.95-4 (infinality-bundle)

are you talking about this one? but at the same time I don't know how I can remove infinality then switch to freetype2? breaks dependencies if you try to do so..

Am I talking about this one, what?

Ideally, you don't remove then switch, you replace. Like munikarmanish did. Tell pacman to install the official packages, and it will ask you if you want to remove the unofficial versions.

http://pastebin.com/HsWqaAXv

~ » sudo pacman -S fontconfig
resolving dependencies...
looking for conflicting packages...
:: fontconfig and fontconfig-infinality-ultimate are in conflict. Remove fontconfig-infinality-ultimate? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: lib32-fontconfig-infinality-ultimate: removing fontconfig-infinality-ultimate breaks dependency 'fontconfig-infinality-ultimate'

Offline

#19 2017-01-08 14:27:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: [SOLVED] vlc segfaults at startup

Reread the thread and engage your brain, this isn't that different from munikarmanish's problem, and the solution is likewise similar. Stop being a help vampire.


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

#20 2017-01-08 14:28:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,249

Re: [SOLVED] vlc segfaults at startup

You have to pass all the packages to be replaced explicitly:

sudo pacman -S lib32-fontconfig fontconfig

Edit: Snaked and intended go with a similar response initially, decided to cut some slack because they are new

Last edited by V1del (2017-01-08 14:29:21)

Offline

#21 2017-01-24 19:28:29

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: [SOLVED] vlc segfaults at startup

For me,

sudo pacman -S lib32-fontconfig fontconfig freetype2 lib32-freetype2 lib32-cairo

worked.

Offline

Board footer

Powered by FluxBB