View Issue Details

IDProjectCategoryView StatusLast Update
0010169CTT UA Binary2 - CTT Binarypublic2025-03-27 12:37
ReporterYannik Klaass Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0010169: PubSub cache messages never removed from stack and several memory leaks
Description

With the current implementation of the PubSub message cache, the cache will never be cleared from the stack, as it stays in the current scope until exiting the CTT. Manual cleanup of the message cache needs to be implemented.
Also while fixing the issue, several memory leaks and unused objects have been discovered which need to be fixed/removed.

TagsNo tags attached.
Files Affected

Activities

Yannik Klaass

2025-03-27 12:37

developer   ~0022576

  • Changing PubSub message cache objects to store pointers instead of objects and implementing handling to clear the cache manually after each run

  • Removing unused object from MyDataSetReaderCallback::newMessageReceived()

  • Fixing memory leaks in MyDataSetReaderCallback::newMessageReceived(), MyDataSetWriterCallback::writeDataSetMessageFields() and CttOpcServerClass::getRawPubSubMessageFromCache()

Issue History

Date Modified Username Field Change
2025-02-27 18:50 Yannik Klaass New Issue
2025-03-01 16:37 Paul Hunkar Assigned To => Yannik Klaass
2025-03-01 16:37 Paul Hunkar Status new => assigned
2025-03-27 12:37 Yannik Klaass Status assigned => resolved
2025-03-27 12:37 Yannik Klaass Resolution open => fixed
2025-03-27 12:37 Yannik Klaass Note Added: 0022576