[CentOS] Migration to centos 7 and program seg faulting