Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-115264

Address/Thread/UndefinedBehaviourSanitizer-clean unit-tests

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other, GUI: Other, Other
    • None
    • asan
    • 65647d54b (dev), c629351b1 (6.5), 22d853901 (6.6), 9c81f551b (tqtc/lts-6.2), 14005b94b (tqtc/lts-5.15)

    Description

      We would like to use our unit-tests to find memory errors in our implementation, but for that the tests must not leak memory or contain other memory errors.

      This epic is about making our complete test suite asan-, thread- and ubsan-clean.

      Note on the cp-demangle.c leaks reported here and there: this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80578; fixing the UB reported by ubsan should then also remove the leak.

      Acceptance criteria:

      • all unit-tests report no errors when run on
        • tsan + ubsan
        • asan + ubsan
      • the above holds for all tier-1 platforms that support these tools

      Attachments

        For Gerrit Dashboard: QTBUG-115264
        # Subject Branch Project Status CR V

        Activity

          People

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews