POETSII / Orchestrator

The Orchestrator is the configuration and run-time management system for POETS platforms.
1 stars 1 forks source link

P_builder will not create correct EdgeProperties and EdgeState #117

Closed AlexRast closed 4 years ago

AlexRast commented 4 years ago

This is due to a faulty detection for PinPropsSize and PinStateSize, both of which apparently return 0 even when properties and state have real size. The generation logic is not invoked and the edges don't appear in the generated source; worse, their pointers are set to NULL, so deferencing an edge will lead to unpredictable results. A fix is in Orchestrator-ThreadConstrain and has been tested at various sizes. This fix also gets rid of PinPropsSize and PinStateSize in P_pintyp. It's not clear why those were there otherwise; their only use was to trigger the (faulty) generation logic in P_builder.

AlexRast commented 4 years ago

Fixed in EdgeStatePropsFix - awaiting pull