sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

Sing-box with gvisor stack stopping but vpn service doesn't [Android]

Open Hryniuk1 opened this issue 1 year ago • 3 comments

Operating system

Android

System version

Realme GT Master Edition, Realme UI 4, Android 13

Installation type

sing-box for Android Graphical Client

If you are using a graphical client, please provide the version of the client.

1.6.0(134)

Version

No response

Description

Sometimes, trying to stop the sing-box in the graphical interface results in the sing-box seeming to turn off, but the vpn service continues to work. At the same time, there is no Internet. I have to either start the singbox service again and stop it or force stop application in system settings. Also this happens to Nekobox for Android Actually is duplicate of #921 but with logs :) Screenshot_2023-10-31-21-12-11-45_d2ee0e1115b0a64ebff5994ebce8502f Screenshot_2023-10-31-21-12-17-29_41a74ddf68be21faad2fbbb691b15143

Reproduction

  1. Choose "gvisor" stack. There is no such bug when use "system" stack
  2. Use sing-box for a long time (30 minutes or more)

Logs

Client config: client_config.json sing-box service log: singbox-log.txt Logcat: logcat.zip

Hryniuk1 avatar Oct 31 '23 19:10 Hryniuk1

yes, I had the same issue while using gvisor stack. System stack seems OK.

usaxyh avatar Nov 01 '23 03:11 usaxyh

the same with openwrt linux-arm64. internet stuck after 30min+. the connections was under direct rule. the other things when the stack ok, I can't do speedtest.net cli. socket error something. changed to system seems ok.

lux5am avatar Nov 10 '23 07:11 lux5am

I think the old sing-box service is not entirely terminated, if I try to restart the VPN multiple times, I can see that the memory usage in the dashboard will ramp up, unless I force stop the app. The initial memory usage is around 8-10MB but restarting I'd get 17-20MB, maybe even more if I continue to restart. Tested with SFA-1.6.5-arm64-v8a.apk, both system and gvisor stack.

Arunmor1510 avatar Nov 17 '23 15:11 Arunmor1510

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jan 17 '24 01:01 github-actions[bot]