When android closes the payload socket (cancel share) calling m_socket.close() results
in a recursive call to onError eventually leading to a segmentation violation
Details
Details
- Reviewers
nicolasfella - Group Reviewers
KDE Connect - Commits
- R224:9f5cdf1a2177: Do not close m_socket in socketError()
Install D16491, share a large file from desktop to android and cancel the share on Android through
the notification. kdeconnectd crashes almost 100% of the time. (It doesn't crash when it detects
a disconnect in sendNextPacket)
Diff Detail
Diff Detail
- Repository
- R224 KDE Connect
- Branch
- crash_while_uploading_and_remote_closes_socket
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 6079 Build 6097: arc lint + arc unit