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

Weird stall when running tests on Mac with M1 processor #45

Open
vlad0x00 opened this issue Feb 19, 2022 · 0 comments
Open

Weird stall when running tests on Mac with M1 processor #45

vlad0x00 opened this issue Feb 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vlad0x00
Copy link
Member

vlad0x00 commented Feb 19, 2022

  • When running tests on Mac with M1, the helper process stalls at https://github.com/bcgsc/btllib/blob/master/include/btllib/process_pipeline.hpp#L681
    Specifically, calling the pipeline_map() function which returns a global variable stalls. This is somewhat bizare, as it's a very straightforward function. The function itself is a bit of a hack, though, but is necessary as defining global variables is impossible in a standard way in a header-only library. This might be fixed by transitioning to a compiled library.
  • This seems to only happen when running tests in Meson, but not when an independent binary is compiled with btllib.
@vlad0x00 vlad0x00 added the bug Something isn't working label Feb 19, 2022
@vlad0x00 vlad0x00 self-assigned this Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant