Task crashes after X hours

Hi @Dumpie124,
This page gives some options for detecting stack overflows FreeRTOS stack usage and stack overflow checking - FreeRTOS™.

Could you supply any example code, version of FreeRTOS-Kernel, and architecture you are using FreeRTOS on?

Have you tried simply increasing the stack size of the task that is overflowing?