Error in thread.cc:s readyRead when constructing mesage.