[Interest] Very slow start-up on MacOS

Rutledge Shawn Shawn.Rutledge at digia.com
Tue Nov 12 13:20:26 CET 2013


On 12 Nov 2013, at 12:47 PM, Marc Freese wrote:

> Hello,
> 
> I hope this is the right place to post this, I was encouraged to do so here.
> 
> Following is a bug in Qt5 I believe:
> 
> On MacOS Snow Leopard and MacOS Mavericks (MacOS Lion (10.7.3), Windows 
> and Linux work fine):
> 
> When my application starts, it takes about 60 seconds, where it normally 
> takes less than 10 seconds. The console output is somewhat cryptic:
> 
> *** __NSAutoreleaseNoPool(): Object 0x1012e2a30 of class QNSView 
> autoreleased with no pool in place - just leaking
> *** __NSAutoreleaseNoPool(): Object 0x100634240 of class 
> NSTextInputContext autoreleased with no pool in place - just leaking
> *** __NSAutoreleaseNoPool(): Object 0x1012f3a30 of class NSCFArray 
> autoreleased with no pool in place - just leaking
> 
> and so on...
> 
> Checking in my code, following instruction is the culprit:
> 
> statusBar=new QPlainTextEdit();
> 
> Above instruction makes the start-up process stall for almost 60 
> seconds. But the widget finally works fine, and the application runs at 
> normal speed.
> 
> Removing that instruction makes Qt stall at some other place, which 
> makes me think that it is linked with some internal initialization that 
> Qt might be doing wrong.

I don't know what is the problem right away, but it sounds like you should post a bug on bugreports.qt-project.org.  And if it's possible to provide an example to reproduce the problem, or modify one of the existing examples to reproduce it, that would be nice.


More information about the Interest mailing list