Anyway, libglib-2.0.so remains a black box for us.
any idea how to link Qt 6.4 with my GLib TSAN build?
building GLib with this instructions:
git clone https://gitlab.gnome.org/GNOME/glib.git
cd glib
git checkout 2.72.1
cd ..
mkdir glib-build
cd glib-build
meson setup ../glib -Dbuildtype=debug
On Sunday, 6 November 2022 01:33:21 PST Dennis Luehring wrote:
> so the question is: why are Qt developers (like you?) do not use TSAN for
> detecting such problems?
It's too much work because of too many false positives in any non-trivial
work.
It might also be a resource limitation. Our CI alr
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 /
But it looks like Glib is a blackbox for TS
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 TS
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
On Saturday, 5 November 2022 04:41:55 PDT Dennis Luehring wrote:
> but that even raised my TSAN warning amount :(
>
>
> Warnings from my example: https://pastebin.com/XnN6nzUT
But they're of higher quality now, with much richer backtraces.
The first one in that link I'm not sure about. The seco
Am 05.11.2022 um 12:41 schrieb Dennis Luehring:
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/q
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
Am 05.11.2022 um 11:32 schrieb Alexandru Croitor:
Hi.
Make sure that the configure summary shown at the end mentions that tsan is
enabled. Search for sanitizer.
I think the right configure line is
../qt6/configure -developer-build -opensource -nomake examples -nomake
tests -sanitize thread
: Interest on behalf of Dennis Luehring
Sent: Saturday, November 5, 2022 7:35 AM
To: interest@qt-project.org
Subject: Re: [Interest] TSAN findings in a simple
QApplication/QMetaObject::invokeMethod example
Am 03.11.2022 um 23:09 schrieb Thiago Macieira:
> On Thursday, 3 November 2022 11:09:48
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
On Friday, 4 November 2022 00:27:27 PDT Dennis Luehring wrote:
> side question: TSAN seems not that relevant for Qt-user testing - nearly
> no blogs, tutorials on the internet, why is that? does TSAN not work
> very good with Qt?
It does not, unless you build Qt itself, and few people do that.
>
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
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
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.
--
Thiago Macieira - thiago.macieira (A
Am 03.11.2022 um 17:34 schrieb Thiago Macieira:
Actually this SEEMS to indicate that there's a race condition in the
QPostEventList (which is a QVector), but I dobut that TSan is capable of
noticing the QMutex lock, because on Linux those are inline when uncontended.
Qt 6.4 has TSan annotations
On Thursday, 3 November 2022 03:21:05 PDT Dennis Luehring wrote:
> WARNING: ThreadSanitizer: data race (pid=5882)
>Read of size 8 at 0x7b0c2178 by thread T1:
> #0 memcpy (libtsan.so.2+0x5e806)
> #1 QVector::realloc(int,
> QFlags) (libQt5Core.so.5+0x2af42c)
>
>Previous write
On Thursday, 3 November 2022 03:21:05 PDT Dennis Luehring wrote:
> Fedora default Qt: Qt 5.15.6
No action to be taken on those findings. The code in question has been
substantively rewritten for 6.4.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Cloud Software Architect - Intel DCAI Clo
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
pu
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
do i need to build Qt from source (and maybe also GLib) with TSAN support
or are there real problems in my code that i overlook
20 matches
Mail list logo