I want to calculate the SVD ($A = U\Sigma V^*$)of $$A = \begin{bmatrix} 0 & 2 \\ 0 & 0 \\ 0 & 0 \end{bmatrix}$$ but $$A^TA = \begin{bmatrix} 0 & 0 \\ 0 & 4 \end{bmatrix}$$
which has a zero eigenvalue. The problem with this is that the columns of $U$ are given by
$$u_i = \frac{Av_i}{\sigma_i}$$
where $\sigma_i = \sqrt{\lambda_i}$.