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

QtWaylandClient::EventThread::run leaks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • QPA: Wayland
    • None
    • Linux/Wayland

    Description

      Hey, not sure it comes from Qt code or not but left here for you to decide. Noticed after some qml testcases started to fail due to LeakSanitizer (around 50% of the time). Wayland version 1.23.0-1

       

       

      =================================================================
      ==73308==ERROR: LeakSanitizer: detected memory leaksDirect leak of 192 byte(s) in 2 object(s) allocated from:
          #0 0x70af646fc34a in calloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:77
          #1 0x70af5a50943e in wl_display_read_events (/usr/lib/libwayland-client.so.0+0x643e) (BuildId: 34398f92678b3073349ec46e8a10900e41832ec1)
          #2 0x70af4e6d1ece in Debug::QtWaylandClient::EventThread::run() (/home/ddob/qt/qt6/build/debug/qtbase/plugins/platforms/../../lib/libQt6WaylandClient.so.6+0x8fece) (BuildId: ba8af1fde4df412ab0587d4c5fe895ad
      858d46c5)
          #3 0x70af606f44bb in operator() /home/ddob/qt/qt6/qtbase/src/corelib/thread/qthread_unix.cpp:335
          #4 0x70af606f5b4d in terminate_on_exception<Debug::QThreadPrivate::start(void*)::<lambda()> > /home/ddob/qt/qt6/qtbase/src/corelib/thread/qthread_unix.cpp:263
          #5 0x70af606f460e in Debug::QThreadPrivate::start(void*) /home/ddob/qt/qt6/qtbase/src/corelib/thread/qthread_unix.cpp:294
          #6 0x70af6465cc79 in asan_thread_start /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_interceptors.cpp:234
          #7 0x70af5f4a6dec  (/usr/lib/libc.so.6+0x92dec) (BuildId: 32a656aa5562eece8c59a585f5eacd6cf5e2307b)SUMMARY: AddressSanitizer: 192 byte(s) leaked in 2 allocation(s).[Process exited 1] 

       

       

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            dennisoberst Dennis Oberst
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes