a "constData" bug caused serious crush in another branch.
it is because that a const char * pointer returned by QByteArray::constData() is not static,
When QByteArray::append or something called, it will no longer avaliable.