Installed vlc (VLC version 2.2.2 Weatherwax) from the 16.04 LTS official repo. I have the ubuntu-restricted-extras. Videos play with totem (3.18.1) but if I try to run vlc -vvv file_name it crashes with Segmentation fault (core dumped). avi files play fine with both players.
Below a screenshot of the settings I used to use with my previous version of vlc and Ubuntu 14.04 LTS. Then it was working fine. I tried to change the output type but it doesn't help.
Best Answer
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 dumpvlc
from the same terminalgdb `which vlc`
core core
Load the core file which is actually calledcore
bt
This gave me the following ouput:The entry at #8 showed me that the problem was in the Radeon drivers.