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

cross-thread QTimer::singleShot() potential memleak

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • dev
    • Core: Event loop

      The tst_QTimer::crossThreadSingleShotToFunctor() test leaks massive amounts of objects (almost all of the 10'000 timers created in the loop). Volker's recent change (87535e4e4337596066258e361143cb9906e89512) helps, by leaking less, but it doesn't fix the issue.

      Log attached, which, at the end, shows that this is the only function with a problem, all other test functions are clean.

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

            vhilshei Volker Hilsheimer
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes