Closed PhilippMDoerner closed 5 months ago
It turns out this was an issue specifically with the version of threading called threading-0.2.0-3cd4360369b8abf1c53ddfd49ea8aef70208658c
.
The version that you get as of today (09.05.2024), which is 9bf8bb66d31ed3b7f013ec683a58f0f2e387896b
, does not have this issue.
It is inconvenient that these changes didn't lead to version changes in the lib itself, even if just patch changes, but so is life.
I'm not sure when this was introduced but apparently it has become impossible to compile with any sanitizer. Which I'm not sure how that hasn't been caught.
Nim version
Nim Compiler Version 2.0.4 [Linux: amd64] Compiled at 2024-03-28 Copyright (c) 2006-2023 by Andreas Rumpf
git hash: b47747d31844c6bd9af4322efe55e24fefea544c active boot switches: -d:release
Example
Just importing the file is enough:
Thread Sanitizer Error
Compiling with thread-sanitizer via this command:
You will get this error:
Address Sanitizer Error
Compiling with address sanitizer via this command:
You will get this error: