-
Notifications
You must be signed in to change notification settings - Fork 7
Description
The current packaged standalone version of CAT12 from the 27th of March (r2665) contains buggy binaries which produce seg faults when running cat_standalone_segment.m.
The script runs normally until it calls CAT.glnx86/CAT_RefineMesh and then produces errors from there:
Create initial surface /software/CAT12_standalone_270325/spm25_mcr/home/ubuntu/Desktop/spm12/toolbox/cat12/CAT.glnx86/CAT_RefineMesh "/software/test/surf/lh.central.nofix.mprage.gii" "/software/test/surf/lh.central.nofix.mprage.gii" 3.00: Segmentation fault
/software/CAT12_standalone_270325/spm25_mcr/home/ubuntu/Desktop/spm12/toolbox/cat12/CAT.glnx86/CAT_RefineMesh "/software/test/surf/lh.central.nofix.mprage.gii" "/software/test/surf/lh.central.nofix.mprage.gii" 3.00: Segmentation fault
Solution:
Replacing the packaged contents of CAT.glnx86 with the recompiled versions from https://github.com/ChristianGaser/cat12/tree/main/CAT.glnx86 fixes the behaviour and lets the script finish as intended.
Repackaging of the standalone download with the updated binaries is required to restore functionality.
Edit:
The "spm25_mcr/home/ubuntu/Desktop/spm12/toolbox/cat12/CAT.glnx86" directory only exists after having run the pipeline at least once and therefore is not present merely upon unpacking the zip-file.