Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Memory leaks in 6.9.1 that weren't there in 6.9.0
Qt 6.11 is out! See what's new in the release blog

Memory leaks in 6.9.1 that weren't there in 6.9.0

Scheduled Pinned Locked Moved Solved General and Desktop
14 Posts 4 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerdrixP Perdrix

    https://bugreports.qt.io/browse/QTBUG-140502

    Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #5

    @Perdrix said in Memory leaks in 6.9.1 that weren't there in 6.9.0:

    https://bugreports.qt.io/browse/QTBUG-140502

    And still no mimimal, compilable example to reproduce the problem...

    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
    Visit the Qt Academy at https://academy.qt.io/catalog

    1 Reply Last reply
    0
    • PerdrixP Offline
      PerdrixP Offline
      Perdrix
      wrote on last edited by
      #6

      Any program will do that uses new to create Qt objects.

      JonBJ 1 Reply Last reply
      0
      • PerdrixP Perdrix

        Any program will do that uses new to create Qt objects.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #7

        @Perdrix
        But if you want the devs to actually look at it you need to supply some complete, minimal program which shows that. Devs expect to copy, paste, compile, run, see behaviour, investigate. If you say it is so easy to reproduce that should not be hard. Otherwise I would not rely on them looking into it.

        1 Reply Last reply
        1
        • PerdrixP Offline
          PerdrixP Offline
          Perdrix
          wrote on last edited by
          #8

          I thought it was trivial to reproduce - but my initial stab at a test case shows I was wrong - I am working on a test case that does show the problem.

          JonBJ 1 Reply Last reply
          1
          • PerdrixP Perdrix

            I thought it was trivial to reproduce - but my initial stab at a test case shows I was wrong - I am working on a test case that does show the problem.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #9

            @Perdrix That's why they always want a complete repro... :)

            1 Reply Last reply
            0
            • PerdrixP Offline
              PerdrixP Offline
              Perdrix
              wrote on last edited by
              #10

              Test case added to bug report

              1 Reply Last reply
              1
              • PerdrixP Offline
                PerdrixP Offline
                Perdrix
                wrote on last edited by Perdrix
                #11

                Qt developers think these aren't memory blocks allocated by Qt, but (by inference) allocated by Windows.

                1 Reply Last reply
                0
                • PerdrixP Perdrix has marked this topic as solved on
                • Christian EhrlicherC Offline
                  Christian EhrlicherC Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

                  The problem is - the initial report and the testcase do not match and 90% of the vld report don't even have a Qt dll anywhere in the backtrace so it's hard to see where Qt should be involved here.
                  As I wrote in my first post - install the Qt debug symbols so we can at least see where exactly in the Qt source the leak should be as it's not reproducible/is different with your test application

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  1
                  • PerdrixP Offline
                    PerdrixP Offline
                    Perdrix
                    wrote on last edited by
                    #13

                    I accept that this isn't Qt !

                    1 Reply Last reply
                    0
                    • PerdrixP Offline
                      PerdrixP Offline
                      Perdrix
                      wrote on last edited by
                      #14

                      For reference The debug pdb files available for Qt 6.9.1 and 6.10 WERE INSTALLED and I NEVER REFUSED to install them e.g. qwindowsd.pdb is there next to qwindowsd.dll

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved