[Interest] Will TSAN_OPTIONS=detect_deadlocks=1 work when Qt is compiled with -sanitize thread?

Nuno Santos nuno.santos at imaginando.pt
Thu Jul 18 17:07:36 CEST 2024


Hi,

I’ve just found this article:

https://github.com/google/sanitizers/wiki/ThreadSanitizerDeadlockDetector

"Just use TSAN_OPTIONS=detect_deadlocks=1 when running your tsan-instrumented program.”

Is this supposed to work?

I’m trying to catch a rare deadlocks.

Thanks in advance!

Best regards,

Nuno



More information about the Interest mailing list