I ran into this issue because VLC was attempting to use VDAPU for video decoding, and it was causing a segmentation fault. Presumably this is actually a bug in the open source Radeon drivers, but I was able to work around this by simply disabling hardware video decoding. The setting is kind of buried, just open VLC then go to Tools->Preferences->Input/Codecs and set Hardware-accelerated decoding to Disable.
In case this didn't solve your particular problem, I was able to figure out that it was a problem with VDAPU by executing the following steps:
ulimit -c unlimited
to get Ubuntu to actually create a core dump
vlc
from the same terminal
- Wait for segfault
gdb `which vlc`
core core
Load the core file which is actually called core
bt
This gave me the following ouput:
#0 0x00007fe128b4118e in llvm::SmallVectorTemplateBase<llvm::cl::parser<llvm::ScheduleDAGInstrs* (*)(llvm::MachineSchedContext*)>::OptionInfo, false>::grow(unsigned long) () from /usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1
#1 0x00007fe128b4125e in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-4.0.so.1
#2 0x00007fe1067fab0a in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-3.8.so.1
#3 0x00007fe16555b4ea in call_init (l=<optimized out>, argc=argc@entry=2,
argv=argv@entry=0x7ffecd92f6b8, env=env@entry=0x7fe138050690)
at dl-init.c:72
#4 0x00007fe16555b5fb in call_init (env=0x7fe138050690, argv=0x7ffecd92f6b8,
argc=2, l=<optimized out>) at dl-init.c:30
#5 _dl_init (main_map=main_map@entry=0x7fe10c0172c0, argc=2,
argv=0x7ffecd92f6b8, env=0x7fe138050690) at dl-init.c:120
#6 0x00007fe165560712 in dl_open_worker (a=a@entry=0x7fe121f082c0)
at dl-open.c:575
#7 0x00007fe16555b394 in _dl_catch_error (
objname=objname@entry=0x7fe121f082b0,
errstring=errstring@entry=0x7fe121f082b8,
mallocedp=mallocedp@entry=0x7fe121f082af,
operate=operate@entry=0x7fe165560300 <dl_open_worker>,
args=args@entry=0x7fe121f082c0) at dl-error.c:187
#8 0x00007fe16555fbd9 in _dl_open (
file=0x7fe121f08540 "${ORIGIN}/vdpau/libvdpau_radeonsi.so.1",
mode=-2147483390, caller_dlopen=0x7fe1095a46cc, nsid=-2,
---Type <return> to continue, or q <return> to quit---
The entry at #8 showed me that the problem was in the Radeon drivers.