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

Thiago Macieira thiago.macieira at intel.com
Fri Jul 19 15:29:41 CEST 2024


On Friday 19 July 2024 03:30:40 GMT-7 Nuno Santos via Interest wrote:
> That’s the biggest problem. It happens soooo RARELY.
> 
> We can’t find a sistematic way of reproducing it. That is why I was trying
> to find a more analytical way of detecting it.

You don't need that. Can you reproduce the problem  *at all*?

If you can, then simply get the stack trace of all threads when the problem 
happens. You'll see at least two threads stalled and waiting for each other 
(not in an event loop).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240719/e9dd1948/attachment.bin>


More information about the Interest mailing list