Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5925

Support thread-debugging tools in Qt

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Static analysis
    • None

      There are tools that help detect race conditions in multi-threaded code. So far I have tried Valgrind's helgrind, DRD, Clang's TSANĀ  (thread sanitizer), Intel Inspector (tested on Windows by manordheim).

      All the tools were full of false positives, because they don't understand Qt's locking primitives. TSAN didn't even reach that point, it crashed earlier.

      This task is about investigating which tool can support Qt and what it takes for that.

      Adding such support will increase quality of both Qt and its users:

      • Qt will be able to integrate the tool into CI and catch race conditions and other similar problems early
      • Users of Qt will also be able to debug their multithreaded applications using such tools.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jujokini Jukka Jokiniva
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes