Are you sure that your inputs are well-formed? Are you creating them using the exposed API, or SparseMatrixCSC? Generally, I would recommend using the API, the constructor is internal.
If you are sure that your inputs are valid, then please construct an MWE to demonstrate the problem, as it may indicate a bug.