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

pixlet login crashes after authorization #584

Open
josephlbarnett opened this issue Jan 19, 2023 · 4 comments
Open

pixlet login crashes after authorization #584

josephlbarnett opened this issue Jan 19, 2023 · 4 comments

Comments

@josephlbarnett
Copy link

running pixlet v0.24.0 on ubuntu 22.10.

pixlet login opens a login browser window, then doing oauth via google asks for permission, and then on granting permission the pixlet instance crashes and the session is not persisted:

pixlet login
We just opened your browser to visit:

https://login.tidbyt.com/oauth2/auth?<SNIP>

Gtk-Message: 15:23:16.779: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1f7560 pc=0x7ffa54233ad6]

runtime stack:
runtime.throw({0x117d592?, 0x353?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/panic.go:1047 +0x5d fp=0x7ffa56f8bfc8 sp=0x7ffa56f8bf98 pc=0x43783d
runtime.sigpanic()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/signal_unix.go:819 +0x369 fp=0x7ffa56f8c018 sp=0x7ffa56f8bfc8 pc=0x44d4e9

goroutine 52 [syscall]:
runtime.cgocall(0xe10d10, 0xc000572598)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/cgocall.go:158 +0x5c fp=0xc000572570 sp=0xc000572538 pc=0x40575c
net._C2func_getaddrinfo(0xc00079cb10, 0x0, 0xc0002a02a0, 0xc000b80028)
	_cgo_gotypes.go:94 +0x56 fp=0xc000572598 sp=0xc000572570 pc=0x5509d6
net.cgoLookupIPCNAME.func1({0xc00079cb10, 0x0?, 0x0?}, 0xc00079cae0?, 0x55583b?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:160 +0x9f fp=0xc0005725f0 sp=0xc000572598 pc=0x55227f
net.cgoLookupIPCNAME({0x1142479, 0x3}, {0xc00079cae0, 0x10})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:160 +0x173 fp=0xc000572738 sp=0xc0005725f0 pc=0x551ad3
net.cgoIPLookup(0x24f82d0?, {0x1142479?, 0xc00079caf8?}, {0xc00079cae0?, 0xc000b8a000?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:217 +0x3b fp=0xc0005727a8 sp=0xc000572738 pc=0x55233b
net.cgoLookupIP.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:227 +0x36 fp=0xc0005727e0 sp=0xc0005727a8 pc=0x552776
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0005727e8 sp=0xc0005727e0 pc=0x468481
created by net.cgoLookupIP
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:227 +0x12a

goroutine 1 [select]:
runtime.gopark(0xc0009cf060?, 0x4?, 0x18?, 0x0?, 0xc0009cef08?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc0009ced60 sp=0xc0009ced40 pc=0x43a456
runtime.selectgo(0xc0009cf060, 0xc0009cef00, 0xc0005e00c0?, 0x0, 0x0?, 0x1)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/select.go:328 +0x7bc fp=0xc0009ceea0 sp=0xc0009ced60 pc=0x4498bc
net/http.(*Transport).getConn(0x2399e80, 0xc0005ec040, {{}, 0x0, {0x11766b8, 0x5}, {0xc00079cae0, 0x14}, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1376 +0x5c6 fp=0xc0009cf0b8 sp=0xc0009ceea0 pc=0xa109e6
net/http.(*Transport).roundTrip(0x2399e80, 0xc0005fa100)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:582 +0x75e fp=0xc0009cf2e0 sp=0xc0009cf0b8 pc=0xa0c67e
net/http.(*Transport).RoundTrip(0x7ffa5894d000?, 0x1d0c7a0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/roundtrip.go:17 +0x19 fp=0xc0009cf300 sp=0xc0009cf2e0 pc=0x9f3db9
net/http.send(0xc0005fa100, {0x1d0c7a0, 0x2399e80}, {0x1121820?, 0x1?, 0x0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/client.go:251 +0x5f7 fp=0xc0009cf4f8 sp=0xc0009cf300 pc=0x9b0417
net/http.(*Client).send(0x24f8da0, 0xc0005fa100, {0x0?, 0x0?, 0x0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/client.go:175 +0x9b fp=0xc0009cf570 sp=0xc0009cf4f8 pc=0x9afc9b
net/http.(*Client).do(0x24f8da0, 0xc0005fa100)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/client.go:715 +0x8fc fp=0xc0009cf760 sp=0xc0009cf570 pc=0x9b201c
net/http.(*Client).Do(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/client.go:581
golang.org/x/net/context/ctxhttp.Do({0x1d14b28?, 0xc0000420e0}, 0x422f85?, 0xc0005fa000)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.5.0/context/ctxhttp/ctxhttp.go:27 +0xf2 fp=0xc0009cf7b8 sp=0xc0009cf760 pc=0xb22492
golang.org/x/oauth2/internal.doTokenRoundTrip({0x1d14b28, 0xc0000420e0}, 0x117501d?)
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/internal/token.go:232 +0x66 fp=0xc0009cf8c8 sp=0xc0009cf7b8 pc=0xb233e6
golang.org/x/oauth2/internal.RetrieveToken({0x1d14b28, 0xc0000420e0}, {0x117501d, 0x24}, {0x0, 0x0}, {0x11766b8, 0x25}, 0xc0002a0000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/internal/token.go:202 +0x10c fp=0xc0009cf940 sp=0xc0009cf8c8 pc=0xb231ac
golang.org/x/oauth2.retrieveToken({0x1d14b28?, 0xc0000420e0?}, 0x115411e?, 0xc?)
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/token.go:157 +0x4f fp=0xc0009cf9a8 sp=0xc0009cf940 pc=0xb25c6f
golang.org/x/oauth2.(*Config).Exchange(0x2398020, {0x1d14b28, 0xc0000420e0}, {0xc0001dd38b, 0x57}, {0xc0009cfa68, 0x1, 0x8?})
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/oauth2.go:224 +0x237 fp=0xc0009cfa10 sp=0xc0009cf9a8 pc=0xb24b57
golang.org/x/oauth2/authhandler.authHandlerSource.Token({{0x1d14b28, 0xc0000420e0}, 0x2398020, 0xc000432270, {0xc000b46300, 0x2b}, 0xc0004322a0})
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/authhandler/authhandler.go:93 +0x2a5 fp=0xc0009cfac8 sp=0xc0009cfa10 pc=0xd0ea45
golang.org/x/oauth2/authhandler.(*authHandlerSource).Token(0x24fa1a0?)
	<autogenerated>:1 +0x70 fp=0xc0009cfb48 sp=0xc0009cfac8 pc=0xd0eb70
golang.org/x/oauth2.(*reuseTokenSource).Token(0xc000b42440)
	/home/runner/go/pkg/mod/golang.org/x/oauth2@v0.4.0/oauth2.go:304 +0xd5 fp=0xc0009cfba0 sp=0xc0009cfb48 pc=0xb25295
tidbyt.dev/pixlet/cmd.login(0x239e160?, {0x1143307?, 0x0?, 0x0?})
	/home/runner/work/pixlet/pixlet/cmd/login.go:84 +0x4db fp=0xc0009cfd78 sp=0xc0009cfba0 pc=0xe0d3fb
github.com/spf13/cobra.(*Command).execute(0x239e160, {0x2531de8, 0x0, 0x0})
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x847 fp=0xc0009cfeb0 sp=0xc0009cfd78 pc=0x5b0507
github.com/spf13/cobra.(*Command).ExecuteC(0x239c780)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd fp=0xc0009cff68 sp=0xc0009cfeb0 pc=0x5b0d9d
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
main.main()
	/home/runner/work/pixlet/pixlet/main.go:37 +0x25 fp=0xc0009cff80 sp=0xc0009cff68 pc=0xe10c25
runtime.main()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:250 +0x212 fp=0xc0009cffe0 sp=0xc0009cff80 pc=0x43a092
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0009cffe8 sp=0xc0009cffe0 pc=0x468481

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000072fb0 sp=0xc000072f90 pc=0x43a456
runtime.goparkunlock(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:369
runtime.forcegchelper()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:302 +0xad fp=0xc000072fe0 sp=0xc000072fb0 pc=0x43a2ed
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000072fe8 sp=0xc000072fe0 pc=0x468481
created by runtime.init.6
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000073790 sp=0xc000073770 pc=0x43a456
runtime.goparkunlock(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc0000737c8 sp=0xc000073790 pc=0x426a77
runtime.gcenable.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:178 +0x26 fp=0xc0000737e0 sp=0xc0000737c8 pc=0x41b6e6
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000737e8 sp=0xc0000737e0 pc=0x468481
created by runtime.gcenable
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x3f757a6d653fd?, 0x2a5050?, 0x0?, 0x0?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000073f70 sp=0xc000073f50 pc=0x43a456
runtime.goparkunlock(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x24f94e0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc000073fa0 sp=0xc000073f70 pc=0x424ad3
runtime.bgscavenge(0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc000073fc8 sp=0xc000073fa0 pc=0x4250c5
runtime.gcenable.func2()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:179 +0x26 fp=0xc000073fe0 sp=0xc000073fc8 pc=0x41b686
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0x468481
created by runtime.gcenable
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x24fa1a0?, 0xc000007860?, 0x0?, 0x0?, 0xc000072770?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000072628 sp=0xc000072608 pc=0x43a456
runtime.goparkunlock(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:369
runtime.runfinq()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mfinal.go:180 +0x10f fp=0xc0000727e0 sp=0xc000072628 pc=0x41a7ef
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000727e8 sp=0xc0000727e0 pc=0x468481
created by runtime.createfing
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mfinal.go:157 +0x45

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000074750 sp=0xc000074730 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000747e0 sp=0xc000074750 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000747e8 sp=0xc0000747e0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 18 [GC worker (idle)]:
runtime.gopark(0x3f757a8afc748?, 0x3?, 0xb5?, 0x4a?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006e750 sp=0xc00006e730 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006e7e0 sp=0xc00006e750 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006e7e8 sp=0xc00006e7e0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 34 [GC worker (idle)]:
runtime.gopark(0x3f75aca2916f0?, 0x3?, 0x1a?, 0x35?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000574750 sp=0xc000574730 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0005747e0 sp=0xc000574750 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0005747e8 sp=0xc0005747e0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 19 [GC worker (idle)]:
runtime.gopark(0x3f75aca2bb18d?, 0x3?, 0x55?, 0x73?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006ef50 sp=0xc00006ef30 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006efe0 sp=0xc00006ef50 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x3f75aca2bb30a?, 0x1?, 0x12?, 0xf8?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000074f50 sp=0xc000074f30 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc000074fe0 sp=0xc000074f50 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000074fe8 sp=0xc000074fe0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 20 [GC worker (idle)]:
runtime.gopark(0x25331c0?, 0x1?, 0x1?, 0x9c?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006f750 sp=0xc00006f730 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006f7e0 sp=0xc00006f750 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006f7e8 sp=0xc00006f7e0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 8 [GC worker (idle)]:
runtime.gopark(0x3f75aca2e368c?, 0x3?, 0x2?, 0x81?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000075750 sp=0xc000075730 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000757e0 sp=0xc000075750 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000757e8 sp=0xc0000757e0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 21 [GC worker (idle)]:
runtime.gopark(0x25331c0?, 0x3?, 0x2?, 0x2f?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006ff50 sp=0xc00006ff30 pc=0x43a456
runtime.gcBgMarkWorker()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x41d831
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x468481
created by runtime.gcBgMarkStartWorkers
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/mgc.go:1159 +0x25

goroutine 9 [IO wait]:
runtime.gopark(0x200000003?, 0xc00056f380?, 0x0?, 0x20?, 0xc000083c90?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000083c20 sp=0xc000083c00 pc=0x43a456
runtime.netpollblock(0xc000083c70?, 0x2?, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000083c58 sp=0xc000083c20 pc=0x432ed7
internal/poll.runtime_pollWait(0x7ffa55f52718, 0x72)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000083c78 sp=0xc000083c58 pc=0x462e49
internal/poll.(*pollDesc).wait(0xc000b05880?, 0x6?, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000083ca0 sp=0xc000083c78 pc=0x49ee32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000b05880)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc000083d38 sp=0xc000083ca0 pc=0x4a40b4
net.(*netFD).accept(0xc000b05880)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/fd_unix.go:172 +0x35 fp=0xc000083df0 sp=0xc000083d38 pc=0x5341d5
net.(*TCPListener).accept(0xc000013248)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/tcpsock_posix.go:142 +0x28 fp=0xc000083e20 sp=0xc000083df0 pc=0x549f68
net.(*TCPListener).Accept(0xc000013248)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/tcpsock.go:288 +0x3d fp=0xc000083e50 sp=0xc000083e20 pc=0x54913d
net/http.(*onceCloseListener).Accept(0xc000b3f4a0?)
	<autogenerated>:1 +0x2a fp=0xc000083e68 sp=0xc000083e50 pc=0xa25cea
net/http.(*Server).Serve(0xc0001b70e0, {0x1d13ab0, 0xc000013248})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:3070 +0x385 fp=0xc000083f98 sp=0xc000083e68 pc=0xa009c5
net/http.(*Server).ListenAndServe(0xc0001b70e0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:2999 +0x7d fp=0xc000083fc8 sp=0xc000083f98 pc=0xa005fd
tidbyt.dev/pixlet/cmd.login.func2.1()
	/home/runner/work/pixlet/pixlet/cmd/login.go:53 +0x26 fp=0xc000083fe0 sp=0xc000083fc8 pc=0xe0da06
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x468481
created by tidbyt.dev/pixlet/cmd.login.func2
	/home/runner/work/pixlet/pixlet/cmd/login.go:53 +0x185

goroutine 12 [IO wait]:
runtime.gopark(0x7ffa58af0fff?, 0xb?, 0x0?, 0x0?, 0x7?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000427540 sp=0xc000427520 pc=0x43a456
runtime.netpollblock(0x47bf45?, 0x58af0fff?, 0xfa?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000427578 sp=0xc000427540 pc=0x432ed7
internal/poll.runtime_pollWait(0x7ffa55f52628, 0x72)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000427598 sp=0xc000427578 pc=0x462e49
internal/poll.(*pollDesc).wait(0xc000b05900?, 0xc000af1000?, 0x0)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0004275c0 sp=0xc000427598 pc=0x49ee32
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000b05900, {0xc000af1000, 0x1000, 0x1000})
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc000427640 sp=0xc0004275c0 pc=0x4a019a
net.(*netFD).Read(0xc000b05900, {0xc000af1000?, 0x8?, 0x400?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/fd_posix.go:55 +0x29 fp=0xc000427688 sp=0xc000427640 pc=0x5320c9
net.(*conn).Read(0xc000014e60, {0xc000af1000?, 0x400?, 0x400?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/net.go:183 +0x45 fp=0xc0004276d0 sp=0xc000427688 pc=0x540b25
net/http.(*connReader).Read(0xc000432cc0, {0xc000af1000, 0x1000, 0x1000})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:786 +0x171 fp=0xc000427720 sp=0xc0004276d0 pc=0x9f58f1
bufio.(*Reader).fill(0xc00009b260)
	/opt/hostedtoolcache/go/1.19.5/x64/src/bufio/bufio.go:106 +0xff fp=0xc000427758 sp=0xc000427720 pc=0x55667f
bufio.(*Reader).ReadSlice(0xc00009b260, 0x0?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/bufio/bufio.go:372 +0x2f fp=0xc0004277a8 sp=0xc000427758 pc=0x55726f
bufio.(*Reader).ReadLine(0xc00009b260)
	/opt/hostedtoolcache/go/1.19.5/x64/src/bufio/bufio.go:401 +0x27 fp=0xc0004277f8 sp=0xc0004277a8 pc=0x5574c7
net/textproto.(*Reader).readLineSlice(0xc000910000)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/textproto/reader.go:56 +0x99 fp=0xc0004278e8 sp=0xc0004277f8 pc=0x98f179
net/textproto.(*Reader).ReadLine(...)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/textproto/reader.go:37
net/http.readRequest(0xc000014e60?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/request.go:1036 +0x79 fp=0xc0004279f0 sp=0xc0004278e8 pc=0x9f0c79
net/http.(*conn).readRequest(0xc000b3f4a0, {0x1d14af0, 0xc000b2eb80})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:994 +0x24a fp=0xc000427b78 sp=0xc0004279f0 pc=0x9f6e8a
net/http.(*conn).serve(0xc000b3f4a0, {0x1d14b98, 0xc000432bd0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:1916 +0x345 fp=0xc000427fb8 sp=0xc000427b78 pc=0x9fb3c5
net/http.(*Server).Serve.func3()
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:3102 +0x2e fp=0xc000427fe0 sp=0xc000427fb8 pc=0xa00dae
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000427fe8 sp=0xc000427fe0 pc=0x468481
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:3102 +0x4db

goroutine 50 [select]:
runtime.gopark(0xc0004254d8?, 0x2?, 0xe0?, 0x52?, 0xc00042541c?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000425258 sp=0xc000425238 pc=0x43a456
runtime.selectgo(0xc0004254d8, 0xc000425418, 0x14?, 0x0, 0x0?, 0x1)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/select.go:328 +0x7bc fp=0xc000425398 sp=0xc000425258 pc=0x4498bc
net.(*Resolver).lookupIPAddr(0x24f82c0, {0x1d14b60?, 0xc000b8e1e0}, {0x1142479, 0x3}, {0xc00079cae0, 0x10})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/lookup.go:327 +0x51b fp=0xc0004255a8 sp=0xc000425398 pc=0x53effb
net.(*Resolver).internetAddrList(0x1d14b60?, {0x1d14b60?, 0xc000b8e1e0?}, {0x1142479, 0x3}, {0xc00079cae0?, 0x14?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/ipsock.go:288 +0x67a fp=0xc0004256c8 sp=0xc0004255a8 pc=0x53cdfa
net.(*Resolver).resolveAddrList(0x2531de8?, {0x1d14b60, 0xc000b8e1e0}, {0x11431c7, 0x4}, {0x1142479?, 0x0?}, {0xc00079cae0, 0x14}, {0x0, ...})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/dial.go:222 +0x41b fp=0xc0004257d0 sp=0xc0004256c8 pc=0x52749b
net.(*Dialer).DialContext(0xc00009a660, {0x1d14b28, 0xc0000420e0}, {0x1142479, 0x3}, {0xc00079cae0, 0x14})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/dial.go:410 +0x448 fp=0xc000425920 sp=0xc0004257d0 pc=0x528448
net.(*Dialer).DialContext-fm({0x1d14b28?, 0xc0000420e0?}, {0x1142479?, 0x415aa5?}, {0xc00079cae0?, 0xc000b97cd0?})
	<autogenerated>:1 +0x5b fp=0xc000425968 sp=0xc000425920 pc=0xa26cfb
net/http.(*Transport).dial(0x10cac20?, {0x1d14b28?, 0xc0000420e0?}, {0x1142479?, 0x0?}, {0xc00079cae0?, 0x0?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1170 +0xda fp=0xc0004259c0 sp=0xc000425968 pc=0xa0fcfa
net/http.(*Transport).dialConn(0x2399e80, {0x1d14b28, 0xc0000420e0}, {{}, 0x0, {0x11766b8, 0x5}, {0xc00079cae0, 0x14}, 0x0})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1608 +0x83f fp=0xc000425ed8 sp=0xc0004259c0 pc=0xa12ddf
net/http.(*Transport).dialConnFor(0x0?, 0xc000b8a000)
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1450 +0xb0 fp=0xc000425fc0 sp=0xc000425ed8 pc=0xa11670
net/http.(*Transport).queueForDial.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1419 +0x2a fp=0xc000425fe0 sp=0xc000425fc0 pc=0xa1158a
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000425fe8 sp=0xc000425fe0 pc=0x468481
created by net/http.(*Transport).queueForDial
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/transport.go:1419 +0x3f2

goroutine 51 [select]:
runtime.gopark(0xc000b97c28?, 0x2?, 0x0?, 0x30?, 0xc000b97c0c?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000b97a98 sp=0xc000b97a78 pc=0x43a456
runtime.selectgo(0xc000b97c28, 0xc000b97c08, 0x0?, 0x0, 0x0?, 0x1)
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/select.go:328 +0x7bc fp=0xc000b97bd8 sp=0xc000b97a98 pc=0x4498bc
net.cgoLookupIP({0x1d14af0, 0xc0005ec0c0}, {0x1142479, 0x3}, {0xc00079cae0, 0x10})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/cgo_unix.go:228 +0x1aa fp=0xc000b97cc8 sp=0xc000b97bd8 pc=0x55258a
net.(*Resolver).lookupIP(0x24f82c0, {0x1d14af0, 0xc0005ec0c0}, {0x1142479, 0x3}, {0xc00079cae0, 0x10})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/lookup_unix.go:74 +0x128 fp=0xc000b97e18 sp=0xc000b97cc8 pc=0x540428
net.(*Resolver).lookupIP-fm({0x1d14af0?, 0xc0005ec0c0?}, {0x1142479?, 0x0?}, {0xc00079cae0?, 0x0?})
	<autogenerated>:1 +0x5b fp=0xc000b97e60 sp=0xc000b97e18 pc=0x55583b
net.glob..func1({0x1d14af0?, 0xc0005ec0c0?}, 0x0?, {0x1142479?, 0x0?}, {0xc00079cae0?, 0xa11670?})
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/hook.go:23 +0x3d fp=0xc000b97ea0 sp=0xc000b97e60 pc=0x53471d
net.(*Resolver).lookupIPAddr.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/net/lookup.go:321 +0x9f fp=0xc000b97f38 sp=0xc000b97ea0 pc=0x53f89f
internal/singleflight.(*Group).doCall(0x24f82d0, 0xc000b98050, {0xc00079caf8, 0x14}, 0xc000b8a000?)
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/singleflight/singleflight.go:95 +0x3b fp=0xc000b97fa8 sp=0xc000b97f38 pc=0x52373b
internal/singleflight.(*Group).DoChan.func1()
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/singleflight/singleflight.go:88 +0x36 fp=0xc000b97fe0 sp=0xc000b97fa8 pc=0x5236d6
runtime.goexit()
	/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000b97fe8 sp=0xc000b97fe0 pc=0x468481
created by internal/singleflight.(*Group).DoChan
	/opt/hostedtoolcache/go/1.19.5/x64/src/internal/singleflight/singleflight.go:88 +0x315

@josephlbarnett
Copy link
Author

josephlbarnett commented Feb 28, 2023

it appears that building from the repo creates a dynamically linked binary that works, while the statically linked binary downloaded from the github releases has this issue. not sure why though!?

@Travisyard
Copy link

I can confirm I experience the same error with the static 0.26.0 binary on Fedora Workstation 38 logging in with my email address with Firefox.

@JonMontgo
Copy link

I am also having this issue on manjaro

@DMaroo
Copy link

DMaroo commented Aug 22, 2023

I am having a similar issue on Arch as well. Go version 1.21.0. I am using the AUR package: pixlet-bin.

Can confirm, building the source does not cause any crashes. Only the binary in the releases section does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants