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

CVMDriftOnline segfaults on MacOS #648

Open
ascillitoe opened this issue Oct 10, 2022 · 0 comments
Open

CVMDriftOnline segfaults on MacOS #648

ascillitoe opened this issue Oct 10, 2022 · 0 comments
Labels
Priority: Low Type: Bug Something isn't working

Comments

@ascillitoe
Copy link
Contributor

Since numba 0.56, the CVMDriftOnline detector segfaults on MacOS (during our CI). See #573.

I have done quite a bit of digging and can't find any out-of-bounds issues or other problems. The tests also pass on linux and Windows. The segfault occurs in the numba decorated _ids_to_stats function. It only occurs when parallel=True and the OpenMP threading layer is used.

A workaround, for now, is to use the numba workqueue threading layer on MacOS. A note has been added to the docs in #573.

In the future it would be good to construct an MWE to open a numba issue. Alternatively, we should check if the issue still occurs when numba 0.57 is released.

@ascillitoe ascillitoe added Priority: Low Type: Bug Something isn't working labels Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant