Thank you all for your suggestions so far. I have not solved the problem yet.
My Ubuntu installation is up to date, I do use compiz fusion, but I have tried avast with this disabled.
The text version is able to scan for viruses etc and works properly, however the gui only displays a couple of // symbols and is not usable as a result.