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

Qt has no root level pool for main(), autorelease with no pool in place

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.2.0
    • None
    • Mac OS 10.6.7

      Qt options:
      ./configure -no-openssl -nomake examples -nomake tests -platform macx-clang-32 -no-c++11
    • macOS

    Description

      Happens only on 10.6 (no problem in 10.7/10.8/10.9)

      Steps to reproduce.

      1. Create simple QMainWindow application. Put some controls in the UI.
      2. Create release build of the app with all frameworks and plugin inside using macdeployqt.
      3. Run the app on 10.6 to see memory leaks warnings in the Console.

      When I comment the call to ui.setupUI(this) warnings disappear.

      Attachments

        1. 10.6_console_leaks.png
          234 kB
          Steven (crystalidea)

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              crystalidea Steven (crystalidea)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes