Skip to content

Leaked Semaphore Objects when running Navis.cut_skeleton #219

Description

@thejordanrivers

I am using Catmaid to do some analysis on existing traced neurons and run into an issue as described below.

I am able to initiate a Catmaid instance, use pymaid.get_neuron(), navis.prune_by_strahler(), navis.prune_twigs(),
and navis.despike_skeleton() without error. However, running navis.cut_skeleton() leads to the error below (path starred for privacy).

"python3(46905,0x1053ba600) malloc: *** error for object 0x7fb2843e3e10: pointer being freed was not allocated
python3(46905,0x1053ba600) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6
/Users/*********/opt/anaconda3/envs/fafb_analysis/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d "

If anyone has this error and know how to fix it, advice would be much appreicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions