Replies: 2 comments 4 replies
-
|
Hello @fj-mzoehr, I'm currently working on replicating the reported bug, but unfortunately, I haven't been successful so far. Could you please provide additional details regarding the connection you are attempting? For example, are you using the public key as the authentication method? Additionally, I wanted to mention that I've experienced success using the Remote - SSH extension. |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
fixed in #3306 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Shellhub Team
Unfortunately it seems the shellhub v.13.4 is not able to open a vscode connection anymore.
The docker seems to segault when open a vscode session.
Tested on SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux - shellhubio/agent:v0.13.4
Docker logs
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f6a0c52dc00 pc=0x7f6a34ea4475]
runtime stack:
runtime.throw({0xb35f2c?, 0x0?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0x7f6a0d809390 sp=0x7f6a0d809360 pc=0x43757d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:821 +0x3e9 fp=0x7f6a0d8093f0 sp=0x7f6a0d809390 pc=0x44d889
goroutine 166 [syscall]:
runtime.cgocall(0x9cf460, 0xc0002feb70)
/usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc0002feb48 sp=0xc0002feb10 pc=0x40667c
github.com/shellhub-io/shellhub/pkg/agent/pkg/yescrypt._Cfunc_crypt(0x7f6a34f6a8e0, 0x7f6a34f6ab20)
_cgo_gotypes.go:80 +0x4d fp=0xc0002feb70 sp=0xc0002feb48 pc=0x549d4d
github.com/shellhub-io/shellhub/pkg/agent/pkg/yescrypt.Verify({0xc0005b48c0?, 0x0?}, {0xc000612387, 0x49})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/yescrypt/yescript.go:19 +0x5d fp=0xc0002febb0 sp=0xc0002feb70 pc=0x549f3d
github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth.(*OSAuth).VerifyPasswordHash(0xa59aa0?, {0xc000612387, 0x49}, {0xc0005b48c0, 0x9})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth/auth.go:81 +0xd6 fp=0xc0002fec50 sp=0xc0002febb0 pc=0x575676
github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth.(*OSAuth).AuthUserFromShadow(0xb217c5?, {0xc0005b4840, 0x6}, {0xc0005b48c0, 0x9}, {0xc2aa40?, 0xc000488198?})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth/auth.go:69 +0x2b6 fp=0xc0002fee98 sp=0xc0002fec50 pc=0x575536
github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth.(*OSAuth).AuthUser(0xc0000c4000?, {0xc0005b4840, 0x6}, {0xc0005b48c0, 0x9})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/osauth/auth.go:40 +0x15f fp=0xc0002ff070 sp=0xc0002fee98 pc=0x57503f
github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Authenticator).Password(0xc00064a2c0, {0xc32e60, 0xc0004e6b58}, {0x7f6a34e575b8?, 0x10?}, {0xc0005b48c0, 0x9})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/authenticator.go:64 +0x18a fp=0xc0002ff220 sp=0xc0002ff070 pc=0x931d8a
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).passwordHandler(0xc00035a1e0, {0xc32e60, 0xc0004e6b58}, {0xc0005b48c0, 0x9})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/authentication.go:8 +0x6c fp=0xc0002ff268 sp=0xc0002ff220 pc=0x9393ec
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).passwordHandler-fm({0xc32e60?, 0xc0004e6b58?}, {0xc0005b48c0?, 0xc00029ab80?})
:1 +0x45 fp=0xc0002ff2a0 sp=0xc0002ff268 pc=0x93b845
github.com/gliderlabs/ssh.(*Server).config.func1({0xc30d08?, 0xc00029ab80?}, {0xc0004c1fae, 0x9, 0xc0003407d0?})
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:138 +0x8d fp=0xc0002ff2f8 sp=0xc0002ff2a0 pc=0x8cfe0d
golang.org/x/crypto/ssh.(*connection).serverAuthenticate(0xc00029ab80, 0xc00017b860)
/go/pkg/mod/golang.org/x/[email protected]/ssh/server.go:502 +0x547 fp=0xc0002ff760 sp=0xc0002ff2f8 pc=0x8c25a7
golang.org/x/crypto/ssh.(*connection).serverHandshake(0xc00029ab80, 0xc00017b860)
/go/pkg/mod/golang.org/x/[email protected]/ssh/server.go:286 +0x53e fp=0xc0002ff830 sp=0xc0002ff760 pc=0x8c0d1e
golang.org/x/crypto/ssh.NewServerConn({0xc32420, 0xc00042a8c0}, 0xc00017b790)
/go/pkg/mod/golang.org/x/[email protected]/ssh/server.go:214 +0x1d4 fp=0xc0002ff8c8 sp=0xc0002ff830 pc=0x8c0574
github.com/gliderlabs/ssh.(*Server).HandleConn(0xc000184fc0, {0xc32528, 0xc0001796b0})
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:281 +0x1f3 fp=0xc0002ff9b0 sp=0xc0002ff8c8 pc=0x8d0cf3
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).HandleConn(...)
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/server.go:218
github.com/shellhub-io/shellhub/pkg/agent.connHandler.func1({0xc36c78, 0xc00035a500})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:389 +0x165 fp=0xc0002ffa20 sp=0xc0002ff9b0 pc=0x94d285
github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel.NewTunnel.func6({0xc36c78?, 0xc00035a500?})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel/tunnel.go:77 +0x2b fp=0xc0002ffa40 sp=0xc0002ffa20 pc=0x89ed2b
github.com/labstack/echo/v4.(*Echo).add.func1({0xc36c78, 0xc00035a500})
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:582 +0x51 fp=0xc0002ffa70 sp=0xc0002ffa40 pc=0x884bb1
github.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc000244900, {0xc2f330?, 0xc00023e2a0}, 0xc00056e800)
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:669 +0x3d1 fp=0xc0002ffad0 sp=0xc0002ffa70 pc=0x885791
net/http.serverHandler.ServeHTTP({0xc000179740?}, {0xc2f330, 0xc00023e2a0}, 0xc00056e800)
/usr/local/go/src/net/http/server.go:2936 +0x316 fp=0xc0002ffb80 sp=0xc0002ffad0 pc=0x74ebd6
net/http.(*conn).serve(0xc000632000, {0xc2fb38, 0xc0001796e0})
/usr/local/go/src/net/http/server.go:1995 +0x612 fp=0xc0002fffb8 sp=0xc0002ffb80 pc=0x74a5b2
net/http.(*Server).Serve.func3()
/usr/local/go/src/net/http/server.go:3089 +0x2e fp=0xc0002fffe0 sp=0xc0002fffb8 pc=0x74f52e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0002fffe8 sp=0xc0002fffe0 pc=0x469a61
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3089 +0x5ed
goroutine 1 [select, 5 minutes]:
runtime.gopark(0xc00052b238?, 0x2?, 0x8d?, 0x4a?, 0xc00052b20c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000537078 sp=0xc000537058 pc=0x43a296
runtime.selectgo(0xc000537238, 0xc00052b208, 0xc31d90?, 0x0, 0xc00064a200?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc0005371b8 sp=0xc000537078 pc=0x449cde
github.com/shellhub-io/shellhub/pkg/agent.(*Agent).Listen(0xc000196280, {0xc2fac8, 0xc00002a040})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:579 +0x5aa fp=0xc0005373a8 sp=0xc0005371b8 pc=0x94dcaa
main.main.func1(0xc000156900, {0xb1cf41?, 0x0?, 0x0?})
/go/src/github.com/shellhub-io/shellhub/agent/main.go:206 +0xe65 fp=0xc000537cb0 sp=0xc0005373a8 pc=0x9cd2e5
github.com/spf13/cobra.(*Command).execute(0xc000156900, {0xc000024220, 0x0, 0x0})
/go/pkg/mod/github.com/spf13/[email protected]/command.go:987 +0xa91 fp=0xc000537e50 sp=0xc000537cb0 pc=0x9be231
github.com/spf13/cobra.(*Command).ExecuteC(0xc000156900)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x425 fp=0xc000537f28 sp=0xc000537e50 pc=0x9beb65
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039
main.main()
/go/src/github.com/shellhub-io/shellhub/agent/main.go:293 +0x25d fp=0xc000537f80 sp=0xc000537f28 pc=0x9cc45d
runtime.main()
/usr/local/go/src/runtime/proc.go:250 +0x207 fp=0xc000537fe0 sp=0xc000537f80 pc=0x439e67
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000537fe8 sp=0xc000537fe0 pc=0x469a61
goroutine 2 [force gc (idle), 3 minutes]:
runtime.gopark(0x77350f08a92?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000070fb0 sp=0xc000070f90 pc=0x43a296
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:387
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:305 +0xb0 fp=0xc000070fe0 sp=0xc000070fb0 pc=0x43a0d0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000070fe8 sp=0xc000070fe0 pc=0x469a61
created by runtime.init.6
/usr/local/go/src/runtime/proc.go:293 +0x25
goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000071780 sp=0xc000071760 pc=0x43a296
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:387
runtime.bgsweep(0x0?)
/usr/local/go/src/runtime/mgcsweep.go:319 +0xde fp=0xc0000717c8 sp=0xc000071780 pc=0x4264fe
runtime.gcenable.func1()
/usr/local/go/src/runtime/mgc.go:178 +0x26 fp=0xc0000717e0 sp=0xc0000717c8 pc=0x41b766
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000717e8 sp=0xc0000717e0 pc=0x469a61
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:178 +0x6b
goroutine 4 [GC scavenge wait]:
runtime.gopark(0x102a5a0?, 0x3b9c8ba9?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000071f70 sp=0xc000071f50 pc=0x43a296
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:387
runtime.(*scavengerState).park(0x102a5a0)
/usr/local/go/src/runtime/mgcscavenge.go:400 +0x53 fp=0xc000071fa0 sp=0xc000071f70 pc=0x4243d3
runtime.bgscavenge(0x0?)
/usr/local/go/src/runtime/mgcscavenge.go:633 +0x65 fp=0xc000071fc8 sp=0xc000071fa0 pc=0x4249c5
runtime.gcenable.func2()
/usr/local/go/src/runtime/mgc.go:179 +0x26 fp=0xc000071fe0 sp=0xc000071fc8 pc=0x41b706
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x469a61
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:179 +0xaa
goroutine 5 [finalizer wait, 3 minutes]:
runtime.gopark(0x0?, 0xc0004e6108?, 0x0?, 0x60?, 0x1000000010?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000070628 sp=0xc000070608 pc=0x43a296
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000707e0 sp=0xc000070628 pc=0x41a7a7
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000707e8 sp=0xc0000707e0 pc=0x469a61
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:163 +0x45
goroutine 6 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000072750 sp=0xc000072730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0000727e0 sp=0xc000072750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000727e8 sp=0xc0000727e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 7 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000072f50 sp=0xc000072f30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc000072fe0 sp=0xc000072f50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000072fe8 sp=0xc000072fe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 18 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006c750 sp=0xc00006c730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006c7e0 sp=0xc00006c750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006c7e8 sp=0xc00006c7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 34 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000508750 sp=0xc000508730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0005087e0 sp=0xc000508750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005087e8 sp=0xc0005087e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 19 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006cf50 sp=0xc00006cf30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006cfe0 sp=0xc00006cf50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006cfe8 sp=0xc00006cfe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 35 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000508f50 sp=0xc000508f30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc000508fe0 sp=0xc000508f50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000508fe8 sp=0xc000508fe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 20 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006d750 sp=0xc00006d730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006d7e0 sp=0xc00006d750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006d7e8 sp=0xc00006d7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 36 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000509750 sp=0xc000509730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0005097e0 sp=0xc000509750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005097e8 sp=0xc0005097e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 21 [GC worker (idle), 5 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006df50 sp=0xc00006df30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006dfe0 sp=0xc00006df50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 37 [GC worker (idle)]:
runtime.gopark(0x77350fe2f81?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000509f50 sp=0xc000509f30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc000509fe0 sp=0xc000509f50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000509fe8 sp=0xc000509fe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 22 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68ef8498?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006e750 sp=0xc00006e730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006e7e0 sp=0xc00006e750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006e7e8 sp=0xc00006e7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 38 [GC worker (idle), 3 minutes]:
runtime.gopark(0x77350fda2d8?, 0x1?, 0xc2?, 0x2e?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00050a750 sp=0xc00050a730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00050a7e0 sp=0xc00050a750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050a7e8 sp=0xc00050a7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 23 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68ef86f4?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006ef50 sp=0xc00006ef30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006efe0 sp=0xc00006ef50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 39 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68f282a5?, 0x1?, 0xb3?, 0x59?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00050af50 sp=0xc00050af30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00050afe0 sp=0xc00050af50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050afe8 sp=0xc00050afe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 24 [GC worker (idle)]:
runtime.gopark(0x105a920?, 0x1?, 0x70?, 0xbf?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006f750 sp=0xc00006f730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006f7e0 sp=0xc00006f750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006f7e8 sp=0xc00006f7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 40 [GC worker (idle), 3 minutes]:
runtime.gopark(0x77350fdaa0a?, 0x1?, 0x42?, 0xb6?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00050b750 sp=0xc00050b730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00050b7e0 sp=0xc00050b750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050b7e8 sp=0xc00050b7e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 25 [GC worker (idle), 3 minutes]:
runtime.gopark(0x77350fe2942?, 0x1?, 0x3e?, 0x1b?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00006ff50 sp=0xc00006ff30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 41 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68ef7852?, 0x1?, 0x87?, 0x27?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00050bf50 sp=0xc00050bf30 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc00050bfe0 sp=0xc00050bf50 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050bfe8 sp=0xc00050bfe0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 26 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68ef7d13?, 0x1?, 0xcd?, 0x5a?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000504750 sp=0xc000504730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0005047e0 sp=0xc000504750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005047e8 sp=0xc0005047e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 42 [GC worker (idle), 5 minutes]:
runtime.gopark(0x73b68f286fc?, 0x1?, 0x85?, 0xfa?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000510750 sp=0xc000510730 pc=0x43a296
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1275 +0xf1 fp=0xc0005107e0 sp=0xc000510750 pc=0x41d4d1
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005107e8 sp=0xc0005107e0 pc=0x469a61
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
goroutine 66 [select, 5 minutes]:
runtime.gopark(0xc00051a7a0?, 0x3?, 0x12?, 0xa6?, 0xc00051a6c2?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00051a510 sp=0xc00051a4f0 pc=0x43a296
runtime.selectgo(0xc00051a7a0, 0xc00051a6bc, 0x0?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc00051a650 sp=0xc00051a510 pc=0x449cde
github.com/shellhub-io/shellhub/pkg/agent.(*Agent).Ping(0xc000196280, {0xc2fac8, 0xc00002a040}, 0x0?)
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:614 +0x1a6 fp=0xc00051ace0 sp=0xc00051a650 pc=0x94f146
main.main.func1.2()
/go/src/github.com/shellhub-io/shellhub/agent/main.go:127 +0x57 fp=0xc00051afe0 sp=0xc00051ace0 pc=0x9ce577
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00051afe8 sp=0xc00051afe0 pc=0x469a61
created by main.main.func1
/go/src/github.com/shellhub-io/shellhub/agent/main.go:122 +0xa7b
goroutine 28 [IO wait, 5 minutes]:
runtime.gopark(0xc000083b18?, 0xb?, 0x0?, 0x0?, 0x6?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000083ab0 sp=0xc000083a90 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc000083ae8 sp=0xc000083ab0 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da85558, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc000083b08 sp=0xc000083ae8 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc00029bf00?, 0xc000110000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000083b30 sp=0xc000083b08 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc00029bf00, {0xc000110000, 0x1000, 0x1000})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc000083bc8 sp=0xc000083b30 pc=0x4a66d9
net.(*netFD).Read(0xc00029bf00, {0xc000110000?, 0x43a347?, 0xc000083c30?})
/usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc000083c10 sp=0xc000083bc8 pc=0x59e9c9
net.(*conn).Read(0xc000014a60, {0xc000110000?, 0x0?, 0xc0000061a0?})
/usr/local/go/src/net/net.go:183 +0x45 fp=0xc000083c58 sp=0xc000083c10 pc=0x5b0e65
net.(*UnixConn).Read(0xb15983?, {0xc000110000?, 0xc00043b560?, 0x17?})
:1 +0x29 fp=0xc000083c88 sp=0xc000083c58 pc=0x5c5969
net/http.(*persistConn).Read(0xc0000c0120, {0xc000110000?, 0xc0000a6a20?, 0xc000083d30?})
/usr/local/go/src/net/http/transport.go:1943 +0x4e fp=0xc000083ce8 sp=0xc000083c88 pc=0x7631ae
bufio.(*Reader).fill(0xc000026840)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc000083d20 sp=0xc000083ce8 pc=0x4cabdf
bufio.(*Reader).Peek(0xc000026840, 0x1)
/usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc000083d40 sp=0xc000083d20 pc=0x4cad3d
net/http.(*persistConn).readLoop(0xc0000c0120)
/usr/local/go/src/net/http/transport.go:2107 +0x1ac fp=0xc000083fc8 sp=0xc000083d40 pc=0x763fcc
net/http.(*Transport).dialConn.func5()
/usr/local/go/src/net/http/transport.go:1765 +0x26 fp=0xc000083fe0 sp=0xc000083fc8 pc=0x762766
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x469a61
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1765 +0x16ea
goroutine 29 [select, 5 minutes]:
runtime.gopark(0xc000085f90?, 0x2?, 0xf8?, 0x5d?, 0xc000085f34?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000085db0 sp=0xc000085d90 pc=0x43a296
runtime.selectgo(0xc000085f90, 0xc000085f30, 0xc0000a2040?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000085ef0 sp=0xc000085db0 pc=0x449cde
net/http.(*persistConn).writeLoop(0xc0000c0120)
/usr/local/go/src/net/http/transport.go:2410 +0xf2 fp=0xc000085fc8 sp=0xc000085ef0 pc=0x765c92
net/http.(*Transport).dialConn.func6()
/usr/local/go/src/net/http/transport.go:1766 +0x26 fp=0xc000085fe0 sp=0xc000085fc8 pc=0x762706
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x469a61
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1766 +0x173d
goroutine 79 [chan receive]:
runtime.gopark(0xa22580?, 0xc000080e38?, 0x48?, 0xaa?, 0xc00049e501?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000080e18 sp=0xc000080df8 pc=0x43a296
runtime.chanrecv(0xc00049e2a0, 0xc000080ee0, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc000080ea8 sp=0xc000080e18 pc=0x40943d
runtime.chanrecv2(0xc0001f2000?, 0x0?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc000080ed0 sp=0xc000080ea8 pc=0x408f78
golang.org/x/crypto/ssh.(*handshakeTransport).readPacket(0xc000786480)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:189 +0x39 fp=0xc000080f08 sp=0xc000080ed0 pc=0x8ab8d9
golang.org/x/crypto/ssh.(*mux).onePacket(0xc000434d20)
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:215 +0x30 fp=0xc000080f88 sp=0xc000080f08 pc=0x8bf610
golang.org/x/crypto/ssh.(*mux).loop(0xc000434d20)
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:190 +0x28 fp=0xc000080fc8 sp=0xc000080f88 pc=0x8bf4a8
golang.org/x/crypto/ssh.newMux.func1()
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:128 +0x26 fp=0xc000080fe0 sp=0xc000080fc8 pc=0x8bec06
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000080fe8 sp=0xc000080fe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newMux
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:128 +0x190
goroutine 67 [sleep, 5 minutes]:
runtime.gopark(0x738fe9fccc0?, 0x56a88f?, 0x70?, 0x40?, 0x4?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004a99d0 sp=0xc0004a99b0 pc=0x43a296
time.Sleep(0x4e94914f0000)
/usr/local/go/src/runtime/time.go:195 +0x135 fp=0xc0004a9a10 sp=0xc0004a99d0 pc=0x466855
main.main.func1.3()
/go/src/github.com/shellhub-io/shellhub/agent/main.go:201 +0xce fp=0xc0004a9fe0 sp=0xc0004a9a10 pc=0x9cd9ee
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004a9fe8 sp=0xc0004a9fe0 pc=0x469a61
created by main.main.func1
/go/src/github.com/shellhub-io/shellhub/agent/main.go:156 +0xe50
goroutine 68 [chan receive]:
runtime.gopark(0x4195ad?, 0x1053dd0?, 0x80?, 0xcb?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0000e3598 sp=0xc0000e3578 pc=0x43a296
runtime.chanrecv(0xc00049ed80, 0xc0000e36a8, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc0000e3628 sp=0xc0000e3598 pc=0x40943d
runtime.chanrecv2(0xc000418900?, 0x20?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc0000e3650 sp=0xc0000e3628 pc=0x408f78
github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).Accept(0xc0000a4140)
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:398 +0x34 fp=0xc0000e36c8 sp=0xc0000e3650 pc=0x89e3b4
net/http.(*onceCloseListener).Accept(0xc000632000?)
:1 +0x2a fp=0xc0000e36e0 sp=0xc0000e36c8 pc=0x7739aa
net/http.(*Server).Serve(0xc00061e1e0, {0xc2e7f0, 0xc0000a4140})
/usr/local/go/src/net/http/server.go:3059 +0x385 fp=0xc0000e3810 sp=0xc0000e36e0 pc=0x74f145
github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel.(*Tunnel).Listen(...)
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel/tunnel.go:88
github.com/shellhub-io/shellhub/pkg/agent.(*Agent).Listen.func1()
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:546 +0x919 fp=0xc0000e3fe0 sp=0xc0000e3810 pc=0x94e659
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000e3fe8 sp=0xc0000e3fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/agent.(*Agent).Listen
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:494 +0x54a
goroutine 14 [select]:
runtime.gopark(0xc000514f60?, 0x2?, 0xd8?, 0x4d?, 0xc000514f1c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000514d90 sp=0xc000514d70 pc=0x43a296
runtime.selectgo(0xc000514f60, 0xc000514f18, 0xc000026b40?, 0x0, 0x408860?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000514ed0 sp=0xc000514d90 pc=0x449cde
github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).run(0xc0000a4140)
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:342 +0x2d1 fp=0xc000514fc8 sp=0xc000514ed0 pc=0x89d531
github.com/shellhub-io/shellhub/pkg/revdial.NewListener.func1()
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:248 +0x26 fp=0xc000514fe0 sp=0xc000514fc8 pc=0x89d226
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000514fe8 sp=0xc000514fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/revdial.NewListener
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:248 +0x117
goroutine 165 [select]:
runtime.gopark(0xc00059bf98?, 0x2?, 0xd8?, 0xbd?, 0xc00059bf1c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00059bd90 sp=0xc00059bd70 pc=0x43a296
runtime.selectgo(0xc00059bf98, 0xc00059bf18, 0x431?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc00059bed0 sp=0xc00059bd90 pc=0x449cde
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0xc000786a80)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:270 +0x568 fp=0xc00059bfc8 sp=0xc00059bed0 pc=0x8ac2a8
golang.org/x/crypto/ssh.newServerTransport.func2()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x26 fp=0xc00059bfe0 sp=0xc00059bfc8 pc=0x8ab726
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00059bfe8 sp=0xc00059bfe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x136
goroutine 77 [IO wait]:
runtime.gopark(0xe78064c82b17364f?, 0xb?, 0x0?, 0x0?, 0x7?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0000863e0 sp=0xc0000863c0 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc000086418 sp=0xc0000863e0 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da85378, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc000086438 sp=0xc000086418 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc0000c4600?, 0xc00027a000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000086460 sp=0xc000086438 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000c4600, {0xc00027a000, 0x3000, 0x3000})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc0000864f8 sp=0xc000086460 pc=0x4a66d9
net.(*netFD).Read(0xc0000c4600, {0xc00027a000?, 0xc00027a041?, 0x37?})
/usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc000086540 sp=0xc0000864f8 pc=0x59e9c9
net.(*conn).Read(0xc000488000, {0xc00027a000?, 0x2c?, 0xc000302c30?})
/usr/local/go/src/net/net.go:183 +0x45 fp=0xc000086588 sp=0xc000086540 pc=0x5b0e65
net.(*TCPConn).Read(0xc000086620?, {0xc00027a000?, 0xc0001d82e8?, 0x18?})
:1 +0x29 fp=0xc0000865b8 sp=0xc000086588 pc=0x5c4ac9
crypto/tls.(*atLeastReader).Read(0xc0001d82e8, {0xc00027a000?, 0xc0001d82e8?, 0x0?})
/usr/local/go/src/crypto/tls/conn.go:788 +0x3d fp=0xc000086600 sp=0xc0000865b8 pc=0x698ffd
bytes.(*Buffer).ReadFrom(0xc000302d10, {0xc29b60, 0xc0001d82e8})
/usr/local/go/src/bytes/buffer.go:202 +0x98 fp=0xc000086658 sp=0xc000086600 pc=0x4bdb18
crypto/tls.(*Conn).readFromUntil(0xc000302a80, {0xc2a660?, 0xc000488000}, 0x2fc4?)
/usr/local/go/src/crypto/tls/conn.go:810 +0xe5 fp=0xc000086698 sp=0xc000086658 pc=0x6991e5
crypto/tls.(*Conn).readRecordOrCCS(0xc000302a80, 0x0)
/usr/local/go/src/crypto/tls/conn.go:617 +0x116 fp=0xc0000869f8 sp=0xc000086698 pc=0x6966d6
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:583
crypto/tls.(*Conn).Read(0xc000302a80, {0xc00016e000, 0x1000, 0xc00051df80?})
/usr/local/go/src/crypto/tls/conn.go:1316 +0x16f fp=0xc000086a68 sp=0xc0000869f8 pc=0x69c5cf
bufio.(*Reader).fill(0xc00051df80)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc000086aa0 sp=0xc000086a68 pc=0x4cabdf
bufio.(*Reader).Peek(0xc00051df80, 0x2)
/usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc000086ac0 sp=0xc000086aa0 pc=0x4cad3d
github.com/gorilla/websocket.(*Conn).read(0xc0000fa6e0, 0x7f6a0da85378?)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:371 +0x2c fp=0xc000086b18 sp=0xc000086ac0 pc=0x89370c
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0000fa6e0)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:809 +0x7b fp=0xc000086c08 sp=0xc000086b18 pc=0x89599b
github.com/gorilla/websocket.(*Conn).NextReader(0xc0000fa6e0)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1009 +0xcc fp=0xc000086c48 sp=0xc000086c08 pc=0x89698c
github.com/shellhub-io/shellhub/pkg/wsconnadapter.(*Adapter).Read(0xc000540660, {0xc0001af000, 0x1000, 0x1000})
/go/src/github.com/shellhub-io/shellhub/pkg/wsconnadapter/wsconnadapter.go:37 +0xd8 fp=0xc000086cd0 sp=0xc000086c48 pc=0x89c6d8
github.com/shellhub-io/shellhub/pkg/agent/server.(*sshConn).Read(0xc000086d80?, {0xc0001af000?, 0x0?, 0x10?})
:1 +0x2f fp=0xc000086d00 sp=0xc000086cd0 pc=0x93b12f
github.com/gliderlabs/ssh.(*serverConn).Read(0xc00042a300, {0xc0001af000, 0x1000, 0x1000})
/go/pkg/mod/github.com/shellhub-io/[email protected]/conn.go:28 +0x52 fp=0xc000086d50 sp=0xc000086d00 pc=0x8ce312
bufio.(*Reader).Read(0xc00049e180, {0xc00053e420, 0x4, 0xc0001fc000?})
/usr/local/go/src/bufio/bufio.go:237 +0x1bb fp=0xc000086d88 sp=0xc000086d50 pc=0x4cb1bb
io.ReadAtLeast({0xc29980, 0xc00049e180}, {0xc00053e420, 0x4, 0x4}, 0x4)
/usr/local/go/src/io/io.go:332 +0x9a fp=0xc000086dd0 sp=0xc000086d88 pc=0x49df9a
io.ReadFull(...)
/usr/local/go/src/io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0xc00053e410, 0x0?, {0xc29980, 0xc00049e180})
/go/pkg/mod/golang.org/x/[email protected]/ssh/cipher.go:373 +0x65 fp=0xc000086e68 sp=0xc000086dd0 pc=0x8a73a5
golang.org/x/crypto/ssh.(*connectionState).readPacket(0xc000184a20, 0x3?)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:131 +0x42 fp=0xc000086ee8 sp=0xc000086e68 pc=0x8c5d82
golang.org/x/crypto/ssh.(*transport).readPacket(0xc000184a20)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:115 +0x2c fp=0xc000086f08 sp=0xc000086ee8 pc=0x8c5cec
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0xc000786480, 0x0)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:377 +0x3d fp=0xc000086f88 sp=0xc000086f08 pc=0x8ac43d
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0xc000786480)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:199 +0x32 fp=0xc000086fc8 sp=0xc000086f88 pc=0x8ab972
golang.org/x/crypto/ssh.newServerTransport.func1()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0x26 fp=0xc000086fe0 sp=0xc000086fc8 pc=0x8ab786
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000086fe8 sp=0xc000086fe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0xf6
goroutine 82 [select]:
runtime.gopark(0xc000082fa8?, 0x2?, 0x30?, 0x0?, 0xc000082f6c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000082df0 sp=0xc000082dd0 pc=0x43a296
runtime.selectgo(0xc000082fa8, 0xc000082f68, 0x19?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000082f30 sp=0xc000082df0 pc=0x449cde
github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).run.func2()
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:296 +0xc5 fp=0xc000082fe0 sp=0xc000082f30 pc=0x89dae5
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000082fe8 sp=0xc000082fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).run
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:292 +0x15a
goroutine 83 [IO wait]:
runtime.gopark(0xc5762fff5760f5b?, 0xb?, 0x0?, 0x0?, 0x8?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0005174f0 sp=0xc0005174d0 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc000517528 sp=0xc0005174f0 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da85468, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc000517548 sp=0xc000517528 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc00029a280?, 0xc0002c9300?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000517570 sp=0xc000517548 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc00029a280, {0xc0002c9300, 0x1300, 0x1300})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc000517608 sp=0xc000517570 pc=0x4a66d9
net.(*netFD).Read(0xc00029a280, {0xc0002c9300?, 0xc0002c9305?, 0x91?})
/usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc000517650 sp=0xc000517608 pc=0x59e9c9
net.(*conn).Read(0xc0006440d0, {0xc0002c9300?, 0xc0005176c8?, 0x4defca?})
/usr/local/go/src/net/net.go:183 +0x45 fp=0xc000517698 sp=0xc000517650 pc=0x5b0e65
net.(*TCPConn).Read(0xc000517730?, {0xc0002c9300?, 0xc0001d8360?, 0x18?})
:1 +0x29 fp=0xc0005176c8 sp=0xc000517698 pc=0x5c4ac9
crypto/tls.(*atLeastReader).Read(0xc0001d8360, {0xc0002c9300?, 0xc0001d8360?, 0x0?})
/usr/local/go/src/crypto/tls/conn.go:788 +0x3d fp=0xc000517710 sp=0xc0005176c8 pc=0x698ffd
bytes.(*Buffer).ReadFrom(0xc000302610, {0xc29b60, 0xc0001d8360})
/usr/local/go/src/bytes/buffer.go:202 +0x98 fp=0xc000517768 sp=0xc000517710 pc=0x4bdb18
crypto/tls.(*Conn).readFromUntil(0xc000302380, {0xc2a660?, 0xc0006440d0}, 0x1300?)
/usr/local/go/src/crypto/tls/conn.go:810 +0xe5 fp=0xc0005177a8 sp=0xc000517768 pc=0x6991e5
crypto/tls.(*Conn).readRecordOrCCS(0xc000302380, 0x0)
/usr/local/go/src/crypto/tls/conn.go:617 +0x116 fp=0xc000517b08 sp=0xc0005177a8 pc=0x6966d6
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:583
crypto/tls.(*Conn).Read(0xc000302380, {0xc000593000, 0x1000, 0x7?})
/usr/local/go/src/crypto/tls/conn.go:1316 +0x16f fp=0xc000517b78 sp=0xc000517b08 pc=0x69c5cf
bufio.(*Reader).fill(0xc00049ed20)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc000517bb0 sp=0xc000517b78 pc=0x4cabdf
bufio.(*Reader).Peek(0xc00049ed20, 0x2)
/usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc000517bd0 sp=0xc000517bb0 pc=0x4cad3d
github.com/gorilla/websocket.(*Conn).read(0xc000494160, 0x0?)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:371 +0x2c fp=0xc000517c28 sp=0xc000517bd0 pc=0x89370c
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc000494160)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:809 +0x7b fp=0xc000517d18 sp=0xc000517c28 pc=0x89599b
github.com/gorilla/websocket.(*Conn).NextReader(0xc000494160)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1009 +0xcc fp=0xc000517d58 sp=0xc000517d18 pc=0x89698c
github.com/shellhub-io/shellhub/pkg/wsconnadapter.(*Adapter).Read(0xc00033c390, {0xc000784000, 0x1000, 0x1000})
/go/src/github.com/shellhub-io/shellhub/pkg/wsconnadapter/wsconnadapter.go:37 +0xd8 fp=0xc000517de0 sp=0xc000517d58 pc=0x89c6d8
bufio.(*Reader).fill(0xc000517f70)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc000517e18 sp=0xc000517de0 pc=0x4cabdf
bufio.(*Reader).ReadSlice(0xc000517f70, 0x19?)
/usr/local/go/src/bufio/bufio.go:372 +0x2f fp=0xc000517e68 sp=0xc000517e18 pc=0x4cb7cf
github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).run.func3()
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:316 +0x1bc fp=0xc000517fe0 sp=0xc000517e68 pc=0x89d77c
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000517fe8 sp=0xc000517fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/revdial.(*Listener).run
/go/src/github.com/shellhub-io/shellhub/pkg/revdial/revdial.go:310 +0x1b4
goroutine 80 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0005136a8 sp=0xc000513688 pc=0x43a296
runtime.chanrecv(0xc00049e660, 0xc000513798, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc000513738 sp=0xc0005136a8 pc=0x40943d
runtime.chanrecv2(0x0?, 0x0?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc000513760 sp=0xc000513738 pc=0x408f78
github.com/gliderlabs/ssh.(*Server).handleRequests(0xc000184fc0, {0xc32e60, 0xc0004e62d0}, 0x0?)
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:310 +0x49 fp=0xc0005137b0 sp=0xc000513760 pc=0x8d1309
github.com/gliderlabs/ssh.(*Server).HandleConn.func3()
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:295 +0x32 fp=0xc0005137e0 sp=0xc0005137b0 pc=0x8d11d2
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005137e8 sp=0xc0005137e0 pc=0x469a61
created by github.com/gliderlabs/ssh.(*Server).HandleConn
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:295 +0x370
goroutine 75 [chan receive]:
runtime.gopark(0xc00048a120?, 0xc2fb38?, 0x50?, 0xd?, 0xc0000df890?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0000df810 sp=0xc0000df7f0 pc=0x43a296
runtime.chanrecv(0xc00049e5a0, 0xc0000df958, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc0000df8a0 sp=0xc0000df810 pc=0x40943d
runtime.chanrecv2(0xa59800?, 0xc00033ccf0?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc0000df8c8 sp=0xc0000df8a0 pc=0x408f78
github.com/gliderlabs/ssh.(*Server).HandleConn(0xc000184fc0, {0xc32528, 0xc000540660})
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:296 +0x405 fp=0xc0000df9b0 sp=0xc0000df8c8 pc=0x8d0f05
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).HandleConn(...)
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/server.go:218
github.com/shellhub-io/shellhub/pkg/agent.connHandler.func1({0xc36c78, 0xc00035a140})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:389 +0x165 fp=0xc0000dfa20 sp=0xc0000df9b0 pc=0x94d285
github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel.NewTunnel.func6({0xc36c78?, 0xc00035a140?})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel/tunnel.go:77 +0x2b fp=0xc0000dfa40 sp=0xc0000dfa20 pc=0x89ed2b
github.com/labstack/echo/v4.(*Echo).add.func1({0xc36c78, 0xc00035a140})
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:582 +0x51 fp=0xc0000dfa70 sp=0xc0000dfa40 pc=0x884bb1
github.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc000244900, {0xc2f330?, 0xc00023e0e0}, 0xc00056e300)
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:669 +0x3d1 fp=0xc0000dfad0 sp=0xc0000dfa70 pc=0x885791
net/http.serverHandler.ServeHTTP({0xc000540720?}, {0xc2f330, 0xc00023e0e0}, 0xc00056e300)
/usr/local/go/src/net/http/server.go:2936 +0x316 fp=0xc0000dfb80 sp=0xc0000dfad0 pc=0x74ebd6
net/http.(*conn).serve(0xc000542120, {0xc2fb38, 0xc000540690})
/usr/local/go/src/net/http/server.go:1995 +0x612 fp=0xc0000dffb8 sp=0xc0000dfb80 pc=0x74a5b2
net/http.(*Server).Serve.func3()
/usr/local/go/src/net/http/server.go:3089 +0x2e fp=0xc0000dffe0 sp=0xc0000dffb8 pc=0x74f52e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000dffe8 sp=0xc0000dffe0 pc=0x469a61
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3089 +0x5ed
goroutine 78 [select]:
runtime.gopark(0xc00053bf98?, 0x2?, 0xd8?, 0xbd?, 0xc00053bf1c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc00053bd90 sp=0xc00053bd70 pc=0x43a296
runtime.selectgo(0xc00053bf98, 0xc00053bf18, 0x431?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc00053bed0 sp=0xc00053bd90 pc=0x449cde
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0xc000786480)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:270 +0x568 fp=0xc00053bfc8 sp=0xc00053bed0 pc=0x8ac2a8
golang.org/x/crypto/ssh.newServerTransport.func2()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x26 fp=0xc00053bfe0 sp=0xc00053bfc8 pc=0x8ab726
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00053bfe8 sp=0xc00053bfe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x136
goroutine 121 [chan receive]:
runtime.gopark(0xa2c420?, 0xa2c101?, 0xf0?, 0x7d?, 0xc000087e28?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000087da8 sp=0xc000087d88 pc=0x43a296
runtime.chanrecv(0xc000452480, 0xc000087ef0, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc000087e38 sp=0xc000087da8 pc=0x40943d
runtime.chanrecv2(0xc332d0?, 0xc0004f68f0?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc000087e60 sp=0xc000087e38 pc=0x408f78
github.com/gliderlabs/ssh.(*session).handleRequests(0xc0004f68f0, 0x0?)
/go/pkg/mod/github.com/shellhub-io/[email protected]/session.go:239 +0x5c fp=0xc000087f60 sp=0xc000087e60 pc=0x8d2f3c
github.com/gliderlabs/ssh.DefaultSessionHandler(0xc000184fc0, 0xc0004e66d8, {0xc2fe10?, 0xc0001f2000?}, {0xc32e60?, 0xc0004e62d0})
/go/pkg/mod/github.com/shellhub-io/[email protected]/session.go:106 +0x165 fp=0xc000087fa0 sp=0xc000087f60 pc=0x8d20c5
github.com/gliderlabs/ssh.(*Server).HandleConn.func4()
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:305 +0x3f fp=0xc000087fe0 sp=0xc000087fa0 pc=0x8d115f
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x469a61
created by github.com/gliderlabs/ssh.(*Server).HandleConn
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:305 +0x56a
goroutine 122 [syscall]:
syscall.Syscall6(0xc0004946e0?, 0xc0000a2520?, 0xc0004a5a6e?, 0xc0004a5b90?, 0x5ca32e?, 0xb21815?, 0x10?)
/usr/local/go/src/syscall/syscall_linux.go:91 +0x36 fp=0xc0004a5a00 sp=0xc0004a5978 pc=0x480896
os.(*Process).blockUntilWaitable(0xc00016c870)
/usr/local/go/src/os/wait_waitid.go:32 +0x87 fp=0xc0004a5ad8 sp=0xc0004a5a00 pc=0x4b83a7
os.(*Process).wait(0xc00016c870)
/usr/local/go/src/os/exec_unix.go:22 +0x28 fp=0xc0004a5b38 sp=0xc0004a5ad8 pc=0x4b1b28
os.(*Process).Wait(...)
/usr/local/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc0004946e0)
/usr/local/go/src/os/exec/exec.go:890 +0x45 fp=0xc0004a5ba0 sp=0xc0004a5b38 pc=0x5cade5
github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc(0xc0001d85b8, {0xc332d0, 0xc0004f68f0})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:168 +0x5d7 fp=0xc0004a5f00 sp=0xc0004a5ba0 pc=0x9352f7
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).sessionHandler(0xc00035a1e0, {0xc332d0?, 0xc0004f68f0})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/session.go:69 +0x252 fp=0xc0004a5f90 sp=0xc0004a5f00 pc=0x93ac52
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).sessionHandler-fm({0xc332d0?, 0xc0004f68f0?})
:1 +0x39 fp=0xc0004a5fb8 sp=0xc0004a5f90 pc=0x93b979
github.com/gliderlabs/ssh.(*session).handleRequests.func1()
/go/pkg/mod/github.com/shellhub-io/[email protected]/session.go:263 +0x2d fp=0xc0004a5fe0 sp=0xc0004a5fb8 pc=0x8d3ded
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004a5fe8 sp=0xc0004a5fe0 pc=0x469a61
created by github.com/gliderlabs/ssh.(*session).handleRequests
/go/pkg/mod/github.com/shellhub-io/[email protected]/session.go:262 +0x51c
goroutine 123 [select]:
runtime.gopark(0xc0002e3e40?, 0x2?, 0x40?, 0xae?, 0xc0002e3de4?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0002e3c58 sp=0xc0002e3c38 pc=0x43a296
runtime.selectgo(0xc0002e3e40, 0xc0002e3de0, 0xc0002e3e20?, 0x0, 0xc2ca88?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc0002e3d98 sp=0xc0002e3c58 pc=0x449cde
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).startKeepAliveLoop(0xc332d0?, {0xc332d0, 0xc0004f68f0})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/server.go:175 +0x21a fp=0xc0002e3fb8 sp=0xc0002e3d98 pc=0x93a57a
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).sessionHandler.func1()
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/session.go:54 +0x2e fp=0xc0002e3fe0 sp=0xc0002e3fb8 pc=0x93ad2e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0002e3fe8 sp=0xc0002e3fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).sessionHandler
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/session.go:54 +0xfb
goroutine 124 [sync.Cond.Wait]:
runtime.gopark(0x43a347?, 0xc0005066d8?, 0xf8?, 0x66?, 0x8c5cec?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0005066c8 sp=0xc0005066a8 pc=0x43a296
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:387
sync.runtime_notifyListWait(0xc00042a4d0, 0x0)
/usr/local/go/src/runtime/sema.go:527 +0x14c fp=0xc000506710 sp=0xc0005066c8 pc=0x46600c
sync.(*Cond).Wait(0xc000506768?)
/usr/local/go/src/sync/cond.go:70 +0x8c fp=0xc000506748 sp=0xc000506710 pc=0x47254c
golang.org/x/crypto/ssh.(*mux).Wait(0xc000434d20)
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:110 +0x99 fp=0xc000506798 sp=0xc000506748 pc=0x8be939
golang.org/x/crypto/ssh.(*connection).Wait(0x0?)
:1 +0x26 fp=0xc0005067b0 sp=0xc000506798 pc=0x8ca2c6
github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc.func1()
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:136 +0x2e fp=0xc0005067e0 sp=0xc0005067b0 pc=0x93594e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0005067e8 sp=0xc0005067e0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:135 +0x185
goroutine 125 [sync.Cond.Wait]:
runtime.gopark(0x40fdaa?, 0x7f6a34e583c8?, 0x0?, 0x0?, 0x1?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0000ddbe8 sp=0xc0000ddbc8 pc=0x43a296
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:387
sync.runtime_notifyListWait(0xc0000a2190, 0x8)
/usr/local/go/src/runtime/sema.go:527 +0x14c fp=0xc0000ddc30 sp=0xc0000ddbe8 pc=0x46600c
sync.(*Cond).Wait(0x4a8aa3?)
/usr/local/go/src/sync/cond.go:70 +0x8c fp=0xc0000ddc68 sp=0xc0000ddc30 pc=0x47254c
golang.org/x/crypto/ssh.(*buffer).Read(0xc0003da160, {0xc000324000, 0x8000, 0x8000})
/go/pkg/mod/golang.org/x/[email protected]/ssh/buffer.go:94 +0x211 fp=0xc0000ddcf0 sp=0xc0000ddc68 pc=0x8a11f1
golang.org/x/crypto/ssh.(*channel).ReadExtended(0xc0001f2000, {0xc000324000?, 0x8000?, 0x0?}, 0x0?)
/go/pkg/mod/golang.org/x/[email protected]/ssh/channel.go:351 +0x99 fp=0xc0000ddd50 sp=0xc0000ddcf0 pc=0x8a44f9
golang.org/x/crypto/ssh.(*channel).Read(0xc000014178?, {0xc000324000?, 0x3e98?, 0xc00047c001?})
/go/pkg/mod/golang.org/x/[email protected]/ssh/channel.go:528 +0x26 fp=0xc0000ddd88 sp=0xc0000ddd50 pc=0x8a5426
github.com/gliderlabs/ssh.(*session).Read(0x0?, {0xc000324000?, 0xc00047c090?, 0x10?})
:1 +0x30 fp=0xc0000dddb8 sp=0xc0000ddd88 pc=0x8d5d90
io.copyBuffer({0xc2bae0, 0xc00047c090}, {0x7f6a0d923fc8, 0xc0004f68f0}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:427 +0x1b2 fp=0xc0000dde38 sp=0xc0000dddb8 pc=0x49e452
io.Copy(...)
/usr/local/go/src/io/io.go:386
os.genericReadFrom(0xa419c0?, {0x7f6a0d923fc8, 0xc0004f68f0})
/usr/local/go/src/os/file.go:161 +0x67 fp=0xc0000dde90 sp=0xc0000dde38 pc=0x4b2927
os.(*File).ReadFrom(0xc000014178, {0x7f6a0d923fc8, 0xc0004f68f0})
/usr/local/go/src/os/file.go:155 +0x1b0 fp=0xc0000ddee0 sp=0xc0000dde90 pc=0x4b2870
io.copyBuffer({0xc2aaa0, 0xc000014178}, {0x7f6a0d923fc8, 0xc0004f68f0}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:413 +0x14b fp=0xc0000ddf60 sp=0xc0000ddee0 pc=0x49e3eb
io.Copy(...)
/usr/local/go/src/io/io.go:386
github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc.func2()
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:154 +0x7d fp=0xc0000ddfe0 sp=0xc0000ddf60 pc=0x9358bd
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000ddfe8 sp=0xc0000ddfe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:153 +0x525
goroutine 126 [IO wait]:
runtime.gopark(0x1b?, 0xb?, 0x0?, 0x0?, 0x9?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004a7c10 sp=0xc0004a7bf0 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc0004a7c48 sp=0xc0004a7c10 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da85288, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc0004a7c68 sp=0xc0004a7c48 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc0004526c0?, 0xc0004b2000?, 0x1)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0004a7c90 sp=0xc0004a7c68 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0004526c0, {0xc0004b2000, 0x8000, 0x8000})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc0004a7d28 sp=0xc0004a7c90 pc=0x4a66d9
os.(*File).read(...)
/usr/local/go/src/os/file_posix.go:31
os.(*File).Read(0xc000014160, {0xc0004b2000?, 0xc0004f68f0?, 0x0?})
/usr/local/go/src/os/file.go:118 +0x5e fp=0xc0004a7d80 sp=0xc0004a7d28 pc=0x4b221e
io.copyBuffer({0x7f6a0da8e140, 0xc0004f68f0}, {0xc2aa40, 0xc000014160}, {0xc0004b2000, 0x8000, 0x8000})
/usr/local/go/src/io/io.go:427 +0x1b2 fp=0xc0004a7e00 sp=0xc0004a7d80 pc=0x49e452
io.(*multiReader).writeToWithBuffer(0xc0004e6750, {0x7f6a0da8e140, 0xc0004f68f0}, {0xc0004b2000, 0x8000, 0x8000})
/usr/local/go/src/io/multi.go:54 +0xe5 fp=0xc0004a7e68 sp=0xc0004a7e00 pc=0x49f305
io.(*multiReader).WriteTo(0xc000507ef8?, {0x7f6a0da8e140, 0xc0004f68f0})
/usr/local/go/src/io/multi.go:45 +0x56 fp=0xc0004a7eb0 sp=0xc0004a7e68 pc=0x49f1d6
io.copyBuffer({0x7f6a0da8e140, 0xc0004f68f0}, {0xc2a4c0, 0xc0004e6750}, {0x0, 0x0, 0x0})
/usr/local/go/src/io/io.go:409 +0x16e fp=0xc0004a7f30 sp=0xc0004a7eb0 pc=0x49e40e
io.Copy(...)
/usr/local/go/src/io/io.go:386
github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc.func3()
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:163 +0x145 fp=0xc0004a7fe0 sp=0xc0004a7f30 pc=0x9357e5
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004a7fe8 sp=0xc0004a7fe0 pc=0x469a61
created by github.com/shellhub-io/shellhub/pkg/agent/server/modes/host.(*Sessioner).Heredoc
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/modes/host/sessioner.go:161 +0x5cd
goroutine 162 [chan receive]:
runtime.gopark(0x54c1b4?, 0xc2fb38?, 0xc0?, 0x1b?, 0xc0004a3890?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0004a3810 sp=0xc0004a37f0 pc=0x43a296
runtime.chanrecv(0xc000694000, 0xc0004a3958, 0x1)
/usr/local/go/src/runtime/chan.go:583 +0x49d fp=0xc0004a38a0 sp=0xc0004a3810 pc=0x40943d
runtime.chanrecv2(0xc32e60?, 0xc0004e6b28?)
/usr/local/go/src/runtime/chan.go:447 +0x18 fp=0xc0004a38c8 sp=0xc0004a38a0 pc=0x408f78
github.com/gliderlabs/ssh.(*Server).HandleConn(0xc000184fc0, {0xc32528, 0xc0001791a0})
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:296 +0x405 fp=0xc0004a39b0 sp=0xc0004a38c8 pc=0x8d0f05
github.com/shellhub-io/shellhub/pkg/agent/server.(*Server).HandleConn(...)
/go/src/github.com/shellhub-io/shellhub/pkg/agent/server/server.go:218
github.com/shellhub-io/shellhub/pkg/agent.connHandler.func1({0xc36c78, 0xc00035a460})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/agent.go:389 +0x165 fp=0xc0004a3a20 sp=0xc0004a39b0 pc=0x94d285
github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel.NewTunnel.func6({0xc36c78?, 0xc00035a460?})
/go/src/github.com/shellhub-io/shellhub/pkg/agent/pkg/tunnel/tunnel.go:77 +0x2b fp=0xc0004a3a40 sp=0xc0004a3a20 pc=0x89ed2b
github.com/labstack/echo/v4.(*Echo).add.func1({0xc36c78, 0xc00035a460})
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:582 +0x51 fp=0xc0004a3a70 sp=0xc0004a3a40 pc=0x884bb1
github.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc000244900, {0xc2f330?, 0xc00023e1c0}, 0xc00056e700)
/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:669 +0x3d1 fp=0xc0004a3ad0 sp=0xc0004a3a70 pc=0x885791
net/http.serverHandler.ServeHTTP({0xc000179260?}, {0xc2f330, 0xc00023e1c0}, 0xc00056e700)
/usr/local/go/src/net/http/server.go:2936 +0x316 fp=0xc0004a3b80 sp=0xc0004a3ad0 pc=0x74ebd6
net/http.(*conn).serve(0xc000543dd0, {0xc2fb38, 0xc0001791d0})
/usr/local/go/src/net/http/server.go:1995 +0x612 fp=0xc0004a3fb8 sp=0xc0004a3b80 pc=0x74a5b2
net/http.(*Server).Serve.func3()
/usr/local/go/src/net/http/server.go:3089 +0x2e fp=0xc0004a3fe0 sp=0xc0004a3fb8 pc=0x74f52e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0004a3fe8 sp=0xc0004a3fe0 pc=0x469a61
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3089 +0x5ed
goroutine 164 [IO wait]:
runtime.gopark(0x5fb217?, 0xb?, 0x0?, 0x0?, 0xb?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0002df3e0 sp=0xc0002df3c0 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc0002df418 sp=0xc0002df3e0 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da850a8, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc0002df438 sp=0xc0002df418 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc0000c4700?, 0xc0004aa000?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0002df460 sp=0xc0002df438 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000c4700, {0xc0004aa000, 0x1300, 0x1300})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc0002df4f8 sp=0xc0002df460 pc=0x4a66d9
net.(*netFD).Read(0xc0000c4700, {0xc0004aa000?, 0xc0004aa005?, 0x67?})
/usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc0002df540 sp=0xc0002df4f8 pc=0x59e9c9
net.(*conn).Read(0xc000014238, {0xc0004aa000?, 0x8?, 0xc0004ffdb0?})
/usr/local/go/src/net/net.go:183 +0x45 fp=0xc0002df588 sp=0xc0002df540 pc=0x5b0e65
net.(*TCPConn).Read(0xc0002df620?, {0xc0004aa000?, 0xc000702b58?, 0x18?})
:1 +0x29 fp=0xc0002df5b8 sp=0xc0002df588 pc=0x5c4ac9
crypto/tls.(*atLeastReader).Read(0xc000702b58, {0xc0004aa000?, 0xc000702b58?, 0x0?})
/usr/local/go/src/crypto/tls/conn.go:788 +0x3d fp=0xc0002df600 sp=0xc0002df5b8 pc=0x698ffd
bytes.(*Buffer).ReadFrom(0xc0004ffe90, {0xc29b60, 0xc000702b58})
/usr/local/go/src/bytes/buffer.go:202 +0x98 fp=0xc0002df658 sp=0xc0002df600 pc=0x4bdb18
crypto/tls.(*Conn).readFromUntil(0xc0004ffc00, {0xc2a660?, 0xc000014238}, 0x1300?)
/usr/local/go/src/crypto/tls/conn.go:810 +0xe5 fp=0xc0002df698 sp=0xc0002df658 pc=0x6991e5
crypto/tls.(*Conn).readRecordOrCCS(0xc0004ffc00, 0x0)
/usr/local/go/src/crypto/tls/conn.go:617 +0x116 fp=0xc0002df9f8 sp=0xc0002df698 pc=0x6966d6
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:583
crypto/tls.(*Conn).Read(0xc0004ffc00, {0xc0002a5000, 0x1000, 0xc0002dfaa0?})
/usr/local/go/src/crypto/tls/conn.go:1316 +0x16f fp=0xc0002dfa68 sp=0xc0002df9f8 pc=0x69c5cf
bufio.(*Reader).fill(0xc0004eaa20)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc0002dfaa0 sp=0xc0002dfa68 pc=0x4cabdf
bufio.(*Reader).Peek(0xc0004eaa20, 0x2)
/usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc0002dfac0 sp=0xc0002dfaa0 pc=0x4cad3d
github.com/gorilla/websocket.(*Conn).read(0xc000494b00, 0x7f6a0da850a8?)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:371 +0x2c fp=0xc0002dfb18 sp=0xc0002dfac0 pc=0x89370c
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc000494b00)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:809 +0x7b fp=0xc0002dfc08 sp=0xc0002dfb18 pc=0x89599b
github.com/gorilla/websocket.(*Conn).NextReader(0xc000494b00)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1009 +0xcc fp=0xc0002dfc48 sp=0xc0002dfc08 pc=0x89698c
github.com/shellhub-io/shellhub/pkg/wsconnadapter.(*Adapter).Read(0xc0001791a0, {0xc000619000, 0x1000, 0x1000})
/go/src/github.com/shellhub-io/shellhub/pkg/wsconnadapter/wsconnadapter.go:37 +0xd8 fp=0xc0002dfcd0 sp=0xc0002dfc48 pc=0x89c6d8
github.com/shellhub-io/shellhub/pkg/agent/server.(*sshConn).Read(0xc0002dfd80?, {0xc000619000?, 0x0?, 0x40?})
:1 +0x2f fp=0xc0002dfd00 sp=0xc0002dfcd0 pc=0x93b12f
github.com/gliderlabs/ssh.(*serverConn).Read(0xc00042a680, {0xc000619000, 0x1000, 0x1000})
/go/pkg/mod/github.com/shellhub-io/[email protected]/conn.go:28 +0x52 fp=0xc0002dfd50 sp=0xc0002dfd00 pc=0x8ce312
bufio.(*Reader).Read(0xc00048a840, {0xc00053ea60, 0x4, 0xc000028460?})
/usr/local/go/src/bufio/bufio.go:237 +0x1bb fp=0xc0002dfd88 sp=0xc0002dfd50 pc=0x4cb1bb
io.ReadAtLeast({0xc29980, 0xc00048a840}, {0xc00053ea60, 0x4, 0x4}, 0x4)
/usr/local/go/src/io/io.go:332 +0x9a fp=0xc0002dfdd0 sp=0xc0002dfd88 pc=0x49df9a
io.ReadFull(...)
/usr/local/go/src/io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0xc00053ea50, 0x2dfe78?, {0xc29980, 0xc00048a840})
/go/pkg/mod/golang.org/x/[email protected]/ssh/cipher.go:373 +0x65 fp=0xc0002dfe68 sp=0xc0002dfdd0 pc=0x8a73a5
golang.org/x/crypto/ssh.(*connectionState).readPacket(0xc000185200, 0x3?)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:131 +0x42 fp=0xc0002dfee8 sp=0xc0002dfe68 pc=0x8c5d82
golang.org/x/crypto/ssh.(*transport).readPacket(0xc000185200)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:115 +0x2c fp=0xc0002dff08 sp=0xc0002dfee8 pc=0x8c5cec
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0xc000786a80, 0x0)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:377 +0x3d fp=0xc0002dff88 sp=0xc0002dff08 pc=0x8ac43d
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0xc000786a80)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:199 +0x32 fp=0xc0002dffc8 sp=0xc0002dff88 pc=0x8ab972
golang.org/x/crypto/ssh.newServerTransport.func1()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0x26 fp=0xc0002dffe0 sp=0xc0002dffc8 pc=0x8ab786
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0002dffe8 sp=0xc0002dffe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0xf6
goroutine 168 [IO wait]:
runtime.gopark(0x5fb217?, 0xb?, 0x0?, 0x0?, 0xa?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc0002e03e0 sp=0xc0002e03c0 pc=0x43a296
runtime.netpollblock(0x47e4c5?, 0x405d0f?, 0x0?)
/usr/local/go/src/runtime/netpoll.go:527 +0xf7 fp=0xc0002e0418 sp=0xc0002e03e0 pc=0x432bf7
internal/poll.runtime_pollWait(0x7f6a0da84dd8, 0x72)
/usr/local/go/src/runtime/netpoll.go:306 +0x89 fp=0xc0002e0438 sp=0xc0002e0418 pc=0x463e49
internal/poll.(*pollDesc).wait(0xc0000d6300?, 0xc000273300?, 0x0)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0002e0460 sp=0xc0002e0438 pc=0x4a52f2
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000d6300, {0xc000273300, 0x1300, 0x1300})
/usr/local/go/src/internal/poll/fd_unix.go:167 +0x299 fp=0xc0002e04f8 sp=0xc0002e0460 pc=0x4a66d9
net.(*netFD).Read(0xc0000d6300, {0xc000273300?, 0xc000273305?, 0x67?})
/usr/local/go/src/net/fd_posix.go:55 +0x29 fp=0xc0002e0540 sp=0xc0002e04f8 pc=0x59e9c9
net.(*conn).Read(0xc0004880c0, {0xc000273300?, 0x8?, 0xc0003036b0?})
/usr/local/go/src/net/net.go:183 +0x45 fp=0xc0002e0588 sp=0xc0002e0540 pc=0x5b0e65
net.(*TCPConn).Read(0xc0002e0620?, {0xc000273300?, 0xc0004e70b0?, 0x18?})
:1 +0x29 fp=0xc0002e05b8 sp=0xc0002e0588 pc=0x5c4ac9
crypto/tls.(*atLeastReader).Read(0xc0004e70b0, {0xc000273300?, 0xc0004e70b0?, 0x0?})
/usr/local/go/src/crypto/tls/conn.go:788 +0x3d fp=0xc0002e0600 sp=0xc0002e05b8 pc=0x698ffd
bytes.(*Buffer).ReadFrom(0xc000303790, {0xc29b60, 0xc0004e70b0})
/usr/local/go/src/bytes/buffer.go:202 +0x98 fp=0xc0002e0658 sp=0xc0002e0600 pc=0x4bdb18
crypto/tls.(*Conn).readFromUntil(0xc000303500, {0xc2a660?, 0xc0004880c0}, 0x1300?)
/usr/local/go/src/crypto/tls/conn.go:810 +0xe5 fp=0xc0002e0698 sp=0xc0002e0658 pc=0x6991e5
crypto/tls.(*Conn).readRecordOrCCS(0xc000303500, 0x0)
/usr/local/go/src/crypto/tls/conn.go:617 +0x116 fp=0xc0002e09f8 sp=0xc0002e0698 pc=0x6966d6
crypto/tls.(*Conn).readRecord(...)
/usr/local/go/src/crypto/tls/conn.go:583
crypto/tls.(*Conn).Read(0xc000303500, {0xc000614000, 0x1000, 0xc0002e0aa0?})
/usr/local/go/src/crypto/tls/conn.go:1316 +0x16f fp=0xc0002e0a68 sp=0xc0002e09f8 pc=0x69c5cf
bufio.(*Reader).fill(0xc00048a720)
/usr/local/go/src/bufio/bufio.go:106 +0xff fp=0xc0002e0aa0 sp=0xc0002e0a68 pc=0x4cabdf
bufio.(*Reader).Peek(0xc00048a720, 0x2)
/usr/local/go/src/bufio/bufio.go:144 +0x5d fp=0xc0002e0ac0 sp=0xc0002e0aa0 pc=0x4cad3d
github.com/gorilla/websocket.(*Conn).read(0xc0000fb080, 0x7f6a0da84dd8?)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:371 +0x2c fp=0xc0002e0b18 sp=0xc0002e0ac0 pc=0x89370c
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0000fb080)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:809 +0x7b fp=0xc0002e0c08 sp=0xc0002e0b18 pc=0x89599b
github.com/gorilla/websocket.(*Conn).NextReader(0xc0000fb080)
/go/pkg/mod/github.com/gorilla/[email protected]/conn.go:1009 +0xcc fp=0xc0002e0c48 sp=0xc0002e0c08 pc=0x89698c
github.com/shellhub-io/shellhub/pkg/wsconnadapter.(*Adapter).Read(0xc0001796b0, {0xc00066a000, 0x1000, 0x1000})
/go/src/github.com/shellhub-io/shellhub/pkg/wsconnadapter/wsconnadapter.go:37 +0xd8 fp=0xc0002e0cd0 sp=0xc0002e0c48 pc=0x89c6d8
github.com/shellhub-io/shellhub/pkg/agent/server.(*sshConn).Read(0xc0002e0d80?, {0xc00066a000?, 0x0?, 0x40?})
:1 +0x2f fp=0xc0002e0d00 sp=0xc0002e0cd0 pc=0x93b12f
github.com/gliderlabs/ssh.(*serverConn).Read(0xc00042a8c0, {0xc00066a000, 0x1000, 0x1000})
/go/pkg/mod/github.com/shellhub-io/[email protected]/conn.go:28 +0x52 fp=0xc0002e0d50 sp=0xc0002e0d00 pc=0x8ce312
bufio.(*Reader).Read(0xc00048aa80, {0xc00053ebf0, 0x4, 0xc0000160a0?})
/usr/local/go/src/bufio/bufio.go:237 +0x1bb fp=0xc0002e0d88 sp=0xc0002e0d50 pc=0x4cb1bb
io.ReadAtLeast({0xc29980, 0xc00048aa80}, {0xc00053ebf0, 0x4, 0x4}, 0x4)
/usr/local/go/src/io/io.go:332 +0x9a fp=0xc0002e0dd0 sp=0xc0002e0d88 pc=0x49df9a
io.ReadFull(...)
/usr/local/go/src/io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0xc00053ebe0, 0x2e0e78?, {0xc29980, 0xc00048aa80})
/go/pkg/mod/golang.org/x/[email protected]/ssh/cipher.go:373 +0x65 fp=0xc0002e0e68 sp=0xc0002e0dd0 pc=0x8a73a5
golang.org/x/crypto/ssh.(*connectionState).readPacket(0xc000185440, 0x3?)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:131 +0x42 fp=0xc0002e0ee8 sp=0xc0002e0e68 pc=0x8c5d82
golang.org/x/crypto/ssh.(*transport).readPacket(0xc000185440)
/go/pkg/mod/golang.org/x/[email protected]/ssh/transport.go:115 +0x2c fp=0xc0002e0f08 sp=0xc0002e0ee8 pc=0x8c5cec
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0xc000786d80, 0x0)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:377 +0x3d fp=0xc0002e0f88 sp=0xc0002e0f08 pc=0x8ac43d
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0xc000786d80)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:199 +0x32 fp=0xc0002e0fc8 sp=0xc0002e0f88 pc=0x8ab972
golang.org/x/crypto/ssh.newServerTransport.func1()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0x26 fp=0xc0002e0fe0 sp=0xc0002e0fc8 pc=0x8ab786
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0002e0fe8 sp=0xc0002e0fe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:144 +0xf6
goroutine 169 [select]:
runtime.gopark(0xc000675f98?, 0x2?, 0xd8?, 0x5d?, 0xc000675f1c?)
/usr/local/go/src/runtime/proc.go:381 +0xd6 fp=0xc000675d90 sp=0xc000675d70 pc=0x43a296
runtime.selectgo(0xc000675f98, 0xc000675f18, 0x431?, 0x0, 0x0?, 0x1)
/usr/local/go/src/runtime/select.go:327 +0x7be fp=0xc000675ed0 sp=0xc000675d90 pc=0x449cde
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0xc000786d80)
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:270 +0x568 fp=0xc000675fc8 sp=0xc000675ed0 pc=0x8ac2a8
golang.org/x/crypto/ssh.newServerTransport.func2()
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x26 fp=0xc000675fe0 sp=0xc000675fc8 pc=0x8ab726
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000675fe8 sp=0xc000675fe0 pc=0x469a61
created by golang.org/x/crypto/ssh.newServerTransport
/go/pkg/mod/golang.org/x/[email protected]/ssh/handshake.go:145 +0x136
goroutine 178 [runnable]:
golang.org/x/crypto/ssh.newMux.func1()
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:128 fp=0xc00050c7e0 sp=0xc00050c7d8 pc=0x8bebe0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050c7e8 sp=0xc00050c7e0 pc=0x469a61
created by golang.org/x/crypto/ssh.newMux
/go/pkg/mod/golang.org/x/[email protected]/ssh/mux.go:128 +0x190
goroutine 179 [runnable]:
github.com/gliderlabs/ssh.(*Server).HandleConn.func3()
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:295 fp=0xc00050cfe0 sp=0xc00050cfd8 pc=0x8d11a0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00050cfe8 sp=0xc00050cfe0 pc=0x469a61
created by github.com/gliderlabs/ssh.(*Server).HandleConn
/go/pkg/mod/github.com/shellhub-io/[email protected]/server.go:295 +0x370
Beta Was this translation helpful? Give feedback.
All reactions