This happens with the following node configuration:
It is caused by the modulo (or Fract) operation. I stumbled upon this problem while trying to repeat coordinates on a cube. It works fine on a plane.
Any idea why is this happening? The effect is similiar to z-fighting and only happens in perspective view. In orthographic that side is black. Is the modulo operation for some reason unable to determine a value at that side of the cube ?