Describe the bug
Shadowsocks crashes sometimes when starting service, especially when stopping and restarting service manually.
To Reproduce
When service is running, open Shadowsocks and stop service, then start service.
Expected behavior
Service stop and start successfully.
Smartphone (please complete the following information):
Configuration
Additional context
Crash log:
2018-12-16-23-56-47.txt
Probably caused by throwErrnoException. Thanks for reporting, will check later.
@Mygod I think we already catch that exception correctly?
Okay, it looks throwErrnoException itself causes the problem.
Please try this APK: https://www.dropbox.com/s/9asq5gvypvrk1w9/mobile-universal-release.apk
@madeye This APK works well. I tried stopping and restarting service multiple times and there was no crash.