Mrview segmentation fault: invalid memory access

OK, that’s not cool… This looks similar to issues we had earlier, due to incompatibilities with Eigen 3.3. But these have been resolved for some time, and should no longer happen with any recent version of MRtrix3. So let’s rule that out first: what does this report:

mrview -version

You’d need version 3.0_RC1 or later to ensure that’s not the issue. If you’re running an old version, try updating first, see if that fixes the issue:

git checkout master
git pull
./configure
./build

Otherwise, I suspect the crash happens in the image loading backend, so you’d see it with a simple

mrinfo data.mif

If that doesn’t crash, try

mrstats data.mif

If one of the above crashes, that would already give us a pretty good idea where the problem might be…