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

Dennis Luehring dl.soluz at gmx.net
Sat Nov 5 12:41:55 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.
>


now i have built qt 6.4 with TSAN active (checked in configure output)

using these build steps

mkdir qt6_dev
cd qt6_dev
git clonegit://code.qt.io/qt/qt5.git  qt6
cd qt6
git checkout v6.4.0
perl init-repository
mkdir qt6-build
cd qt6-build
../qt6/qtbase/configure -developer-build -opensource -nomake examples
-nomake tests -sanitize thread
cmake --build . --parallel


but that even raised my TSAN warning amount :(


Warnings from my example: https://pastebin.com/XnN6nzUT


More information about the Interest mailing list