This error has been resolved now. Though I am not an expert but here are few thoughts. There may be several reasons for this error:
This error might appear due to numerical instability from overlapping atoms.
As mentioned by @Phil Hasnip, if the S-matrix eigenvalues are really small.
Some pseudopotential may not fit with calculation, USPP giving non-...