single dequeue machine...segmentation fault in the client