Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: #20722

qq51529210 opened this issue Jun 19, 2017 · 0 comments

x/mobile: #20722

qq51529210 opened this issue Jun 19, 2017 · 0 comments


Copy link

@qq51529210 qq51529210 commented Jun 19, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.8.3

What operating system and processor architecture are you using (go env)?

windows, android/arm

What did you do?

when network is down, I call func n, e := this.conn.WriteToUDP(b, this.rmt),, it panic

What did you expect to see?

run well

What did you see instead?

[error]: [write udp [::]:51038-> sendto: network is unreachable]
I/GoLog: goroutine 19 [running, locked to thread]:
I/GoLog: runtime/debug.Stack(0x0, 0x97ce62a0, 0x70)
I/GoLog: C:/Go/src/runtime/debug/stack.go:24 +0x5c
I/GoLog: ben/log.Error(0xd5fa9af0, 0x980a73e0)
I/GoLog: D:/work/Go/src/ben/log/log.go:63 +0x140
I/GoLog: ben/speed/v3.(*Client).Dial(0x97f1c000, 0x97f35940, 0x14, 0x0, 0x0, 0x2a05f200, 0x1, 0x97f35940, 0x14)
I/GoLog: D:/work/Go/src/ben/speed/v3/client.go:98 +0x9cc
I/GoLog: ben/speed/v3/so.(*Client).Dial(0x97f1a000, 0x97f35940, 0x14, 0x0, 0x0, 0x1388, 0x0, 0x0)
I/GoLog: D:/work/Go/src/ben/speed/v3/so/so.go:79 +0xbc
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind.proxyso_Client_Dial(0xffffffe8, 0xf43b0bb0, 0x14, 0x0, 0x0, 0x1388, 0x0, 0x0, 0x97c6c0f0)
I/GoLog: C:/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind/go_somain.go:38 +0xb0
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind._cgoexpwrap_b5118fcf640e_proxyso_Client_Dial(0xffffffe8, 0xf43b0bb0, 0x14, 0x0, 0x0, 0x1388, 0x0, 0x0, 0x0)
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind/_obj/_cgo_gotypes.go:240 +0x84
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind._Cfunc_cproxyso_Callback_OnEvent(0x2a, 0x1, 0x0, 0x97c78400)
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind/_obj/_cgo_gotypes.go:112 +0x3c
I/GoLog: /C/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind.(*proxyso_Callback).OnEvent(0x97f26010, 0x1, 0x2)
I/GoLog: C:/Users/Ben/AppData/Local/Temp/gomobile-work-914609883/gomobile_bind/go_somain.go:171 +0x38
I/GoLog: ben/speed/v3/so.(*Client).onAccept(0x97f1a000, 0x97f28068, 0xd5faa160, 0x97f26010)
I/GoLog: D:/work/Go/src/ben/speed/v3/so/so.go:135 +0x16c
I/GoLog: ben/speed/v3/so.(*Client).listen(0x97f1a000, 0xd5faa160, 0x97f26010)
I/GoLog: D:/work/Go/src/ben/speed/v3/so/so.go:122 +0xd8
I/GoLog: created by ben/speed/v3/so.(*Client).Listen
I/GoLog: D:/work/Go/src/ben/speed/v3/so/so.go:56 +0x214

@gopherbot gopherbot added this to the Unreleased milestone Jun 19, 2017
@qq51529210 qq51529210 closed this Jun 19, 2017
@golang golang locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.