3dcalc FATAL SIGNAL 11

Good morning, I’m having troubles with 3dcalc. The line is
3dcalc -a ‘mask_x+orig[0]’ -b map_x+orig -expr ‘b+step(a)(a(32+1)-b)’ -prefix map_x_1

AFNI version is AFNI_18.3.03 (Oct 19 2018) [64-bit]. This line is inside a for loop, and it has been executed 30 times before giving the error. map_x is created by another 3dcalc line, and it is a 3D dataset, while mask_x is 3D+time, with 210 time points. The message I receive is

Fatal Signal 11 (SIGSEGV) received
3dcalc main
Bottom of Debug Stack
** Command line was:
3dcalc -a ‘mask_x+orig[0]’ -b map_x+orig -expr ‘b+step(a)(a(32+1)-b)’ -prefix map_x_1
** AFNI version = AFNI_18.3.03 Compile date = Oct 19 2018
** [[Precompiled binary linux_ubuntu_16_64: Oct 19 2018]]
** Program Death **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
** Crash log is appended to file /home/cauzzo_s/.afni.crashlog

I tried to rerun the program and it always fail at the same iteration. If I try to run 3dinfo mask_x+orig or 3dinfo map_x+orig I get the warning “*+ WARNING: THD_zzprintf() long string truncation = the ZSS syndrome” an infinite number of times. But I can open both datasets with the afni display gui, and they look correct.

Just to see, would you please run:

3dcopy mask_x+orig test_mask
3drefit -denote test_mask+orig

and then try the 3dcalc command with test_mask+orig?

Also, what is the size of the HEAD file?

ls -lh mask_x+orig.HEAD


  • rick