Created
March 25, 2024 12:57
-
-
Save cardil/a3b8f220bdbaf3c91c2a2fdf315342bf to your computer and use it in GitHub Desktop.
NPE in spinner (executed at Github Actions)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc390f0] | |
goroutine 23 [running]: | |
github.com/charmbracelet/bubbletea.(*Program).ReleaseTerminal(0xc0001f0c30) | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:651 +0x30 | |
knative.dev/client-pkg/pkg/output/tui.(*BubbleSpinner).start.func1() | |
/home/runner/go/pkg/mod/knative.dev/client-pkg@v0.0.0-20240322171749-cf1573f93631/pkg/output/tui/spinner.go:87 +0x68 | |
created by knative.dev/client-pkg/pkg/output/tui.(*BubbleSpinner).start in goroutine 40 | |
/home/runner/go/pkg/mod/knative.dev/client-pkg@v0.0.0-20240322171749-cf1573f93631/pkg/output/tui/spinner.go:82 +0x385 | |
goroutine 1 [select]: | |
main.main.func14(0xc00032c030, 0x19b5958) | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:283 +0x1a5 | |
main.main() | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:457 +0x1962 | |
goroutine 34 [chan send]: | |
main.main.func14.1.1() | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:276 +0x3e | |
main.main.func14.1() | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:280 +0x94 | |
created by main.main.func14 in goroutine 1 | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:273 +0xca | |
goroutine 36 [syscall]: | |
os/signal.signal_recv() | |
/opt/hostedtoolcache/go/1.22.1/x64/src/runtime/sigqueue.go:152 +0x29 | |
os/signal.loop() | |
/opt/hostedtoolcache/go/1.22.1/x64/src/os/signal/signal_unix.go:23 +0x13 | |
created by os/signal.Notify.func1.1 in goroutine 1 | |
/opt/hostedtoolcache/go/1.22.1/x64/src/os/signal/signal.go:151 +0x1f | |
goroutine 37 [semacquire]: | |
sync.runtime_Semacquire(0xc000293840?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/runtime/sema.go:62 +0x25 | |
sync.(*WaitGroup).Wait(0x2813310?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/waitgroup.go:116 +0x48 | |
github.com/magefile/mage/mg.runDeps({0x1b9ad90, 0xc0002b64b0}, {0xc000121db0, 0x1, 0x9?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:124 +0x1b5 | |
github.com/magefile/mage/mg.CtxDeps({0x1b9ad90, 0xc0002b64b0}, {0xc000072748?, 0x162b480?, 0x1b7df60?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:89 +0x45 | |
github.com/wavesoftware/go-magetasks/pkg/targets.Deps({0x1b9ad90, 0xc0002b64b0}, {0xc000072748, 0x1, 0x1}) | |
/home/runner/work/go-magetasks/go-magetasks/pkg/targets/deps.go:14 +0x5b | |
github.com/wavesoftware/go-magetasks.Build({0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/work/go-magetasks/go-magetasks/build.go:19 +0x69 | |
main.main.func17({0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:455 +0x1d | |
main.main.func14.1() | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:278 +0x62 | |
created by main.main.func14 in goroutine 1 | |
/home/runner/work/go-magetasks/go-magetasks/tests/example/build/mage_output_file.go:273 +0xca | |
goroutine 38 [semacquire]: | |
sync.runtime_Semacquire(0xc000293900?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/runtime/sema.go:62 +0x25 | |
sync.(*WaitGroup).Wait(0x2813310?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/waitgroup.go:116 +0x48 | |
github.com/magefile/mage/mg.runDeps({0x1b9ad90, 0xc0002b64b0}, {0xc000121ea0, 0x1, 0x9?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:124 +0x1b5 | |
github.com/magefile/mage/mg.CtxDeps({0x1b9ad90, 0xc0002b64b0}, {0xc0003355d0?, 0x2?, 0x10?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:89 +0x45 | |
github.com/wavesoftware/go-magetasks/pkg/targets.Deps({0x1b9ad90, 0xc0002b64b0}, {0xc0003355d0, 0x1, 0x1}) | |
/home/runner/work/go-magetasks/go-magetasks/pkg/targets/deps.go:14 +0x5b | |
github.com/wavesoftware/go-magetasks.Test({0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/work/go-magetasks/go-magetasks/testing.go:18 +0x69 | |
reflect.Value.call({0x1630ac0?, 0x19b59a8?, 0x13?}, {0x18d36d4, 0x4}, {0xc000012888, 0x1, 0x1?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:596 +0xce5 | |
reflect.Value.Call({0x1630ac0?, 0x19b59a8?, 0x1?}, {0xc000012888?, 0x154a170?, 0xc000138dd8?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:380 +0xb9 | |
github.com/magefile/mage/mg.F.func1({0x1b9ad90, 0xc0002b64b0}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:67 +0x368 | |
github.com/magefile/mage/mg.fn.Run(...) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:98 | |
github.com/magefile/mage/mg.(*onceFun).run.func1() | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:208 +0x104 | |
sync.(*Once).doSlow(0x3?, 0xc000061460?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:74 +0xc2 | |
sync.(*Once).Do(...) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:65 | |
github.com/magefile/mage/mg.(*onceFun).run(0xc000293800, {0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:204 +0x5a | |
github.com/magefile/mage/mg.runDeps.func1() | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:115 +0xbe | |
created by github.com/magefile/mage/mg.runDeps in goroutine 37 | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:101 +0xc6 | |
goroutine 39 [semacquire]: | |
sync.runtime_Semacquire(0xc0002939c0?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/runtime/sema.go:62 +0x25 | |
sync.(*WaitGroup).Wait(0x2813310?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/waitgroup.go:116 +0x48 | |
github.com/magefile/mage/mg.runDeps({0x1b9ad90, 0xc0002b64b0}, {0xc000121ed0, 0x1, 0x9?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:124 +0x1b5 | |
github.com/magefile/mage/mg.CtxDeps({0x1b9ad90, 0xc0002b64b0}, {0xc0003375d0?, 0x0?, 0x0?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:89 +0x45 | |
github.com/wavesoftware/go-magetasks/pkg/targets.Deps({0x1b9ad90, 0xc0002b64b0}, {0xc0003375d0, 0x1, 0x1}) | |
/home/runner/work/go-magetasks/go-magetasks/pkg/targets/deps.go:14 +0x5b | |
github.com/wavesoftware/go-magetasks.Check({0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/work/go-magetasks/go-magetasks/checks.go:14 +0x69 | |
reflect.Value.call({0x1630ac0?, 0x19b59a0?, 0x13?}, {0x18d36d4, 0x4}, {0xc0000128b8, 0x1, 0x1?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:596 +0xce5 | |
reflect.Value.Call({0x1630ac0?, 0x19b59a0?, 0x1?}, {0xc0000128b8?, 0x154a170?, 0xc000138dd8?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:380 +0xb9 | |
github.com/magefile/mage/mg.F.func1({0x1b9ad90, 0xc0002b64b0}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:67 +0x368 | |
github.com/magefile/mage/mg.fn.Run(...) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:98 | |
github.com/magefile/mage/mg.(*onceFun).run.func1() | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:208 +0x104 | |
sync.(*Once).doSlow(0x3?, 0xc000061460?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:74 +0xc2 | |
sync.(*Once).Do(...) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:65 | |
github.com/magefile/mage/mg.(*onceFun).run(0xc0002938c0, {0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:204 +0x5a | |
github.com/magefile/mage/mg.runDeps.func1() | |
exit status 1 | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:115 +0xbe | |
created by github.com/magefile/mage/mg.runDeps in goroutine 38 | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:101 +0xc6 | |
goroutine 40 [select]: | |
net/http.(*Transport).getConn(0x2845f40, 0xc0003dc680, {{}, 0x0, {0xc0001ac280, 0x5}, {0xc0003da138, 0x12}, 0x0}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/transport.go:1406 +0x5a5 | |
net/http.(*Transport).roundTrip(0x2845f40, 0xc00044d320) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/transport.go:595 +0x73a | |
net/http.(*Transport).RoundTrip(0xc00017ddb0?, 0x1b82320?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/roundtrip.go:17 +0x13 | |
net/http.send(0xc00044d320, {0x1b82320, 0x2845f40}, {0x18e0201?, 0xe?, 0x0?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/client.go:259 +0x5e4 | |
net/http.(*Client).send(0xc00047f2c0, 0xc00044d320, {0x18dc104?, 0xb?, 0x0?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/client.go:180 +0x98 | |
net/http.(*Client).do(0xc00047f2c0, 0xc00044d320) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/client.go:724 +0x8dc | |
net/http.(*Client).Do(...) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/client.go:590 | |
github.com/google/go-github/v48/github.(*Client).BareDo(0xc000179908, {0x1b9ad58, 0xc00047f290}, 0xc00044cea0) | |
/home/runner/go/pkg/mod/github.com/google/go-github/v48@v48.2.0/github/github.go:711 +0x18e | |
github.com/google/go-github/v48/github.(*Client).Do(0x0?, {0x1b9ad58?, 0xc00047f290?}, 0xc000179908?, {0x1877860, 0xc000182240}) | |
/home/runner/go/pkg/mod/github.com/google/go-github/v48@v48.2.0/github/github.go:775 +0x5d | |
github.com/google/go-github/v48/github.(*RepositoriesService).getSingleRelease(0xc000179a80, {0x1b9ad58, 0xc00047f290}, {0xc0003903c0?, 0x3?}) | |
/home/runner/go/pkg/mod/github.com/google/go-github/v48@v48.2.0/github/repos_releases.go:161 +0x9e | |
github.com/google/go-github/v48/github.(*RepositoriesService).GetReleaseByTag(0xc000179a80, {0x1b9ad58, 0xc00047f290}, {0xc00016f000?, 0xc6a805?}, {0xc00016f009, 0xd}, {0xc00016f017, 0x7}) | |
/home/runner/go/pkg/mod/github.com/google/go-github/v48@v48.2.0/github/repos_releases.go:132 +0xff | |
github.com/cardil/ghet/pkg/ghet/download.fetchRelease({0x1b9ad58, 0xc00047f290}, {{{{{...}, {...}}, {0x18d3ea8, 0x5}, {0x18d946b, 0x9}, {{...}, {...}}, ...}, ...}, ...}, ...) | |
/home/runner/go/pkg/mod/github.com/cardil/ghet@v0.0.1-0.20240322174403-1901c4fe21ac/pkg/ghet/download/plan.go:162 +0x2dc | |
github.com/cardil/ghet/pkg/ghet/download.CreatePlan.func1({0xc0001aa870?, 0x4112ff?}) | |
/home/runner/go/pkg/mod/github.com/cardil/ghet@v0.0.1-0.20240322174403-1901c4fe21ac/pkg/ghet/download/plan.go:41 +0x78 | |
knative.dev/client-pkg/pkg/output/tui.(*BubbleSpinner).With(0xc0001aa870, 0xc00005ac28) | |
/home/runner/go/pkg/mod/knative.dev/client-pkg@v0.0.0-20240322171749-cf1573f93631/pkg/output/tui/spinner.go:54 +0x6f | |
github.com/cardil/ghet/pkg/ghet/download.CreatePlan({0x1b9ad58, 0xc00047f200}, {{{{{...}, {...}}, {0x18d3ea8, 0x5}, {0x18d946b, 0x9}, {{...}, {...}}, ...}, ...}, ...}) | |
/home/runner/go/pkg/mod/github.com/cardil/ghet@v0.0.1-0.20240322174403-1901c4fe21ac/pkg/ghet/download/plan.go:40 +0x42a | |
github.com/cardil/ghet/pkg/ghet/download.Action({0x1b9ad90, 0xc0002b64b0}, {{{{{...}, {...}}, {0x18d3ea8, 0x5}, {0x18d946b, 0x9}, {{...}, {...}}, ...}, ...}, ...}) | |
/home/runner/go/pkg/mod/github.com/cardil/ghet@v0.0.1-0.20240322174403-1901c4fe21ac/pkg/ghet/download/action.go:14 +0x1f8 | |
github.com/wavesoftware/go-magetasks/config.(*binaries).Install(0xc000293dc0?, {0x1b9ad90, 0xc0002b64b0}, 0xc000293dc0, {0xc000352050, 0x4d}) | |
/home/runner/work/go-magetasks/go-magetasks/config/binaries.go:52 +0x4c8 | |
github.com/wavesoftware/go-magetasks/pkg/deps.Install({0x1b9ad90, 0xc0002b64b0}) | |
/home/runner/work/go-magetasks/go-magetasks/pkg/deps/install.go:25 +0x2a7 | |
reflect.Value.call({0x164e1a0?, 0x19b59b0?, 0x13?}, {0x18d36d4, 0x4}, {0xc0000128e8, 0x1, 0x1?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:596 +0xce5 | |
reflect.Value.Call({0x164e1a0?, 0x19b59b0?, 0x1?}, {0xc0000128e8?, 0x154a170?, 0xc000138dd8?}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/reflect/value.go:380 +0xb9 | |
github.com/magefile/mage/mg.F.func1({0x1b9ad90, 0xc0002b64b0}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:67 +0x368 | |
github.com/magefile/mage/mg.fn.Run(...) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/fn.go:98 | |
github.com/magefile/mage/mg.(*onceFun).run.func1() | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:208 +0x104 | |
sync.(*Once).doSlow(0x3?, 0xc000061460?) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:74 +0xc2 | |
sync.(*Once).Do(...) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/sync/once.go:65 | |
github.com/magefile/mage/mg.(*onceFun).run(0xc000293980, {0x1b9ad90?, 0xc0002b64b0?}) | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:204 +0x5a | |
github.com/magefile/mage/mg.runDeps.func1() | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:115 +0xbe | |
created by github.com/magefile/mage/mg.runDeps in goroutine 39 | |
/home/runner/go/pkg/mod/github.com/magefile/mage@v1.15.0/mg/deps.go:101 +0xc6 | |
goroutine 48 [chan receive]: | |
os/signal.signal_disable(0xf) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/runtime/sigqueue.go:233 +0x1c | |
os/signal.disableSignal(...) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/os/signal/signal_unix.go:53 | |
os/signal.Stop(0xc000410000) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/os/signal/signal.go:194 +0x117 | |
github.com/charmbracelet/bubbletea.(*Program).handleSignals.func1.1() | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:232 +0x25 | |
github.com/charmbracelet/bubbletea.(*Program).handleSignals.func1() | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:239 +0x1b7 | |
created by github.com/charmbracelet/bubbletea.(*Program).handleSignals in goroutine 23 | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/tea.go:228 +0x78 | |
goroutine 50 [select]: | |
github.com/charmbracelet/bubbletea.(*standardRenderer).listen(0xc00029c420) | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/standard_renderer.go:133 +0x65 | |
created by github.com/charmbracelet/bubbletea.(*standardRenderer).start in goroutine 23 | |
/home/runner/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.25.0/standard_renderer.go:92 +0xbf | |
goroutine 51 [runnable]: | |
net/http.(*Transport).dialConn(0x2845f40, {0x1b9ad58, 0xc00047f290}, {{}, 0x0, {0xc0001ac280, 0x5}, {0xc0003da138, 0x12}, 0x0}) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/transport.go:1608 +0x110 | |
net/http.(*Transport).dialConnFor(0x2845f40, 0xc000170580) | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/transport.go:1485 +0xcd | |
created by net/http.(*Transport).queueForDial in goroutine 40 | |
/opt/hostedtoolcache/go/1.22.1/x64/src/net/http/transport.go:1449 +0x3c9 | |
exit status 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment