Hello Marc,
It is possible for stack problems to cause this type of error reset, where the stack contains return address information associated with functions and/or ISRs. Should the stack overflow into the global variable region, writing a new value to a global variable may potentially cause the error. Of course, the stack over-writing some global variables would cause other problems, as well. Perhaps increase the stack size to ensure this is not the cause.
Another potential cause of stack overflow, even with a reasonable size stack, could be a run-away interrupt, perhaps in conjunction with an unintended nested interrupt source. Check that each ISR clears its associated interrupt flag, and that interrupts are never re-enabled within any ISR function.
Regards,
Mac