Application crashing with error in QtCore files
-
Hi, I am working on custom qgroundcontrol. I followed all the steps mentioned in qgc developer guide to build a custom qgc. Now as soon as i connect orange cube plus board using serial connection. the qgc application crashed with error:

@indo-soft
Please post the code, that causes the crash. -
@indo-soft
Please post the code, that causes the crash.Hi @Axel-Spoerl
this is the code snippetreference operator[](qsizetype i)
{
Q_ASSERT_X(size_t(i) < size_t(d->size), "QList::operator[]", "index out of range");
// don't detach() here, we detach in data below:
return data()[i];
} -
Hi @Axel-Spoerl
this is the code snippetreference operator[](qsizetype i)
{
Q_ASSERT_X(size_t(i) < size_t(d->size), "QList::operator[]", "index out of range");
// don't detach() here, we detach in data below:
return data()[i];
}@indo-soft Please post the stack trace after crash.
Somewhere in the code a list index is out of bounds of the list.