Have you seen my topic on Ways to Crash FreeRTOS?
Can you extend it with examples for producing deadlocks?