Program received signal -111: hit maximum number of consecutive signals, stopping [SOLVED]
-
I've been chasing this rabbit all day!
I upgraded to Qt 5.4. My app works fine on the desktop and Android. But I'm having all kinds of issues with iOS. When my app launches, it immediately spits out these errors:
@program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
program received signal -111, thread:2de6a;qaddr:376a0ad0;00:04000000;01:00000000;02:10000000;03:00000000;04:bc72da00;05:2874da00;06:f476da00;07:f0a5bf01;08:00000000;09:e8f4da15;0a:20000000;0b:a4a6bf01;0c:30685335;0d:e8a5bf01;0e:f37f6a00;0f:fe884a00;10:30000000;metype:1;mecount:2;medata:1;medata:4;
hit maximum number of consecutive signals, stopping@This wasn't occuring in Qt 5.3 on iOS. I've narrowed the culprit down to line 10 below:
@
ui->setupUi(this);
QGLFormat format;
format.setVersion(3,3);
format.setProfile( QGLFormat::CoreProfile );
format.setDepth(true);
m_context = new QGLContext(format);m_model = new ModelView(*m_context, this);
m_model->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
ui->OGLLayer->addWidget(m_model); // <-this one triggers the error
m_model->showMaximized();@I've put print statements in the ModelView object and it appears that nothing fires off prematurely. So I don't know what to do with this error. Any ideas?
-
Figured it out. Not sure why this ever has worked!
The problem is in line 8. It should be:
@m_model = new ModelView(*m_context, NULL);@
I was passing in a bogus parent.