[Interest] Very slow start-up on MacOS

Marc Freese mfreese at gmx.ch
Tue Nov 12 12:47:04 CET 2013


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.

Thanks for any advice

Marc

-- 
Dr. Marc Freese
Coppelia Robotics / V-REP
Mobile: +41 79 830 83 56
marc at coppeliarobotics.com
http://www.coppeliarobotics.com




More information about the Interest mailing list