Task handle crash

The FreeRTOS docs contain a good basic configASSERT example (the 2nd one) by just disabling all interrupts and stop in a forever loop.
So you can either put a breakpoint at the loop or when the application is stuck there, halt the target with the debugger and check the call stack to see the source location with the assert came from.