Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.22k stars 1.35k forks source link

OutlinePlugin crash internally on Android when repeated connects and disconnects executed through UI #1807

Open abivos opened 6 months ago

abivos commented 6 months ago

Describe the bug Sometimes on Android, when repeated connects and disconnects executed through UI, app hangs in connecting state for a long time (~5 min). OutlinePlugin stacktrace can be seen through adb logcat.

OutlinePlugin: Starting VPN tunnel 24ef1c68-cf46-4e12-890e-68bb69ab1c6c
VpnTunnelService: Starting tunnel 24ef1c68-cf46-4e12-890e-68bb69ab1c6c.
Go      : signal 23 received on thread with no signal stack
Go      : fatal error: non-Go code disabled sigaltstack
GoLog   : signal 23 received on thread with no signal stack

To reproduce Connect and disconnect from server through UI like crazy, maybe add closing the app with carrousel in between.

Expected behavior App should always be responsive

Client system (please complete the following information):

Additional context Full exception stacktrace in attachment logcat-stacktrace.log

daniellacosse commented 5 months ago

Thanks for bringing this to our attention! I suppose we could fix this by throttling the requests. Sending to QA to reproduce.