We installed STAR using sudo apt-get install on an Ubuntu 16.04 server and got version 2.5.0.
Genome generation went fine, but mapping failed with a segmentation fault shortly after starting.
We upgraded to the latest static build (STAR_2.5.2b) from Alexei's github site and this removed the segmentation fault problem.
So, for other Ubuntu 16.04 users, suggest you use 2.5.2b, not 2.5.0 which sudo apt-get will provide.