AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 10, 2018 11:08AM
I have been following the general code/structure from this guide.
The error appears to arise from the following line of code:

3dClusterize -inset $HomePath/stats_mni.$sid.$currtask+tlrc. -ithr 3 -mask $HomePath/mayka_mni_motorcortex_mask_$sid+tlrc. -${csim_sided} -$voxstat_thr $voxstat_thr -NN ${csim_neigh} -clust_nvox ${clust_thrvol} -pref_map -savemask $HomePath/$sid.$currtask.clust_mask > ${csim_pref}_report.txt

With the error output:
++ Reading in user's mask

Fatal Signal 11 (SIGSEGV) received
mri_maskify
Bottom of Debug Stack
** AFNI version = AFNI_18.2.15 Compile date = Aug 28 2018
** [[Precompiled binary linux_openmp_64: Aug 28 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/kxd344/.afni.crashlog


More specifically, here is what is appended to the crashlog:
*********------ CRASH LOG ------------------------------***********
Fatal Signal 11 (SIGSEGV) received
.......... recent internal history .........................................
++++THD_patch_brickim [4]: {ENTRY (file=thd_loaddblk.c line=1274) from THD_open_dataset
----THD_patch_brickim [4]: EXIT} (file=thd_loaddblk.c line=1313) to THD_open_dataset
---THD_open_dataset [3]: EXIT} (file=thd_mastery.c line=171) to 3dClusterize
+++THD_load_datablock [3]: {ENTRY (file=thd_loaddblk.c line=133) from 3dClusterize
++++AFNI_process_environ [4]: {ENTRY (file=afni_environ.c line=112) from THD_load_datablock
+++++AFNI_suck_file [5]: {ENTRY (file=afni_environ.c line=25) from AFNI_process_environ
-----AFNI_suck_file [5]: EXIT} (file=afni_environ.c line=30) to AFNI_process_environ
----AFNI_process_environ [4]: EXIT} (file=afni_environ.c line=132) to THD_load_datablock
++++AFNI_process_environ [4]: {ENTRY (file=afni_environ.c line=112) from THD_load_datablock
+++++AFNI_suck_file [5]: {ENTRY (file=afni_environ.c line=25) from AFNI_process_environ
-----AFNI_suck_file [5]: EXIT} (file=afni_environ.c line=30) to AFNI_process_environ
----AFNI_process_environ [4]: EXIT} (file=afni_environ.c line=132) to THD_load_datablock
THD_load_datablock -- mmap succeeded
---THD_load_datablock [3]: EXIT} (file=thd_loaddblk.c line=468) to 3dClusterize
+++AFNI_process_environ [3]: {ENTRY (file=afni_environ.c line=112) from 3dClusterize
++++AFNI_suck_file [4]: {ENTRY (file=afni_environ.c line=25) from AFNI_process_environ
----AFNI_suck_file [4]: EXIT} (file=afni_environ.c line=30) to AFNI_process_environ
---AFNI_process_environ [3]: EXIT} (file=afni_environ.c line=132) to 3dClusterize
+++THD_load_datablock [3]: {ENTRY (file=thd_loaddblk.c line=133) from 3dClusterize
++++AFNI_process_environ [4]: {ENTRY (file=afni_environ.c line=112) from THD_load_datablock
+++++AFNI_suck_file [5]: {ENTRY (file=afni_environ.c line=25) from AFNI_process_environ
-----AFNI_suck_file [5]: EXIT} (file=afni_environ.c line=30) to AFNI_process_environ
----AFNI_process_environ [4]: EXIT} (file=afni_environ.c line=132) to THD_load_datablock
++++AFNI_process_environ [4]: {ENTRY (file=afni_environ.c line=112) from THD_load_datablock
+++++AFNI_suck_file [5]: {ENTRY (file=afni_environ.c line=25) from AFNI_process_environ
-----AFNI_suck_file [5]: EXIT} (file=afni_environ.c line=30) to AFNI_process_environ
----AFNI_process_environ [4]: EXIT} (file=afni_environ.c line=132) to THD_load_datablock
THD_load_datablock -- mmap succeeded
---THD_load_datablock [3]: EXIT} (file=thd_loaddblk.c line=468) to 3dClusterize
--3dClusterize [2]: EXIT} (file=basic_boring.c line=71) to Bottom of Debug Stack
++mri_maskify [2]: {ENTRY (file=mri_thresh.c line=196) from Bottom of Debug Stack
............................................................................
mri_maskify
** AFNI compile date = Aug 28 2018
** [[Precompiled binary linux_openmp_64: Aug 28 2018]]
** Program Crash **

Thank you for your help.
Subject Author Posted

3dClusterize -> Fatal Signal 11 (SIGSEGV) received -> mri_maskify ; AFNI_18.2.15

kxd344 September 10, 2018 11:08AM

Re: 3dClusterize -> Fatal Signal 11 (SIGSEGV) received -> mri_maskify ; AFNI_18.2.15

ptaylor September 10, 2018 02:07PM

Re: 3dClusterize -> Fatal Signal 11 (SIGSEGV) received -> mri_maskify ; AFNI_18.2.15

kxd344 September 11, 2018 10:50AM

Re: 3dClusterize -> Fatal Signal 11 (SIGSEGV) received -> mri_maskify ; AFNI_18.2.15

ptaylor September 11, 2018 11:33AM

Re: 3dClusterize -> Fatal Signal 11 (SIGSEGV) received -> mri_maskify ; AFNI_18.2.15

rick reynolds September 12, 2018 12:07PM