I have also noticed those .tmp-shm files appearing and have confirmed that 2 such files are created by Avast at every boot, and they are not deleted on reboot or shutdown, they just keep amassing there, two by two, each boot.
Reinstallation doesn't help. This behavior has happened since installing the last version 10.3.2225.
Is there any more information about this weird behavior?