Dear Jack,

those are some seriously small voxels. I can’t really say from that crashdump exactly what is happening. The construction of a new 3D spline is not a memory hungry operation so I don’t think it is that. If you want me to take a look at it you can upload your data and your params.txt to

https://oxfile.ox.ac.uk/oxfile/work/extBox?id=72139C7E463068D5F

and send me an email when it is done.

Jesper

On 1 Mar 2017, at 21:41, Jack Grinband <[log in to unmask]> wrote:

Hi All,
I'm getting a segmentation error when running topup.  It doesn't seem to be a memory issue -- I have 32G RAM and it only uses 20G before crashing.  Are there any matrix or voxel size restrictions on the input to topup?  
thanks,

jack


Output of fslsize:
dim1           284
dim2           190
dim3           84
dim4           2
pixdim1        0.010000
pixdim2        0.010000
pixdim3        0.030000
pixdim4        6.000000


Platform:
FSL 5.0.9
OS X 10.11.6


Command:
topup --imain=myfile --datain=params.txt --config=b02b0.cnf --out=unwarped_results --fout=field --iout=unwarped


Error:
Segmentation violation, Address not mapped, Offending address = 0x6e008e000
topup                               0x000000010006d258 BASISFIELD::Spline3D<double>::common_construction(unsigned int, std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&)
topup                               0x0000000100061d77 BASISFIELD::splinefield::splinefield(std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<double, std::allocator<double> > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, int)
topup                               0x000000010000f01b TOPUP::TopupCF::field_factory(NEWIMAGE::volume4D<float> const&, double, unsigned int) const
topup                               0x0000000100010b5d TOPUP::TopupCF::TopupCF(NEWIMAGE::volume4D<float> const&, NEWMAT::Matrix const&, NEWMAT::ColumnVector const&, double, unsigned int)
topup                               0x000000010003670e main
topup                               0x00000001000016b8 start