Hi,
We have an application using RL-ARM on STM32 (Cortex-M3), 6 tasks are running in total.
Between our tasks we pass messages via mailboxes, strictly from a _alloc_box and _free_box memory pool.
However, in long term testing of our product, we are experiencing a system crash after ~3 days, where an invalid memory address (as in not one from the pool) is coming off the mailbox. This looks like an address that the RTOS uses. However, the ones that are going into the mailbox have been allocated with _alloc_box.
We have tried updating to the latest MDK (3.50) binary only version, and it does the same.
Does anyone have any ideas or advice as to why this could be happening, and how we could debug this? We have tried tracing, and increasing the stack size, but this does not help. Our next idea at the moment was to see if we could obtain the source code, but I am not sure this will tell us much more.
Best Regards,
Martin.