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

Nuno Santos nuno.santos at imaginando.pt
Fri Jul 19 10:46:47 CEST 2024


Dennis,

Apparently, compiling Qt with -sanitize thread automatically applies to the applications as well.

I have checked the compile output and it was being applied already.

Regards,

Nuno

> On 18 Jul 2024, at 18:59, Dennis Luehring <dl.soluz at gmx.net> wrote:
> 
> Am 18.07.2024 um 17:24 schrieb Nuno Santos:
>> Hi,
>> 
>> Thanks for your reply.
>> 
>> I’ve compiled Qt with -sanitize thread and I’m trying to find deadlock on my application.
> 
> your own application should be also build with TSAN
> 
> check with ldd if your executeable is linked with the TSAN runtime -
> something with tsan8 or else there is no TSAN active



More information about the Interest mailing list