[MINC-users] mincreshape segfault for certain choices of options

Soren Christensen sorench at gmail.com
Thu Dec 14 20:07:30 EST 2017


Hi,
 Shouldn't this work (combining -dimsize and ydirection)
$ mincreshape -clobber   -ydirection  -float   a.mnc b.mnc
Copying
chunks:.....................................................................................................................................................................................Done.

mincreshape -clobber    -float -dimsize zspace=40  a.mnc b.mnc
Copying chunks:........................................Done.

mincreshape -clobber   -ydirection  -float -dimsize zspace=40  a.mnc b.mnc
Copying chunks:.......................................HDF5-DIAG: Error
detected in HDF5 (1.8.18) thread 0:
  #000: /home/sorenc/CODE/minc-toolkit-v2_build/HDF5/src/H5S.c line 431 in
H5Scopy(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
/home/sorenc/CODE/minc-toolkit-v2/libminc/libsrc/hdf_convenience.c:1616
(from miicv_get): Should not happen!
.Segmentation fault (core dumped)



Thanks!
Soren



$ mincreshape -version
program: 2.4.02
libminc: 2.4.02
netcdf : 4.3.3.1 of Dec  9 2017 15:29:26 $
HDF5   : 1.8.18


More information about the MINC-users mailing list