-
Notifications
You must be signed in to change notification settings - Fork 8
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
ASAN issue at finalization time when multiple ES use the primary pool #280
Comments
I can reproduce the problem on my machine, I'll look into it (it's weird though, the problem doesn't appear on the Github workflow even though ASAN is enabled there). |
Ok so the problem is caused by the fact that the two ES that the test adds are using the primary pool, so one of them picks up the |
I have started a PR to try to solve the issue: #281 I initially imagined a solution that consists of having Here is my code, for reference. I tried both with a join and with waiting on an eventual. Either way it looks like the calling ULT is getting destroyed, leaving memory leaks.
|
I don't get it. I tried writing a pure Argobots reproducer (of the original setup, where you could have a non-primary ES "self-destruct"), and it works fine: Note also that when ASAN is disabled, everything works fine. Even if So my assumption is that it's an ASAN issue within Argobots, not a Margo issue. |
I noticed this while preparing to test #278 , but this is unrelated. Just noting for now so I don't forget to come back and look at it.
With gcc 13.2 and address sanitizer on Ubuntu 24.04, the
tests/unit-tests/margo-elasticity
unit test is failing with the following log:The text was updated successfully, but these errors were encountered: