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), 32442c2b5 (dev), 9ef785082 (6.8), 17d5dd33d (6.7), cc6d2ba42 (tqtc/lts-6.5), 40ff00e25 (tqtc/lts-6.2), 8c2b561a8 (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

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

        Activity

          People

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

            Dates

              Created:
              Updated: