Index: sources/canbus/messagedispatcher.cpp =================================================================== diff -u -rd3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d -r5626bf604947efe5a80c9ca51802aab1a70a6939 --- sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision d3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d) +++ sources/canbus/messagedispatcher.cpp (.../messagedispatcher.cpp) (revision 5626bf604947efe5a80c9ca51802aab1a70a6939) @@ -155,7 +155,10 @@ void MessageDispatcher::onFrameReceive(Can_Id vCan_Id, const QByteArray &vPayload) { // Append a message to the list + // coco begin validated: if empty (first condition) is true, it must never check for the complete (second condition) + // because if the list is empty there is no last() item if (_messageList[vCan_Id].isEmpty() || _messageList[vCan_Id].last().isComplete()) { + // coco end _messageList[vCan_Id].append(Message()); }