compatibility with ASAN?
Are applications built with argobots expected to work correctly with GCC's AddressSanitizer? I just noticed that asan is used in the automated builds (because it was mentioned in a github ticket), but I did not realize that was a possibility. thanks! -Phil
Hi Phil, Yes, now Argobots should work with GCC/Clang's AddressSanitizer. As far as we tested, Argobots should work with GCC-9.1.0 and Clang-10.0.0, but it should work with older GCC/Clang compilers, too. Note that this support is not "official" since user-level context-switching is not normal and can break AddressSanitizer. It might not work on some systems if their OSs/architectures employ special protection mechanisms. Even on x86/64+Linux, some info functions (e.g., stack dump by ABT_info_print_thread_stack()) cause an error with AddressSanitizer since memory (for example, ULT stack) is not fully initialized. If you need special support for these info functions with AddressSanitizer (although these info functions are rarely used), please let us know. Thanks, Shintaro ________________________________ From: Carns, Philip H. via discuss <[email protected]> Sent: Wednesday, August 26, 2020 11:58 AM To: [email protected] <[email protected]> Cc: Carns, Philip H. <[email protected]> Subject: [argobots-discuss] compatibility with ASAN? Are applications built with argobots expected to work correctly with GCC's AddressSanitizer? I just noticed that asan is used in the automated builds (because it was mentioned in a github ticket), but I did not realize that was a possibility. thanks! -Phil
Thanks, good to know! ________________________________ From: Iwasaki, Shintaro <[email protected]> Sent: Wednesday, August 26, 2020 1:08 PM To: [email protected] <[email protected]> Cc: Carns, Philip H. <[email protected]> Subject: Re: compatibility with ASAN? Hi Phil, Yes, now Argobots should work with GCC/Clang's AddressSanitizer. As far as we tested, Argobots should work with GCC-9.1.0 and Clang-10.0.0, but it should work with older GCC/Clang compilers, too. Note that this support is not "official" since user-level context-switching is not normal and can break AddressSanitizer. It might not work on some systems if their OSs/architectures employ special protection mechanisms. Even on x86/64+Linux, some info functions (e.g., stack dump by ABT_info_print_thread_stack()) cause an error with AddressSanitizer since memory (for example, ULT stack) is not fully initialized. If you need special support for these info functions with AddressSanitizer (although these info functions are rarely used), please let us know. Thanks, Shintaro ________________________________ From: Carns, Philip H. via discuss <[email protected]> Sent: Wednesday, August 26, 2020 11:58 AM To: [email protected] <[email protected]> Cc: Carns, Philip H. <[email protected]> Subject: [argobots-discuss] compatibility with ASAN? Are applications built with argobots expected to work correctly with GCC's AddressSanitizer? I just noticed that asan is used in the automated builds (because it was mentioned in a github ticket), but I did not realize that was a possibility. thanks! -Phil
participants (2)
-
Carns, Philip H. -
Iwasaki, Shintaro