[pymvpa] segmentation fault while running unit test

Valentin Haenel valentin.haenel at gmx.de
Wed Apr 8 15:40:20 UTC 2009


Hi all,

i tried to run the test suite today on one of cluster nodes and encountered a
seg-fault. I then spent a while tracking it down with our sys-admin (tiziano
zito). So here is the full story:

I am running this on a lenny with build-deps for python-mvpa installed, and the
pymvpa version i am using is from the master branch of the git repo.

We found out that the segfault is caused in:

testERNiftiDataset (mvpa.tests.test_niftidataset.NiftiDatasetTests)

and here are a few lines that when copied and pasted into your ipython should
reproduce the error:

import os
import mvpa
from mvpa import pymvpa_dataroot
from mvpa.datasets.nifti import *
tssrc = os.path.join(pymvpa_dataroot, 'bold')
origsamples = getNiftiFromAnySource(tssrc).data
origsamples

Any ideas?

cheers

V-




More information about the Pkg-ExpPsy-PyMVPA mailing list