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
Forum Updated to NodeBB v4.3 + New Features

Memory leaks in 6.9.1 that weren't there in 6.9.0

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 4 Posters 429 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.
  • Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote last edited by
    #2

    Install the Qt debug symbols and sources to get a better backtrace, create a minimal, compileable example.

    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
    2
    • joborJ Offline
      joborJ Offline
      jobor
      wrote last edited by
      #3

      Could you please file a bug report? Ideally, with a backtrace after installing the debug symbols via the online installer.

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

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

        Christian EhrlicherC 1 Reply Last reply
        0
        • PerdrixP Perdrix

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

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote 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 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 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 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 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 last edited by
                    #10

                    Test case added to bug report

                    1 Reply Last reply
                    1
                    • PerdrixP Offline
                      PerdrixP Offline
                      Perdrix
                      wrote 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
                      • Christian EhrlicherC Offline
                        Christian EhrlicherC Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote 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 last edited by
                          #13

                          I accept that this isn't Qt !

                          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