You are not logged in.

#1 2018-06-07 13:39:40

lumpiluk
Member
Registered: 2018-04-05
Posts: 4

[SOLVED] VLC and Dragon: Segmentation Fault

Both VLC and Dragon do not launch and crash instantly with a segmentation fault.
I already tried the suggestions in the wiki, but vlc-cache-gen also throws a segfault and deleting plugins.dat has no effect.
I also tried reinstalling vlc and starting with prepending

env LD_PRELOAD=/usr/lib/libgobject-2.0.so.0

to the respective commands as suggested under this bug report from March, which enables vlc to start but causes it to claim that the h264 codec is not supported.
Trying to build and install vlc-git from the AUR fails with

/bin/sh: line 4:  2944 Segmentation fault      (core dumped) ./vlc-cache-gen `realpath ../modules`

Is there anything else I could try?

Last edited by lumpiluk (2018-06-07 14:51:08)

Offline

#2 2018-06-07 13:50:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,390

Re: [SOLVED] VLC and Dragon: Segmentation Fault

claim that the h264 codec is not supported

You only mentioned that in passing but I feel that it is pretty crucial to the issue. Are you doing partial upgrades? Post a pacman.log and

pacman -Qs ffmpeg
pacman -Qs vlc
pacman -Qs x264
pacman -Qs glib2

Also FWIW post a proper core dump

Last edited by V1del (2018-06-07 13:54:36)

Offline

#3 2018-06-07 14:24:18

lumpiluk
Member
Registered: 2018-04-05
Posts: 4

Re: [SOLVED] VLC and Dragon: Segmentation Fault

Thanks for your help! I hope I'm doing this right:

$ pacman -Qs ffmpeg
local/chromaprint-fftw 1.4.3-1
    Extracts fingerprints from any audio source (uses fftw for FFT calculations instead of ffmpeg)
local/ffmpeg-full 4.0-4
    Complete solution to record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac)
local/ffmpegthumbs 18.04.1-2 (kde-applications kdemultimedia)
    FFmpeg-based thumbnail creator for video files
local/ffnvcodec-headers 8.1.24.2-2
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/libavutil-52 2.3.6-3
    Compatibility package for ffmpeg to provide versions 52 of libavutil not anymore provided by the ffmpeg package

$ pacman -Qs vlc
local/phonon-qt4-vlc 0.10.1-2
    Phonon VLC backend for Qt4
local/phonon-qt5-vlc 0.10.1-2
    Phonon VLC backend for Qt5
local/vlc 3.0.2-2
    Multi-platform MPEG, VCD/DVD, and DivX player

$ pacman -Qs x264
local/libx264 2:152.20171224-2
    Library for encoding H264/AVC video streams (8bit depth)

$ pacman -Qs glib2
local/glib2 2.56.1-1
    Low level core library
local/glib2-docs 2.56.1-1
    Documentation for GLib
local/lib32-glib2 2.56.0+7+g66948ae23-1
    Low level core library (32-bit)

pacman.log
Core dump for vlc
Core dump for lvlc-cache-gen
Core dump for dragon

V1del wrote:

Are you doing partial upgrades?

I don't think so, although it could be possible that I have at some point accidentally forgotten to do an -Syu upgrade before installing a new package with -S...

Offline

#4 2018-06-07 14:50:32

lumpiluk
Member
Registered: 2018-04-05
Posts: 4

Re: [SOLVED] VLC and Dragon: Segmentation Fault

Rebuilding ffmpeg-full solved it!

aurman --rebuild -S ffmpeg-full

Offline

#5 2018-06-07 15:52:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,390

Re: [SOLVED] VLC and Dragon: Segmentation Fault

yep, having an AUR package for something as centerpiece as ffmpeg you should pay attention to other multimedia packages like the x265/x264 packages and rebuild it in response, should they be updated.

Offline

Board footer

Powered by FluxBB