Skip to content

Semaphore leak when running CLI #46

@OReyesMatte

Description

@OReyesMatte

Hi!

I tried running trackstra using the CLI tool on a custom segmented timelapse. However, halfway through the feature extraction, it stops and gives the following error message:

zsh: segmentation fault trackastra track -i trackastra_test/img/ -m trackastra_test/mask/ --output-ct (napari) reyesmatte@EVOCELL152 ~ % /Users/reyesmatte/miniforge3/envs/napari/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown

Apparently it can be mitigated by changing the batch size, but I don't know if there's an easy way to do so on the CLI or on jupyter.
This only happens when using the CLI, as using the napari plugin works well. This was done on an M1 machine with trackastra 0.4.2.

Please let me know if you need anything else

Thanks!

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