Skip to content

Conversation

@3manifold
Copy link

@3manifold 3manifold commented Jul 17, 2025

Tested: temporarily introduced a memory leak in an operator to check that asan works:
https://github.com/OpenNMT/CTranslate2/actions/runs/16419223767/job/46392885237#logs

resolves #1928

@3manifold 3manifold changed the title Mem checks M checks Jul 17, 2025
@3manifold 3manifold force-pushed the asan branch 9 times, most recently from 5659d05 to 0efd96b Compare July 18, 2025 12:59
@3manifold 3manifold changed the title M checks [Test Feature] Integrate Google AddressSanitizer (aka ASan) in tests Jul 18, 2025
@3manifold 3manifold changed the title [Test Feature] Integrate Google AddressSanitizer (aka ASan) in tests Integrate Google AddressSanitizer (aka ASan) in tests Jul 18, 2025
@3manifold 3manifold marked this pull request as ready for review July 18, 2025 13:10
@jordimas
Copy link
Collaborator

For context:


sanitizers (Archived)

This project has been archived and is no longer actively maintained.

The Sanitizers project, which includes AddressSanitizer, MemorySanitizer, ThreadSanitizer, LeakSanitizer, 
and more, is now archived. 

@3manifold
Copy link
Author

3manifold commented Jul 19, 2025

For context:


sanitizers (Archived)

This project has been archived and is no longer actively maintained.

The Sanitizers project, which includes AddressSanitizer, MemorySanitizer, ThreadSanitizer, LeakSanitizer, 
and more, is now archived. 

Thanks for the note. Worth noting that sanitisers still exist but are maintained under the LLVM project (link). I can attempt later to re-run them under the LLVM ecosystem (using clang compiler etc. ). I updated the PR using clang this time.

@3manifold 3manifold changed the title Integrate Google AddressSanitizer (aka ASan) in tests Integrate Clang AddressSanitizer in tests Jul 21, 2025
@3manifold 3manifold force-pushed the asan branch 3 times, most recently from 83c0c09 to 9885b07 Compare July 21, 2025 14:10
@3manifold
Copy link
Author

3manifold commented Jan 6, 2026

@jordimas It seems that the address sanitiser detected an issue in one of the latest project changes ( see #1968 ). Apart from that, all comments were resolved.

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

Successfully merging this pull request may close these issues.

Clang AddressSanitizer & ThreadSanitizer in CI

2 participants