Runtime null pointer dereference/memory corruption issue

I took a (very quick) look.
What I see that both tasks are using queues.
But the queues are created after the tasks where started.
What happens when you create the queues first, and after that starting the tasks?