I am running mris_anatomical_stats and keep getting the same
error. Here’s the entire log file…looks like the big error happens
at ‘glibc detected’
computing statistics for each annotation in
/ifs/woods/scott_temp/kevin_work/freeseg/subj/078/label/rh.aparc.annot.
outputting results to
/ifs/tmp/pipeline-4.2/pipelnvr/2009June08_15h03m16s361ms/MRISAnatomicalStats.StatsFile_0-077.stats...
reading volume /ifs/woods/scott_temp/kevin_work/freeseg/subj_xfm/078/mri/wm.mgz...
reading input surface
/ifs/woods/scott_temp/kevin_work/freeseg/subj_xfm/078/surf/lh.pial...
reading input pial surface
/ifs/woods/scott_temp/kevin_work/freeseg/subj_xfm/078/surf/lh.pial...
reading input white surface
/ifs/woods/scott_temp/kevin_work/freeseg/subj_xfm/078/surf/lh.white...
reading colortable from annotation file...
colortable with 36 entries read (originally
/autofs/space/amaebi_026/users/buckner_cortical_atlas/scripts/colortable_final.txt)
*** glibc detected ***
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats: free(): invalid
pointer: 0x00002af35c93d000 ***
======= Backtrace: =========
/lib64/libc.so.6[0x35c4671684]
/lib64/libc.so.6(cfree+0x8c)[0x35c4674ccc]
/lib64/libc.so.6(_IO_free_backup_area+0x18)[0x35c466dd68]
/lib64/libc.so.6(_IO_file_overflow+0x1d2)[0x35c466bd62]
/lib64/libc.so.6(_IO_vfprintf+0x4a7e)[0x35c4646d4e]
/lib64/libc.so.6(_IO_fprintf+0x88)[0x35c464cf68]
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats(vfprintf+0x338d)[0x40898d]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x35c461d8b4]
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats(__gxx_personality_v0+0xfa)[0x40626a]
======= Memory map: ========
00400000-00786000 r-xp 00000000 00:16
238900739
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats
00886000-008e0000 rw-p 00386000 00:16
238900739
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats
008e0000-0209f000 rw-p 008e0000 00:00 0
04da5000-0b132000 rw-p 04da5000 00:00 0
35c4200000-35c421a000 r-xp 00000000 08:01
4321433 /lib64/ld-2.5.so
35c441a000-35c441b000 r--p 0001a000 08:01
4321433 /lib64/ld-2.5.so
35c441b000-35c441c000 rw-p 0001b000 08:01
4321433 /lib64/ld-2.5.so
35c4600000-35c474a000 r-xp 00000000 08:01
4321434 /lib64/libc-2.5.so
35c474a000-35c4949000 ---p 0014a000 08:01
4321434 /lib64/libc-2.5.so
35c4949000-35c494d000 r--p 00149000 08:01
4321434 /lib64/libc-2.5.so
35c494d000-35c494e000 rw-p 0014d000 08:01
4321434 /lib64/libc-2.5.so
35c494e000-35c4953000 rw-p 35c494e000 00:00 0
35c4a00000-35c4a21000 r-xp 00000000 08:01
12354411 /usr/lib64/libjpeg.so.62.0.0
35c4a21000-35c4c20000 ---p 00021000 08:01
12354411 /usr/lib64/libjpeg.so.62.0.0
35c4c20000-35c4c21000 rw-p 00020000 08:01
12354411 /usr/lib64/libjpeg.so.62.0.0
35c4e00000-35c4e57000 r-xp 00000000 08:01
12354412 /usr/lib64/libtiff.so.3.8.2
35c4e57000-35c5056000 ---p 00057000 08:01
12354412 /usr/lib64/libtiff.so.3.8.2
35c5056000-35c5059000 rw-p 00056000 08:01
12354412 /usr/lib64/libtiff.so.3.8.2
35c5200000-35c5282000 r-xp 00000000 08:01
4321204 /lib64/libm-2.5.so
35c5282000-35c5481000 ---p 00082000 08:01
4321204 /lib64/libm-2.5.so
35c5481000-35c5482000 r--p 00081000 08:01
4321204 /lib64/libm-2.5.so
35c5482000-35c5483000 rw-p 00082000 08:01
4321204 /lib64/libm-2.5.so
35c6200000-35c6214000 r-xp 00000000 08:01
12346484 /usr/lib64/libz.so.1.2.3
35c6214000-35c6413000 ---p 00014000 08:01
12346484 /usr/lib64/libz.so.1.2.3
35c6413000-35c6414000 rw-p 00013000 08:01 12346484 /usr/lib64/libz.so.1.2.3
35c6600000-35c6609000 r-xp 00000000 08:01
4321447 /lib64/libcrypt-2.5.so
35c6609000-35c6808000 ---p 00009000 08:01
4321447 /lib64/libcrypt-2.5.so
35c6808000-35c6809000 r--p 00008000 08:01
4321447 /lib64/libcrypt-2.5.so
35c6809000-35c680a000 rw-p 00009000 08:01
4321447 /lib64/libcrypt-2.5.so
35c680a000-35c6838000 rw-p 35c680a000 00:00 0
35c6a00000-35c6ae6000 r-xp 00000000 08:01 12346051
/usr/lib64/libstdc++.so.6.0.8
35c6ae6000-35c6ce5000 ---p 000e6000 08:01
12346051 /usr/lib64/libstdc++.so.6.0.8
35c6ce5000-35c6ceb000 r--p 000e5000 08:01
12346051 /usr/lib64/libstdc++.so.6.0.8
35c6ceb000-35c6cee000 rw-p 000eb000 08:01
12346051 /usr/lib64/libstdc++.so.6.0.8
35c6cee000-35c6d00000 rw-p 35c6cee000 00:00 0
35c7200000-35c720d000 r-xp 00000000 08:01
4321444 /lib64/libgcc_s-4.1.2-20080102.so.1
35c720d000-35c740d000 ---p 0000d000 08:01
4321444 /lib64/libgcc_s-4.1.2-20080102.so.1
35c740d000-35c740e000 rw-p 0000d000 08:01
4321444 /lib64/libgcc_s-4.1.2-20080102.so.1
2af35799b000-2af35799e000 rw-p 2af35799b000 00:00 0
2af3579a7000-2af3579a8000 rw-p 2af3579a7000 00:00 0
2af3579a8000-2af3579aa000 r-xp 00000000 08:01
4321435 /lib64/libdl-2.5.so
2af3579aa000-2af357baa000 ---p 00002000 08:01
4321435 /lib64/libdl-2.5.so
2af357baa000-2af357bab000 r--p 00002000 08:01
4321435 /lib64/libdl-2.5.so
2af357bab000-2af357bac000 rw-p 00003000 08:01
4321435 /lib64/libdl-2.5.so
2af357bac000-2af357bc1000 r-xp 00000000 08:01 4321439 /lib64/libpthread-2.5.so
2af357bc1000-2af357dc0000 ---p 00015000 08:01
4321439 /lib64/libpthread-2.5.so
2af357dc0000-2af357dc1000 r--p 00014000 08:01
4321439 /lib64/libpthread-2.5.so
2af357dc1000-2af357dc2000 rw-p 00015000 08:01
4321439 /lib64/libpthread-2.5.so
2af357dc2000-2af35c93f000 rw-p 2af357dc2000 00:00 0
2af360000000-2af360021000 rw-p 2af360000000 00:00 0
2af360021000-2af364000000 ---p 2af360021000 00:00 0
7fff52ee6000-7fff5310f000 rw-p 7fff52ee6000 00:00
0 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00
0 [vdso]
/ifs/woods/scott_temp/kevin_work/freeseg/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats.sh:
line 8: 28655 Aborted
/usr/local/freesurfer-4.3.0_64bit/bin/mris_anatomical_stats $@
Kevin Scheibel
k.scheibel@ucla.edu