second image button hardware crash investigation
Open, NormalPublic

Description

If a second imagebutton is added to the left buttonbar strange behaviour occurs on the actual remote hardware. It compiles fine and it works fine in visualizer but the real hardware resets immediately after boot and then goes into a startup loop flashing the screen briefly each time.

The changes have been uploaded in a separate github branch: https://github.com/apertus-open-source-cinema/AXIOM-Remote/tree/second_imagebutton_issue

sebastian triaged this task as Normal priority.
sebastian renamed this task from sceond image button hardware crash investigation to second image button hardware crash investigation.Jan 28 2021, 10:21 AM

After some investigation, it seems like the problem is caused by the stack, which corrupts the heap. Probably some bloated code, e.g. wrong pointer usage or (unintentional) duplication of objects by passing them directly and not referencing.