Skip to content

Atropos fails on macOS with ANTs 2.5.0 #1627

@devDonnn

Description

@devDonnn

Hi,

I've been running ANTs Atropos using the downloaded GitHub release binary ants-2.5.0-macos-12-X64-clang.zip for my Mac Studio, Apple M1 Max, macOS 14.1.1:

noglob Atropos -d 3 -x brainmask.nii.gz \
-c [ 200,0.0005 ] \
-a diff.nii.gz \
-i kmeans[ 2 ] \
-s 1x2 \
-k HistogramParzenWindows[ 1,32 ] \
-m [ 0.1,1x1x1 ] \
-o [ tmpSegmentation.nii.gz,posteriors%d.nii.gz ] \
-r 1 -p Socrates[ 0 ]

However, it crashes with the following terminal output:

Atropos(6030,0x30f7b5000) malloc: *** error for object 0x600002380f00: pointer being freed was not allocated
Atropos(6030,0x30f7b5000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort noglob Atropos -d 3 -x VISIT01/T1_brainmask.nii.gz -c [ 200,0.0005 ] -a -i

On the other hand, I had no problems with the ANTs 2.4.2 version (also downloaded GitHub release binary).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReproducible bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions