Communication between tasks and co-routines

Hi, is it allowed to use blocking queues for communication between a co-routine and a task? If i do this my system crash!! Regards Markus