I have some multithreaded code which is crashing Julia – I suspect the problem is changing the same variable in multiple threads without appropriate locks.
Are there any tools which can help me track down the problem? For example, in C++ I’d try clang’s “thread sanitiser”, or “DRD” from valgrind, which could help me see which variables are being unsafely accessed.
I’ve never really used valgrind. I don’t know other tools specific to multi-threading. I use non-specific tools like rr sometimes but I don’t recall anything that could be useful for the situation in the OP.