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

Both Asan and Valgrind show memory leak in QScroller::grabGesture(QObject*, QScroller::ScrollerGestureType)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.3
    • None
    • Linux/X11

    Description

      Both Asan and Valgrind show memory leak in QScroller::grabGesture(QObject*, QScroller::ScrollerGestureType)

       

      From valgrind:
      ==2274392== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==2274392== by 0x61D8469: QScroller::grabGesture(QObject*, QScroller::ScrollerGestureType) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3)

      From Asan
      #0 0x7f6f39cc81e7 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:99
      #1 0x7f6f2f2b6413 in QScroller::grabGesture(QObject*, QScroller::ScrollerGestureType) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x512413)

       

      Calling QScroller::ungrabGesture(QObject*) does not help.

      Qt 5.15.3 and Ubuntu 22.04

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            joecfd Joe Joe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes