Generic singularities in a driven diffusive system