I believe this is the same issue as in Tensor2metric - Segmentation Fault.
Summary: you are running tensor2metric on diffusion-weighted images rather than diffusion tensors estimated with dwi2tensor.
I have created a pull request which should prevent this segmentation fault and provide a clear error message instead: https://github.com/MRtrix3/mrtrix3/pull/2423