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

QFbCursor: memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.6
    • QPA: LinuxFB
    • None

    Description

      address sanitizer report memory leak

      $ LD_PRELOAD=/tmp/libasan.so.6 ASAN_OPTIONS=detect_leaks=1:quarantine_size_mb=3:halt_on_error=1 app
      ............
      Direct leak of 20 byte(s) in 1 object(s) allocated from:
          #0 0xb6a4ed34 in operator new(unsigned int) /tmp/firmware/build-arm-s805/arm-rtk-linux-gnueabihf/.build/arm-rtk-linux-gnueabihf/src/gcc/libsanitizer/asan/asan_new_delete.c
      pp:99
          #1 0xb0015160  (/usr/local/qt/plugins/platforms/libqpa-amlogic.so+0x11160)
          #2 0xb0012fe4 in QLinuxFbScreen::initialize() (/usr/local/qt/plugins/platforms/libqpa-amlogic.so+0xefe4)
          #3 0xb001141c in QLinuxFbIntegration::initialize() (/usr/local/qt/plugins/platforms/libqpa-amlogic.so+0xd41c)
          #4 0xb3dfe484 in QCoreApplicationPrivate::init() (/usr/local/qt/lib/libQt6Core.so.6+0x137484)
          #5 0xb43cfe30 in QGuiApplicationPrivate::init() (/usr/local/qt/lib/libQt6Gui.so.6+0x150e30)
          #6 0xb499b358 in QApplicationPrivate::init() (/usr/local/qt/lib/libQt6Widgets.so.6+0x80358)
          #7 0xb499b418 in QApplication::QApplication(int&, char**, int) (/usr/local/qt/lib/libQt6Widgets.so.6+0x80418)
          #8 0xb61e0554 in stbui::Application::Application(int&, char**) (/usr/lib/libstbui.so+0x46c554)
          #9 0xb642bf1c in start(int, char**) (/usr/lib/libstbui.so+0x6b7f1c)
          #10 0xb398976c  (/lib/libc.so.6+0x1d76c)
          #11 0xb3989874 in __libc_start_main (/lib/libc.so.6+0x1d874)
      ...........

      amlogic is S805 SoC, I'm use linuxfb plugin with several cosmetic changes

      $ cat /proc/version 
      Linux version 3.10.33 (user@be1fe01fe8c3) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Tue Mar 2
      8 06:39:30 UTC 2023

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            imb Kirill Brilliantov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes