Ich habe die globaloverflow variable jetzt auch als volatile deklariert.
Aba funktioniert immer noch ned.