Anime: Ghost in the Shell: Stand Alone Complex - Episode 15
Malfunctioning robot girl's name: Operator
Scene description: The Tachikomas attempt to take a prototype that is being guarded by an Operator. They gave the Operator the "liar's paradox", causing the gynoid to be in the state of infinite loop, which caused her to malfunction while stuttering and attempting to solve the paradox.