"program received signal -111" Fatal error on iOS
-
wrote on 28 May 2015, 07:02 last edited by
Hello,
I have this error in compiling for iOS, until now, I was working on Android and there was no problem anymore, but since I want to try it on iOS, it crash some seconds after being launched...I have only one signal which is a timer that loop every 10ms.
I have deleted all warning (and error of course) just in case...
But it doesn't seem to have any differenceprogram received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; program received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; program received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; program received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; program received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; program received signal -111,thread:c743e;qaddr:33306ad0;00:00000000;01:00100000;02:01000000;03:0070b700;04:cc9b8d00;05:7039d815;06:00000000;07:0c36b700;08:08000000;09:82aaaa10;0a:18000000;0b:2ccbed1f;0c:ec513033;0d:f435b700;0e:43783b00;0f:0c003500;10:30000020;metype:1;mecount:2;medata:1;medata:8; hit maximum number of consecutive signals, stopping Run ended.
-
Hi,
What does the slot connected to that signal ?
-
wrote on 1 Jun 2015, 09:45 last edited by NGV1 6 Jan 2015, 09:46
The slot calls a sequential group of function every 10 milliseconds
here's my code :
#define TEMPO 10 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { [...] timer = new QTimer(this); timer->setTimerType(Qt::PreciseTimer); connect(timer, SIGNAL(timeout()), this, SLOT(sequenceAppli())); [...] timer->start(TEMPO); } void MainWindow::sequenceAppli() { timer->stop(); s1->seq1(); s2->seq2(); s3->seq3(); s4->seq4(); s5->seq5(); s6->seq6(); s7->seq7(); s8->seq8(); timer->start(); }
-
Are you sure 8 sequences are working under 10ms ?
-
wrote on 2 Jun 2015, 10:03 last edited by
I tried to extend the loop's time, but even with a one second period it crash at the begining, even before displaying anything, I've just seen the loading screen. One surprising thing is that it work very well on mac OS (is there a relation ?)
-
What happens in these functions ?
-
wrote on 3 Jun 2015, 13:24 last edited by
Normally it calls others functions which manages the display, the first sequence receives datas from a bluetooth connection, the second sequence creates objects and displays them, the third one modifies them and the fourth one returns its value if it's changed by the user.
For example, if I want to display a line Edit :
-
I send a bluetooth trame with the instruction, the first sequence memorizes it,
-
Then, in the second sequence, I create it and add it on the mainwindow,
-
I add a texte and I modify some properties (like alignment, color, ...) in the third sequence,
-
Finally, if the user change its text value, the fourth sequence returns the new one by bluetooth when the signal editingFinished() return true
PS : Actually, I don't use bluetooth yet, I only fill an array which stand for buffer but after my tests are effective it will be replace by Bluetooth Low Energy
-
1/7