Singularity

Roll-pitch-yaw singularity
What is singularity in rotation?Is gimbal lock a singularity?Do rotation matrices have singularities?How do you prevent singularity in Euler angles? ...