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

Segfault when compiling using very recent versions of MSVC #79

Open
robomics opened this issue Oct 14, 2024 · 0 comments
Open

Segfault when compiling using very recent versions of MSVC #79

robomics opened this issue Oct 14, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@robomics
Copy link
Contributor

Compiling hictkpy in Release mode with Microsoft Visual Studio 17.10 (MSVC 19.40.33816.0) and newer (tested until Microsoft Visual Studio Preview 17.12.0 (Preview 2.1); 19.42.34321.1), leads to broken wheels that segfault due to heap corruptions.

I believe this to be a compiler bug, but have been unable to trigger the bug with small reproducers (even changing -DCMAKE_BUILD_TYPE from Release to RelWithDebInfo is enough to make the heap corruption go away. Also not linking with nanobindmakes the problem go away).

PR #78 introduced a check to prevent users from building hictkpy with compiler versions affected by this issue.

This is a reminder to periodically check back to see if new compiler releases address the heap corruption (and to update the above check).

Visual Studio Release History

@robomics robomics added the help wanted Extra attention is needed label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant