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

Thiago Macieira thiago.macieira at intel.com
Sun Nov 6 00:08:37 CET 2022


On Saturday, 5 November 2022 10:24:49 PDT Dennis Luehring wrote:
> qt6_dev/qt6-build$ ../qt6/qtbase/configure -developer-build -debug
> -opensource -nomake examples -nomake tests -sanitize thread
> qt6_dev/qt6-build$ cmake --build . --parallel 2

Thanks.

But it looks like Glib is a blackbox for TSan and it can't report anything. 
It's possible some of those are caused by the way we use it or Gtk, I wouldn't 
know.

Anyway, as I said, you can disable it and the glib loop to see pure Qt 
warnings.

BTW, thanks for doing this. I had a vague recollection of that 
QCoreApplication notification problem, but it's going on 7 years now and I've 
never acted on it. For Qt 6 to 7 changes, we're being smarter by making the 
changes *now* and just hiding them under #if.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering





More information about the Interest mailing list