Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible race condition when removing labels #74

Open
hinerm opened this issue Oct 13, 2021 · 0 comments
Open

Possible race condition when removing labels #74

hinerm opened this issue Oct 13, 2021 · 0 comments

Comments

@hinerm
Copy link

hinerm commented Oct 13, 2021

I have run into an AIOOBE twice when training a classifier after adding/removing Labels. This is the stack trace:

image

I have tried different combinations of adding classes, adding pixels to them or not, then removing the label(s) and training a classifier (with different timings of when the classifier is added as well). I haven't been able to reliably reproduce the exception :( which makes me suspicious of this WeakHashMap iteration.

Is it possible that if segmentation was run after removing a label but before GC, this loop would cause an AIOOBE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant