Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 2.5.4, Qt for MCUs 2.8.1
Description
Reproducer attached. Just build it with 2.8.x, let it run and wait for crashing. The error is
Qt for MCUs error: Core:LinkedListNode_AlreadyListMember:132, line: 160, params: 0, 0, 0. See https://doc.qt.io/QtForMCUs/qtul-error-handling.html for more information.
which, after some searching, should be due to "DependencyBase::insertInto" in property.h. At line 160, it goes like:
QUL_DEBUG_ASSERT(!next && !node->prev, QulError_LinkedListNode_AlreadyListMember);
The point is that the crash is not very consistent. One may see the crash anytime within, roughly speaking, 30 minutes (I've tested it for half a day and only seen it 3 times). Or rarely, crash may not happen at all.