New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault sometimes when lost connection #25
Comments
Hi! Is there any news on this? Latest patches you and cepiperez sent solved this issue or is it still standing? |
It's not anymore a segfault per se, but Yappari still crashes here, with an "invalid length" message:
|
Works a little better but still crashes some times with segfault:
|
I'm still not sure how SEGFAULT can happen while using a QByteArray member, but lets assume it's not correctly initialized. Could you please try replacing the BinTreeNodeReader constructor with the following code? It simply initializes both QByteArray to the empty (not null) string. It works for me but I've never experiencied any segfault, so I need you test this for me. Thanks! BinTreeNodeReader::BinTreeNodeReader(QTcpSocket *socket, WATokenDictionary *dictionary,
} |
This happens once in a while, usally when the phone disconnects form wifi , 3g, or connect to other network, it's a bit dificult to reproduce. Here is the log:
The text was updated successfully, but these errors were encountered: