pymaid icon indicating copy to clipboard operation
pymaid copied to clipboard

Leaked Semaphore Objects when running Navis.cut_skeleton

Open thejordanrivers opened this issue 3 years ago • 1 comments

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.

thejordanrivers avatar Oct 09 '22 01:10 thejordanrivers

Please see this issue on navis for a fix.

schlegelp avatar Oct 09 '22 09:10 schlegelp