[Interest] TSAN findings in a simple QApplication/QMetaObject::invokeMethod example

Dennis Luehring dl.soluz at gmx.net
Sat Nov 5 07:35:33 CET 2022


Am 03.11.2022 um 23:09 schrieb Thiago Macieira:
> On Thursday, 3 November 2022 11:09:48 PDT Dennis Luehring wrote:
> > do you know a good howto for building Qt 6.4 on Fedora 36 or Ubnuntu
> > 22.04 with TSAN?
>
> Pass -DFEATURE_sanitize_thread=ON to cmake or -sanitize thread if you're using
> the configure script.
>

> The vast majority of those findings appear to come from Glib. Most likely, TSan
> is unable to make heads or tails of what's going on. Fortunately, for that
> one, you can simply do an
>	export QT_NO_GLIB=1
> and have Qt use its own event loop, which should improve the results.

doesn't help - same amount of warnings

i've double checked that my example is using my source built of Qt 6.4

my example executable shows a libtsan realtion with ldd

but not in libQt6Core.so and other qt libs in my build qtbase/libs directory - is that correct?






More information about the Interest mailing list