snail007 / goproxy-sdk Goto Github PK
View Code? Open in Web Editor NEWall platform sdk of goproxy , https://github.com/snail007/goproxy
License: Other
all platform sdk of goproxy , https://github.com/snail007/goproxy
License: Other
谢谢sdk,使用上有个问题。
Proxysdk.start(serviceid, args,"")后不会返回结果,无法通过返回值判断执行是否存在错误。
Android
小米8 安卓版本9.0 miui 10
03-23 14:22:19.121 4134-0/com.tencent.myapplication E/Go: panic: runtime error: index out of range
goroutine 17 [running, locked to thread]:
03-23 14:22:19.122 4134-0/com.tencent.myapplication E/Go: github.com/snail007/license/lic-checker/goinfo.GetInfoMap(0x71b2f6cfee)
/home/pengmeng/go/src/github.com/snail007/license/lic-checker/goinfo/goInfo_linux.go:25 +0x4e8
github.com/snail007/license/lic-checker.Report(0x442002ea30, 0x10, 0x442002e655, 0x3, 0x442002e8f0, 0xd, 0x34630b8a000)
/home/pengmeng/go/src/github.com/snail007/license/lic-checker/checker.go:179 +0x18
github.com/snail007/proxy/sdk/android-ios.StartWithLog(0x442002e8e0, 0x6, 0x442002e8f0, 0xd, 0x0, 0x0, 0x4420020070, 0xd)
/home/pengmeng/go/src/github.com/snail007/proxy/sdk/android-ios/sdk.go:92 +0xf4
github.com/snail007/proxy/sdk/android-ios.Start(0x442002e8e0, 0x6, 0x442002e8f0, 0xd, 0x7100000008, 0x4420062080)
/home/pengmeng/go/src/github.com/snail007/proxy/sdk/android-ios/sdk.go:66 +0x40
03-23 14:22:19.123 4134-0/com.tencent.myapplication E/Go: main.proxyproxy__Start(0x71b431a160, 0x6, 0x71b3c86680, 0xd, 0x0, 0x0)
/tmp/gomobile-work-022422383/src/gobind/go_proxymain.go:128 +0x64
main._cgoexpwrap_ef64ed5c78f1_proxyproxy__Start(0x71b431a160, 0x6, 0x71b3c86680, 0xd, 0x0, 0x0)
_cgo_gotypes.go:271 +0x64
--------- beginning of crash
03-23 14:22:19.124 4134-4134/com.tencent.myapplication A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 4134 (t.myapplication), pid 4134 (t.myapplication)
03-23 14:22:19.270 4191-4191/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/dipper/dipper:9/PKQ1.180729.001/V10.2.2.0.PEACNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 4134, tid: 4134, name: t.myapplication >>> com.tencent.myapplication <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
x0 0000000000000000 x1 0000000000000006 x2 0000000000000000 x3 0000000000000008
x4 0000000000000020 x5 0000000000000000 x6 0000000000000006 x7 0000000000000000
x8 0000000000000082 x9 00000071b33321f0 x10 000000000005eacf x11 0000004420000600
x12 0000000000000000 x13 0000000000000000 x14 0000000000000000 x15 0000000000000001
x16 0000007fc374bddc x17 00000071b3582ee0 x18 0000000000000008 x19 000000001d273a1d
x20 00000071b3c86680 x21 0000000000000006 x22 00000071b431a160 x23 0000000000000000
x24 0000000000000008 x25 00000072524665e0 x26 0000000000000000 x27 0000000000000000
x28 0000004420000480 x29 0000007fc374c4f0
sp 0000007fc374c280 lr 00000071b2b0c44c pc 00000071b2b21c48
03-23 14:22:19.271 4191-4191/? A/DEBUG: backtrace:
#00 pc 00000000002d3c48 /data/app/com.tencent.myapplication-2kccKH4ii9_qekSeiqLlKQ==/lib/arm64/libgojni.so
报错时日志如下:
08-18 16:00:30.918 625 0 E Go : panic: interface conversion: interface {} is nil, not string
08-18 16:00:30.918 625 0 E Go : goroutine 13852 [running]:
08-18 16:00:30.918 625 0 E Go : github.com/snail007/license/lic-checker.post(0x8bdd09a0, 0xab, 0x8be58fa0, 0xbf0e2008, 0xc8, 0x8bc994f0, 0x0, 0x0)
08-18 16:00:30.918 625 0 E Go : /Users/go/src/github.com/snail007/license/lic-checker/checker.go:411 +0xd58
08-18 16:00:30.918 625 0 E Go : github.com/snail007/license/lic-checker.Report.func1()
08-18 16:00:30.918 625 0 E Go : /Users/go/src/github.com/snail007/license/lic-checker/checker.go:291 +0x3c
08-18 16:00:30.918 625 0 E Go : created by time.goFunc
08-18 16:00:30.918 625 0 E Go : /usr/local/go1.13/src/time/sleep.go:168 +0x38
08-18 16:00:30.919 625 3276 E GoLog : panic: interface conversion: interface {} is nil, not string
08-18 16:00:30.946 23813 23821 W System : A resource failed to call close.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.