SonicCloudOrg / sonic-ios-bridge

🎉Bridge of iOS Devices by usbmuxd. 基于usbmuxd的iOS调试工具。
https://soniccloudorg.github.io/sib/re-sib.html
GNU Affero General Public License v3.0
1.06k stars 240 forks source link

[Bug] sib 连接成功后, 用一段时间突然就无法使用,显示connect成功,sib devices 获取其它指令就报错。 删除文件,重新解压一个又可以正常 #61

Open Felix1029 opened 1 year ago

Felix1029 commented 1 year ago

Search before asking

Sonic version

sonic-ios-bridge_1.3.13_macosx_arm64.tar.gz

电脑是 MAC M1

Deploy platform

Macosx

Minimal reproduce step

通过sib 远程连接iOS 手机。 手机型号 iPhone XR 有时会连接不上,报下面的错误

2023/06/21 10:26:59 EOF panic: EOF

goroutine 17 [running]: log.Panic({0x14000119dc8?, 0x4?, 0x103154240?}) /opt/hostedtoolcache/go/1.18.10/x64/src/log/log.go:385 +0x68 github.com/SonicCloudOrg/sonic-gidevice.checkRecvMagic({0x102cf9d50, 0x140000a6080}, 0x0) /home/runner/go/pkg/mod/github.com/!sonic!cloud!org/sonic-gidevice@v0.7.4/device.go:1212 +0x68 github.com/SonicCloudOrg/sonic-gidevice.clientConnectInit({0x102cf9d50, 0x140000a6080}) /home/runner/go/pkg/mod/github.com/!sonic!cloud!org/sonic-gidevice@v0.7.4/device.go:1177 +0xe0 github.com/SonicCloudOrg/sonic-gidevice.NewRemoteConnect({0x14000521400, 0xb}, 0x0?, 0x5) /home/runner/go/pkg/mod/github.com/!sonic!cloud!org/sonic-gidevice@v0.7.4/device.go:58 +0xbc github.com/SonicCloudOrg/sonic-ios-bridge/src/util.CheckRemoteConnect({0x14000521400?, 0x0?}, 0x0?, 0x0?) /home/runner/work/sonic-ios-bridge/sonic-ios-bridge/src/util/common.go:146 +0x24 github.com/SonicCloudOrg/sonic-ios-bridge/src/util.ReadRemote.func2({0x1400050cff0?, 0x140005213d8?}) /home/runner/work/sonic-ios-bridge/sonic-ios-bridge/src/util/common.go:132 +0x58 created by github.com/SonicCloudOrg/sonic-ios-bridge/src/util.ReadRemote /home/runner/work/sonic-ios-bridge/sonic-ios-bridge/src/util/common.go:131 +0x374

Are you willing to submit a PR?