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  

|
February 03, 2005 08:59AM
Hello AFNI community.

I am suddenly having a problem with my 3dDeconvolve script seg faulting. I found one mention of this problem on the board where it was mentioned that taking out the -tout option fixed the problem, but that didn't work for me.

Some background.... All of our experiments are done in the same way so that we have a whole slew of fmri data files. These are all processed via a script that loops through the files (so all of them are processed exactly the same way). At this point I have 3 datasets per subject that consist of the three experimental conditions (active, passive, assisted). So next I run a deconvolve script that steps through the three datasets to do a regression. Here's the script....

#! /bin/bash

datasets="active assisted passive"

for i in $datasets
do
3dDeconvolve \
-input ./afni/$i-lp+orig \
-polort 1 \
-mask ./afni/full-mask+orig \
-concat ./afni/runs.1D \
-num_stimts 7 \
-stim_file 1 ./afni/full_stimulus.1D -stim_label 1 Motion \
-stim_file 2 ./movement/$i.dfile'[1]' -stim_base 2 -stim_label 2 Roll \
-stim_file 3 ./movement/$i.dfile'[2]' -stim_base 3 -stim_label 3 Pitch \
-stim_file 4 ./movement/$i.dfile'[3]' -stim_base 4 -stim_label 4 Yaw \
-stim_file 5 ./movement/$i.dfile'[4]' -stim_base 5 -stim_label 5 dS \
-stim_file 6 ./movement/$i.dfile'[5]' -stim_base 6 -stim_label 6 dL \
-stim_file 7 ./movement/$i.dfile'[6]' -stim_base 7 -stim_label 7 dP \
-fitts $i-fitts \
-full_first -fout -rout -tout -nobout \
-bucket $i-stats
done


This whole process works great on 9 of my twelve subjects. On the other two the 3dDeconvolve seg faults. Keep in mind all of this data is processed by the sames scripts in the exact same way.

One of the seg fault messages is shown here:
Program: 3dDeconvolve
Author: B. Douglas Ward, et al.
Initial Release: 02 September 1998
Latest Revision: 19 August 2004

../decontest: line 35: 5752 Segmentation fault 3dDeconvolve -input ./afni/$i-lp+orig -polort 1 -mask ./afni/full-mask+orig -concat ./afni/runs.1D -num_stimts 7 -stim_file 1 ./afni/full_stimulus.1D -stim_label 1 Motion -stim_file 2 ./movement/$i.dfile'[1]' -stim_base 2 -stim_label 2 Roll -stim_file 3 ./movement/$i.dfile'[2]' -stim_base 3 -stim_label 3 Pitch -stim_file 4 ./movement/$i.dfile'[3]' -stim_base 4 -stim_label 4 Yaw -stim_file 5 ./movement/$i.dfile'[4]' -stim_base 5 -stim_label 5 dS -stim_file 6 ./movement/$i.dfile'[5]' -stim_base 6 -stim_label 6 dL -stim_file 7 ./movement/$i.dfile'[6]' -stim_base 7 -stim_label 7 dP -fitts $i-fitts -full_first -fout -rout -tout -nobout -bucket $i-stats

I am terribly confused at this point. The exact script works on all 9 other subjects, just not on these two. I loaded up AFNI on another Linux machine (Slackware) and acheived the same results.

Does anybody have any ideas? I can only assume it's something about that particular data that is causing it, but I don't know what since, on inspection, the datasets look fine.

Any thoughts would be deeply appreciated.

iggy

Subject Author Posted

3dDeconvolve Segmentation Fault

iggy February 03, 2005 08:59AM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 09:37AM

Re: 3dDeconvolve Segmentation Fault

iggy February 03, 2005 10:27AM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 10:37AM

Re: 3dDeconvolve Segmentation Fault

iggy February 03, 2005 10:39AM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 01:57PM

Re: 3dDeconvolve Segmentation Fault

iggy February 03, 2005 02:03PM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 02:17PM

Re: 3dDeconvolve Segmentation Fault

iggy February 03, 2005 02:27PM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 05:33PM

Re: 3dDeconvolve Segmentation Fault

David February 03, 2005 06:26PM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 03, 2005 07:20PM

Re: 3dDeconvolve Segmentation Fault

iggy February 04, 2005 09:08AM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 04, 2005 09:24AM

Re: 3dDeconvolve Segmentation Fault

iggy February 04, 2005 09:26AM

Re: 3dDeconvolve Segmentation Fault

Jim Eliassen February 14, 2005 04:42PM

Re: 3dDeconvolve Segmentation Fault

rick reynolds February 14, 2005 04:50PM