Random crash after restart of HASS


My hass runs in a virtual environment on a PI Raspberry See below

System Health

arch armv7l
dev false
docker false
hassio false
os_name Linux
python_version 3.6.5
timezone Europe/Nicosia
version 0.87.1
virtualenv true


mode auto-gen

Most of the times when I restart HASS it crashes with the following error message
*** Error in `/srv/homeassistant/bin/python3’: malloc(): smallbin double linked list corrupted: 0x027a5060 ***

If it manages to start successfully it never crashes again. How can I troubleshoot this?


It seems that hass crashes during the initialization of the zwave devices. When the zwave devices are fully initialized hass is stable.