I just got the segmentation error and solved by doing the following:
# activate venv
source /srv/homeassistant/bin/activate
# uninstall homeassistant + all dependencies
pip3 install pip-autoremove
pip-autoremove homeassistant -y
Then I deleted everything in the ‘.homeassistant/deps’ folder before reinstalling hass:
# Reinstall homeassistant
pip3 install --upgrade homeassistant