Strange torsion in neck

Hello.
The armature of my character has an unusual behaviour: when I rotate it in one direction, it does this:



How can i solve it?

As a starter, make sure that spine, neck and head bone roll setting is all pointing in the same direction.