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

panic: close of closed channel #1

Closed
yurenchen000 opened this issue Aug 23, 2023 · 0 comments · Fixed by #3
Closed

panic: close of closed channel #1

yurenchen000 opened this issue Aug 23, 2023 · 0 comments · Fixed by #3
Labels
bug Something isn't working

Comments

@yurenchen000
Copy link
Owner

== found old session: 0xc000014088 &{{0xc000106400}} &{{0xc000106300}} 0 2560 1
recv-sess: # 0 1
connB old: &{{0xc000106300}}

-- close old connB: &{{0xc000106300}}
-- readAWriteB: ctxB close: &{{0xc000106300}} 0 false
-recv new B: 512 [0 0 49 49 54 46 49 57 54 46 56 49 46 49 51 55 58 50 48 48 52 0 0 0 0 0 0 0 0 0 0 0 19 115 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 97 100 109 105 110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 55 57 51 52 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 3 1 6 10 9 1 0 0 0 0 2 0 0 0 0 0 112 121 109 115 115 113 108 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 49 49 54 46 49 57 54 46 56 49 46 49 51 55 58 50 48 48 52 0 0 0 0 0 0 0 0 0 0 0 19 97 100 109 105 110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 4 2 0 0 68 66 45 76 105 98 114 97 114 121 10 0 0 0 0 0 13 17 117 115 95 101 110 103 108 105 115 104 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 76 0 0] 12593 0
== found old session: 0xc000014098 &{{0xc000106400}} &{{0xc000106300}} 0 2560 1
recv-sess: # 0 1
connB old: &{{0xc000106300}}

-- close old connB: &{{0xc000106300}}
panic: close of closed channel

goroutine 281 [running]:
main.connB_init({0x52cd30?, 0xc000014058}, 0xc000120120, 0x4?)
	/github/workspace/server.go:98 +0x1ad
main.connB_wait({0x52cd30, 0xc000014058})
	/github/workspace/server.go:137 +0x30b
created by main.main
	/github/workspace/server.go:157 +0x11f

@yurenchen000 yurenchen000 added the bug Something isn't working label Aug 23, 2023
yurenchen000 added a commit that referenced this issue Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant