Repository navigation
DOC: add dev docs on C debuggers and compiler sanitizers - #29757
Merged
Merged
Conversation
Member
Author
|
Yikes - looks like docker is having issues. I'll kick this later. In the meantime - ping @lucascolley, you totally nerd-sniped me scipy/scipy#23612 (comment) |
Contributor
|
Great write-up; thanks for adding this, @ngoldbaum! |
ngoldbaum
commented
Sep 15, 2025
| You may see memory leaks coming from the Python interpreter, particularly on | ||
| MacOS. If the memory leak reports are not useful, you can disable leak detection | ||
| by passing ``detect_leaks=0`` in ``ASAN_OPTIONS``. You can pass more than one | ||
| option using a comma-delimited list, like this: |
Member
Author
There was a problem hiding this comment.
this should say colon-delimited
lucascolley
reviewed
Sep 15, 2025
lucascolley
left a comment
Contributor
There was a problem hiding this comment.
thanks @ngoldbaum, this looks great!
Let's see how nerd-sniped I am to make lines 357 to 392 as easy as pixi run build-asan :)
bwhitt7
reviewed
Sep 15, 2025
Contributor
|
check out rgommers/pixi-dev-scipystack#50 if you get a chance! |
Co-authored-by: Lucas Colley <[email protected]>
[skip actions] [skip azp] [skip cirrus]
ngoldbaum
force-pushed
the
sanitizer-docs
branch
from
September 16, 2025 21:28
bf2b721 to
707fee6
Compare
Member
|
Let's put this in as-is, we can iterate on it as the tools develop and people try to use the information. Thanks @ngoldbaum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #29079
Adds developer-focused docs on how to use C debuggers and compiler sanitizers.
I'd appreciate it if people could actually try this on their local setups and let me know if they hit any sticking points. I'm not sure how in-the-weeds I should get.