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

Dennis Luehring dl.soluz at gmx.net
Thu Nov 3 14:46:30 CET 2022


Am 03.11.2022 um 11:21 schrieb Dennis Luehring:
> im usually testing all my projects with ASAN and TSAN - all the non-Qt
> unit tests are clean
> ASAN is near to silent with my Qt tests but TSAN is giving a lot of warnings
>
...

damn - i have not put in my thread-shutdown code - very very sorry for
putting up a half-working example

after app.exec() the thread shutdown is missing

     int result = app.exec();

     if(my_thread1.joinable())
     {
         my_thread1.join();
     }


More information about the Interest mailing list