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

Console warning with Qt 4.6 on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.6.0
    • Widgets: Main Window
    • None
    • Mac OS X 10.6.2 on Intel 64-bit, using Cocoa port and compiling for 64-bit code (with default g++ = g++-4.2 compiler).
    • macOS

    Description

      For any application I compile with Qt 4.6 on Mac OS X Snow Leopard (64-bit Cocoa version), I get warnings such as the following on the console when running the app:

      2009-12-11 14:10:19.992 simple_app[592:903] *** __NSAutoreleaseNoPool(): Object 0x101216130 of class NSCFNumber autoreleased with no pool in place - just leaking

      By setting a breakpoint on __NSAutoreleaseNoPool(), I could confirm this is called from qt_init(). Probably an autorelease pool should be set up earlier in the code path (if it is currently set up at all).

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            fxcoudert FX
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes