Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ventsislav-georgiev/7f3874e3813201f2ee65ab85ef199f67 to your computer and use it in GitHub Desktop.
Save ventsislav-georgiev/7f3874e3813201f2ee65ab85ef199f67 to your computer and use it in GitHub Desktop.
k9s crash 3
fatal error: concurrent map iteration and map write
goroutine 1 [running]:
github.com/derailed/k9s/internal/view.(*Command).AliasesFor(...)
github.com/derailed/k9s/internal/view/command.go:43
github.com/derailed/k9s/internal/view.(*Browser).Aliases(0x14000ebdb00)
github.com/derailed/k9s/internal/view/browser.go:233 +0xb0
github.com/derailed/k9s/internal/view.pluginActions({0x108313d48?, 0x14000ebdb00}, 0x0?)
github.com/derailed/k9s/internal/view/actions.go:122 +0x158
github.com/derailed/k9s/internal/view.(*Browser).refreshActions(0x14000ebdb00)
github.com/derailed/k9s/internal/view/browser.go:523 +0x968
github.com/derailed/k9s/internal/view.(*Browser).TableDataChanged.func1()
github.com/derailed/k9s/internal/view/browser.go:251 +0x2c
github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw.func1.(*Application).QueueUpdateDraw.func1()
github.com/derailed/tview@v0.8.3/application.go:731 +0x30
github.com/derailed/tview.(*Application).Run(0x140010a67e0)
github.com/derailed/tview@v0.8.3/application.go:376 +0x7c4
github.com/derailed/k9s/internal/view.(*App).Run(0x1400021f6e0)
github.com/derailed/k9s/internal/view/app.go:549 +0x90
github.com/derailed/k9s/cmd.run(0x14000afed00?, {0x106edb607?, 0x4?, 0x106edb52f?})
github.com/derailed/k9s/cmd/root.go:115 +0x408
github.com/spf13/cobra.(*Command).execute(0x10a0bde40, {0x1400004c240, 0x6, 0x6})
github.com/spf13/cobra@v1.8.0/command.go:983 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x10a0bde40)
github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/derailed/k9s/cmd.Execute()
github.com/derailed/k9s/cmd/root.go:70 +0x24
main.main()
github.com/derailed/k9s/main.go:32 +0x1c
goroutine 9 [select]:
go.opencensus.io/stats/view.(*worker).start(0x14000946b00)
go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0x88
created by go.opencensus.io/stats/view.init.0 in goroutine 1
go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x98
goroutine 22 [IO wait]:
internal/poll.runtime_pollWait(0x151dd7cb0, 0x72)
runtime/netpoll.go:343 +0xa0
internal/poll.(*pollDesc).wait(0x14000eaac80?, 0x140013b0000?, 0x0)
internal/poll/fd_poll_runtime.go:84 +0x28
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14000eaac80, {0x140013b0000, 0xa000, 0xa000})
internal/poll/fd_unix.go:164 +0x200
net.(*netFD).Read(0x14000eaac80, {0x140013b0000?, 0x14000ef96d8?, 0x9fa1?})
net/fd_posix.go:55 +0x28
net.(*conn).Read(0x14000f0e000, {0x140013b0000?, 0x1400044c220?, 0x10493b86c?})
net/net.go:179 +0x34
crypto/tls.(*atLeastReader).Read(0x14002d6c018, {0x140013b0000?, 0x14002d6c018?, 0x0?})
crypto/tls/conn.go:805 +0x40
bytes.(*Buffer).ReadFrom(0x14000f162a8, {0x1082e6b80, 0x14002d6c018})
bytes/buffer.go:211 +0x90
crypto/tls.(*Conn).readFromUntil(0x14000f16000, {0x151d129d8?, 0x14000f10000}, 0x9fa6?)
crypto/tls/conn.go:827 +0xd0
crypto/tls.(*Conn).readRecordOrCCS(0x14000f16000, 0x0)
crypto/tls/conn.go:625 +0x1e4
crypto/tls.(*Conn).readRecord(...)
crypto/tls/conn.go:587
crypto/tls.(*Conn).Read(0x14000f16000, {0x14000f69000, 0x1000, 0x104dc2f0c?})
crypto/tls/conn.go:1369 +0x168
bufio.(*Reader).Read(0x14000f1bf80, {0x14000f40200, 0x9, 0x10a08d1f0?})
bufio/bufio.go:244 +0x1b4
io.ReadAtLeast({0x1082e5118, 0x14000f1bf80}, {0x14000f40200, 0x9, 0x9}, 0x9)
io/io.go:335 +0xa0
io.ReadFull(...)
io/io.go:354
golang.org/x/net/http2.readFrameHeader({0x14000f40200, 0x9, 0xc0603c76?}, {0x1082e5118?, 0x14000f1bf80?})
golang.org/x/net@v0.19.0/http2/frame.go:237 +0x58
golang.org/x/net/http2.(*Framer).ReadFrame(0x14000f401c0)
golang.org/x/net@v0.19.0/http2/frame.go:498 +0x78
golang.org/x/net/http2.(*clientConnReadLoop).run(0x14000ef9f88)
golang.org/x/net@v0.19.0/http2/transport.go:2275 +0xf8
golang.org/x/net/http2.(*ClientConn).readLoop(0x14000f66000)
golang.org/x/net@v0.19.0/http2/transport.go:2170 +0x5c
created by golang.org/x/net/http2.(*Transport).newClientConn in goroutine 21
golang.org/x/net@v0.19.0/http2/transport.go:821 +0xabc
goroutine 44364 [select, 5 minutes]:
golang.org/x/net/http2.(*clientStream).writeRequest(0x14003154000, 0x14000ebc100)
golang.org/x/net@v0.19.0/http2/transport.go:1464 +0x900
golang.org/x/net/http2.(*clientStream).doRequest(0x1082d68d0?, 0x14000491fa0?)
golang.org/x/net@v0.19.0/http2/transport.go:1326 +0x20
created by golang.org/x/net/http2.(*ClientConn).RoundTrip in goroutine 32
golang.org/x/net@v0.19.0/http2/transport.go:1232 +0x2d4
goroutine 27 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x14000e024f8, 0x4e)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x14000e024e8)
sync/cond.go:70 +0xcc
k8s.io/client-go/tools/cache.(*DeltaFIFO).Pop(0x14000e024d0, 0x1400118fd00)
k8s.io/client-go@v0.29.1/tools/cache/delta_fifo.go:575 +0x1dc
k8s.io/client-go/tools/cache.(*controller).processLoop(0x14000faf0e0)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:188 +0x3c
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x140009d9620?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x140011c2000?, {0x1082e91a0, 0x140011b2930}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x140011a7900?, 0x3b9aca00, 0x0, 0xd0?, 0x151f410c0?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:204 +0x80
k8s.io/apimachinery/pkg/util/wait.Until(...)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:161
k8s.io/client-go/tools/cache.(*controller).Run(0x14000faf0e0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:159 +0x2d0
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run(0x14000e02420, 0x14000714780?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:502 +0x264
k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start.func1()
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:108 +0x64
created by k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start in goroutine 1
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:106 +0x218
goroutine 30 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*sharedProcessor).run(0x140006bc140, 0x0?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:801 +0x3c
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run.(*Group).StartWithChannel.func4()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 27
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 31 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*controller).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/controller.go:132 +0x2c
created by k8s.io/client-go/tools/cache.(*controller).Run in goroutine 27
k8s.io/client-go@v0.29.1/tools/cache/controller.go:131 +0x94
goroutine 32 [select]:
k8s.io/client-go/tools/cache.watchHandler({0x0?, 0x0?, 0x10a1012c0?}, {0x1082f71c8, 0x14000e72c40}, {0x151f410c0, 0x14000e024d0}, {0x10833da70?, 0x10829f1c0}, 0x0, ...)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:724 +0x120
k8s.io/client-go/tools/cache.(*Reflector).watch(0x140001ad5e0, {0x0?, 0x0?}, 0x14000e125a0, 0x10831d1f0?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:437 +0x3e0
k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch(0x140001ad5e0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:357 +0x3f4
k8s.io/client-go/tools/cache.(*Reflector).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:291 +0x28
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x104968210?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x140010ebc00?, {0x1082e91c0, 0x140006bc2d0}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/client-go/tools/cache.(*Reflector).Run(0x140001ad5e0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:290 +0x184
k8s.io/client-go/tools/cache.(*controller).Run.(*Group).StartWithChannel.func2()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 27
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 67 [select, 6 minutes]:
k8s.io/client-go/tools/cache.(*Reflector).startResync(0x140001ad5e0, 0x14000e125a0, 0x14000ceecc0, 0x1400048ef08?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:369 +0xbc
created by k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch in goroutine 32
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:356 +0x3dc
goroutine 223 [select, 95 minutes]:
github.com/derailed/tcell/v2.(*devTty).Start.func1(0x14000cee5a0)
github.com/derailed/tcell/v2@v2.3.1-rc.3/tty_unix.go:91 +0x94
created by github.com/derailed/tcell/v2.(*devTty).Start in goroutine 1
github.com/derailed/tcell/v2@v2.3.1-rc.3/tty_unix.go:88 +0x278
goroutine 192 [sync.Cond.Wait, 95 minutes]:
sync.runtime_notifyListWait(0x14000ada028, 0x1)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x14000ada018)
sync/cond.go:70 +0xcc
k8s.io/client-go/tools/cache.(*DeltaFIFO).Pop(0x14000ada000, 0x1400192a8b0)
k8s.io/client-go@v0.29.1/tools/cache/delta_fifo.go:575 +0x1dc
k8s.io/client-go/tools/cache.(*controller).processLoop(0x1400195b220)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:188 +0x3c
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x140009d85b8?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x1400114eb60?, {0x1082e91a0, 0x1400191f350}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x14000f1fc00?, 0x3b9aca00, 0x0, 0xc0?, 0x151f410c0?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:204 +0x80
k8s.io/apimachinery/pkg/util/wait.Until(...)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:161
k8s.io/client-go/tools/cache.(*controller).Run(0x1400195b220, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:159 +0x2d0
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run(0x140018fa840, 0x14000be8180?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:502 +0x264
k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start.func1()
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:108 +0x64
created by k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start in goroutine 1
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:106 +0x218
goroutine 338 [select, 95 minutes]:
github.com/derailed/tcell/v2.(*tScreen).PollEvent(0x140010a67e0?)
github.com/derailed/tcell/v2@v2.3.1-rc.3/tscreen.go:950 +0x58
github.com/derailed/tview.(*Application).Run.func2()
github.com/derailed/tview@v0.8.3/application.go:267 +0x130
created by github.com/derailed/tview.(*Application).Run in goroutine 1
github.com/derailed/tview@v0.8.3/application.go:254 +0x150
goroutine 72 [select, 6 minutes]:
k8s.io/client-go/tools/cache.(*Reflector).startResync(0x14001178000, 0x14000e125a0, 0x1400492b140, 0x14000eb37a0?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:369 +0xbc
created by k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch in goroutine 89
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:356 +0x3dc
goroutine 200 [select]:
k8s.io/client-go/tools/cache.watchHandler({0x0?, 0x0?, 0x10a1012c0?}, {0x1082f71c8, 0x14001af2b80}, {0x151f410c0, 0x14000ada0b0}, {0x10833da70?, 0x10829f1c0}, 0x0, ...)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:724 +0x120
k8s.io/client-go/tools/cache.(*Reflector).watch(0x140011780e0, {0x0?, 0x0?}, 0x14000e125a0, 0x10831d1f0?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:437 +0x3e0
k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch(0x140011780e0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:357 +0x3f4
k8s.io/client-go/tools/cache.(*Reflector).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:291 +0x28
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x104968210?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x14001132000?, {0x1082e91c0, 0x14000a2d360}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/client-go/tools/cache.(*Reflector).Run(0x140011780e0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:290 +0x184
k8s.io/client-go/tools/cache.(*controller).Run.(*Group).StartWithChannel.func2()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 93
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 215 [select, 95 minutes]:
github.com/derailed/k9s/internal/ui.(*Configurator).ConfigWatcher.func1()
github.com/derailed/k9s/internal/ui/config.go:137 +0xd0
created by github.com/derailed/k9s/internal/ui.(*Configurator).ConfigWatcher in goroutine 1
github.com/derailed/k9s/internal/ui/config.go:135 +0xf4
goroutine 210 [chan receive, 95 minutes]:
github.com/derailed/k9s/internal/view.(*App).initSignals.func1(0x1082d68d0?)
github.com/derailed/k9s/internal/view/app.go:182 +0x20
created by github.com/derailed/k9s/internal/view.(*App).initSignals in goroutine 1
github.com/derailed/k9s/internal/view/app.go:181 +0xa4
goroutine 198 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*sharedProcessor).run(0x14000926190, 0x0?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:801 +0x3c
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run.(*Group).StartWithChannel.func4()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 93
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 88 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*controller).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/controller.go:132 +0x2c
created by k8s.io/client-go/tools/cache.(*controller).Run in goroutine 192
k8s.io/client-go@v0.29.1/tools/cache/controller.go:131 +0x94
goroutine 93 [sync.Cond.Wait, 95 minutes]:
sync.runtime_notifyListWait(0x14000ada0d8, 0x1)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x14000ada0c8)
sync/cond.go:70 +0xcc
k8s.io/client-go/tools/cache.(*DeltaFIFO).Pop(0x14000ada0b0, 0x140011cc010)
k8s.io/client-go@v0.29.1/tools/cache/delta_fifo.go:575 +0x1dc
k8s.io/client-go/tools/cache.(*controller).processLoop(0x14000ca43c0)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:188 +0x3c
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x140012820c0?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x140013fe820?, {0x1082e91a0, 0x1400191e060}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x14000782190?, 0x3b9aca00, 0x0, 0x0?, 0x151f410c0?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:204 +0x80
k8s.io/apimachinery/pkg/util/wait.Until(...)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:161
k8s.io/client-go/tools/cache.(*controller).Run(0x14000ca43c0, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/controller.go:159 +0x2d0
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run(0x14000e32160, 0x1057967a0?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:502 +0x264
k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start.func1()
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:108 +0x64
created by k8s.io/client-go/dynamic/dynamicinformer.(*dynamicSharedInformerFactory).Start in goroutine 1
k8s.io/client-go@v0.29.1/dynamic/dynamicinformer/informer.go:106 +0x218
goroutine 213 [select]:
github.com/derailed/k9s/internal/view.(*App).clusterUpdater(0x1400112d3b0?, {0x108313e60, 0x14000a2d400})
github.com/derailed/k9s/internal/view/app.go:364 +0x118
created by github.com/derailed/k9s/internal/view.(*App).Resume in goroutine 1
github.com/derailed/k9s/internal/view/app.go:340 +0xcc
goroutine 209 [syscall, 95 minutes]:
os/signal.signal_recv()
runtime/sigqueue.go:149 +0x2c
os/signal.loop()
os/signal/signal_unix.go:23 +0x1c
created by os/signal.Notify.func1.1 in goroutine 1
os/signal/signal.go:151 +0x28
goroutine 224 [syscall, 95 minutes]:
syscall.syscall(0x14000fdd5e8?, 0x104a010f0?, 0x800000?, 0x7ffff800000?)
runtime/sys_darwin.go:23 +0x58
syscall.read(0x14000ad2060?, {0x140012a9c00?, 0x66227b3a22315673?, 0x7b3a22636570733a?})
syscall/zsyscall_darwin_arm64.go:1209 +0x48
syscall.Read(...)
syscall/syscall_unix.go:181
internal/poll.ignoringEINTRIO(...)
internal/poll/fd_unix.go:736
internal/poll.(*FD).Read(0x14000ad2060, {0x140012a9c00, 0x80, 0x80})
internal/poll/fd_unix.go:160 +0x224
os.(*File).read(...)
os/file_posix.go:29
os.(*File).Read(0x140006e0000, {0x140012a9c00?, 0x4d41492079622001?, 0x7373696d72657020?})
os/file.go:118 +0x70
github.com/derailed/tcell/v2.(*devTty).Read(0x0?, {0x140012a9c00?, 0x0?, 0x0?})
github.com/derailed/tcell/v2@v2.3.1-rc.3/tty_unix.go:45 +0x24
github.com/derailed/tcell/v2.(*tScreen).inputLoop(0x140010c0240, 0x0?)
github.com/derailed/tcell/v2@v2.3.1-rc.3/tscreen.go:1531 +0xa8
created by github.com/derailed/tcell/v2.(*tScreen).engage in goroutine 1
github.com/derailed/tcell/v2@v2.3.1-rc.3/tscreen.go:1660 +0x2b8
goroutine 214 [syscall, 95 minutes]:
syscall.syscall6(0x0?, 0x1082e89c0?, 0x0?, 0x0?, 0x3?, 0x0?, 0x14000a2c0a0?)
runtime/sys_darwin.go:45 +0x68
golang.org/x/sys/unix.kevent(0x140014bdc88?, 0x14001938e00?, 0x1d0?, 0x200?, 0x0?, 0x1082f6bb0?)
golang.org/x/sys@v0.15.0/unix/zsyscall_darwin_arm64.go:275 +0x54
golang.org/x/sys/unix.Kevent(0x1082f6c78?, {0x0?, 0x1082e5b00?, 0x1082f55f8?}, {0x140014bde60?, 0x108305090?, 0x1082e75c0?}, 0x0?)
golang.org/x/sys@v0.15.0/unix/syscall_bsd.go:397 +0x40
github.com/fsnotify/fsnotify.(*Watcher).read(0x140014bdcf8?, {0x140014bde60?, 0x1082e75c0?, 0xa})
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:777 +0x48
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0x140004fe5b0)
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:547 +0x94
created by github.com/fsnotify/fsnotify.NewBufferedWatcher in goroutine 1
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:184 +0x1fc
goroutine 87 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*sharedProcessor).run(0x14000ee34f0, 0x0?)
k8s.io/client-go@v0.29.1/tools/cache/shared_informer.go:801 +0x3c
k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run.(*Group).StartWithChannel.func4()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 192
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 47486 [chan receive]:
github.com/derailed/tview.(*Application).QueueUpdate(...)
github.com/derailed/tview@v0.8.3/application.go:723
github.com/derailed/tview.(*Application).QueueUpdateDraw(...)
github.com/derailed/tview@v0.8.3/application.go:730
github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw.func1()
github.com/derailed/k9s/internal/ui/app.go:79 +0xc0
created by github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw in goroutine 94
github.com/derailed/k9s/internal/ui/app.go:78 +0x78
goroutine 94 [select]:
github.com/derailed/k9s/internal/model.(*Table).updater(0x14001122820, {0x108313e60?, 0x14000926410})
github.com/derailed/k9s/internal/model/table.go:193 +0x124
created by github.com/derailed/k9s/internal/model.(*Table).Watch in goroutine 1
github.com/derailed/k9s/internal/model/table.go:107 +0x9c
goroutine 216 [syscall, 95 minutes]:
syscall.syscall6(0x0?, 0x1082e89c0?, 0x0?, 0x0?, 0x3?, 0x0?, 0x14000a2c0a0?)
runtime/sys_darwin.go:45 +0x68
golang.org/x/sys/unix.kevent(0x14001485c88?, 0x1400139e000?, 0x9d7?, 0xc00?, 0x0?, 0x1082f6bb0?)
golang.org/x/sys@v0.15.0/unix/zsyscall_darwin_arm64.go:275 +0x54
golang.org/x/sys/unix.Kevent(0x1082f6c78?, {0x0?, 0x1082e5b00?, 0x1082f55f8?}, {0x14001485e60?, 0x108305090?, 0x1082e75c0?}, 0x0?)
golang.org/x/sys@v0.15.0/unix/syscall_bsd.go:397 +0x40
github.com/fsnotify/fsnotify.(*Watcher).read(0x14001485cf8?, {0x14001485e60?, 0x1082e75c0?, 0xa})
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:777 +0x48
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0x140004fe620)
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:547 +0x94
created by github.com/fsnotify/fsnotify.NewBufferedWatcher in goroutine 1
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:184 +0x1fc
goroutine 219 [select, 95 minutes]:
github.com/derailed/k9s/internal/ui.(*Configurator).CustomViewsWatcher.func1()
github.com/derailed/k9s/internal/ui/config.go:52 +0xd0
created by github.com/derailed/k9s/internal/ui.(*Configurator).CustomViewsWatcher in goroutine 1
github.com/derailed/k9s/internal/ui/config.go:50 +0xf0
goroutine 217 [select, 95 minutes]:
github.com/derailed/k9s/internal/ui.(*Configurator).SkinsDirWatcher.func1()
github.com/derailed/k9s/internal/ui/config.go:103 +0xd0
created by github.com/derailed/k9s/internal/ui.(*Configurator).SkinsDirWatcher in goroutine 1
github.com/derailed/k9s/internal/ui/config.go:101 +0x13c
goroutine 89 [select]:
k8s.io/client-go/tools/cache.watchHandler({0x0?, 0x0?, 0x10a1012c0?}, {0x1082f71c8, 0x14002485e00}, {0x151f410c0, 0x14000ada000}, {0x10833da70?, 0x10829f1c0}, 0x0, ...)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:724 +0x120
k8s.io/client-go/tools/cache.(*Reflector).watch(0x14001178000, {0x0?, 0x0?}, 0x14000e125a0, 0x1082f6c00?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:437 +0x3e0
k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch(0x14001178000, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:357 +0x3f4
k8s.io/client-go/tools/cache.(*Reflector).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:291 +0x28
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x60?)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:226 +0x40
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x14001132180?, {0x1082e91c0, 0x140006dcdc0}, 0x1, 0x14000e125a0)
k8s.io/apimachinery@v0.29.1/pkg/util/wait/backoff.go:227 +0x90
k8s.io/client-go/tools/cache.(*Reflector).Run(0x14001178000, 0x14000e125a0)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:290 +0x184
k8s.io/client-go/tools/cache.(*controller).Run.(*Group).StartWithChannel.func2()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:55 +0x2c
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:72 +0x58
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 192
k8s.io/apimachinery@v0.29.1/pkg/util/wait/wait.go:70 +0x7c
goroutine 337 [select, 95 minutes]:
github.com/derailed/tcell/v2.(*tScreen).mainLoop(0x140010c0240, 0x14000cee600)
github.com/derailed/tcell/v2@v2.3.1-rc.3/tscreen.go:1470 +0xe0
created by github.com/derailed/tcell/v2.(*tScreen).engage in goroutine 1
github.com/derailed/tcell/v2@v2.3.1-rc.3/tscreen.go:1661 +0x308
goroutine 218 [syscall, 95 minutes]:
syscall.syscall6(0x0?, 0x1082e89c0?, 0x0?, 0x0?, 0x3?, 0x0?, 0x14000a2c0a0?)
runtime/sys_darwin.go:45 +0x68
golang.org/x/sys/unix.kevent(0x1400182ec88?, 0x14000726700?, 0x225?, 0x380?, 0x0?, 0x1082f6bb0?)
golang.org/x/sys@v0.15.0/unix/zsyscall_darwin_arm64.go:275 +0x54
golang.org/x/sys/unix.Kevent(0x1082f6c78?, {0x0?, 0x1082e5b00?, 0x1082f55f8?}, {0x1400182ee60?, 0x108305090?, 0x1082e75c0?}, 0x0?)
golang.org/x/sys@v0.15.0/unix/syscall_bsd.go:397 +0x40
github.com/fsnotify/fsnotify.(*Watcher).read(0x1400182ecf8?, {0x1400182ee60?, 0x1082e75c0?, 0xa})
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:777 +0x48
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0x140004fe690)
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:547 +0x94
created by github.com/fsnotify/fsnotify.NewBufferedWatcher in goroutine 1
github.com/fsnotify/fsnotify@v1.7.0/backend_kqueue.go:184 +0x1fc
goroutine 193 [select]:
github.com/derailed/k9s/internal/ui.(*Flash).Watch(0x1400112d3b0?, {0x108313e28, 0x14000e78360}, 0x1400021f9e0)
github.com/derailed/k9s/internal/ui/flash.go:60 +0xd8
created by github.com/derailed/k9s/internal/view.(*App).layout in goroutine 1
github.com/derailed/k9s/internal/view/app.go:162 +0xcc
goroutine 290 [select, 6 minutes]:
k8s.io/client-go/tools/cache.(*Reflector).startResync(0x140011780e0, 0x14000e125a0, 0x14000a19260, 0x14000f02fa0?)
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:369 +0xbc
created by k8s.io/client-go/tools/cache.(*Reflector).ListAndWatch in goroutine 200
k8s.io/client-go@v0.29.1/tools/cache/reflector.go:356 +0x3dc
goroutine 199 [chan receive, 95 minutes]:
k8s.io/client-go/tools/cache.(*controller).Run.func1()
k8s.io/client-go@v0.29.1/tools/cache/controller.go:132 +0x2c
created by k8s.io/client-go/tools/cache.(*controller).Run in goroutine 93
k8s.io/client-go@v0.29.1/tools/cache/controller.go:131 +0x94
goroutine 46964 [select]:
golang.org/x/net/http2.(*clientStream).writeRequest(0x14001f82000, 0x14001f80100)
golang.org/x/net@v0.19.0/http2/transport.go:1464 +0x900
golang.org/x/net/http2.(*clientStream).doRequest(0x1082d68d0?, 0x14002ecb7a0?)
golang.org/x/net@v0.19.0/http2/transport.go:1326 +0x20
created by golang.org/x/net/http2.(*ClientConn).RoundTrip in goroutine 200
golang.org/x/net@v0.19.0/http2/transport.go:1232 +0x2d4
goroutine 47471 [runnable]:
github.com/derailed/k9s/internal/config.(*Aliases).Define(0x1400002a640, {0x140017e21e0, 0xf}, {0x140032aaa48, 0x1, 0x0?})
github.com/derailed/k9s/internal/config/alias.go:100 +0x1c0
github.com/derailed/k9s/internal/dao.(*Alias).load(0x14001388780, {0x1400338e000?, 0x14000e72300?})
github.com/derailed/k9s/internal/dao/alias.go:122 +0x384
github.com/derailed/k9s/internal/dao.(*Alias).Ensure(0x14001388780, {0x1400338e000, 0xa0})
github.com/derailed/k9s/internal/dao/alias.go:91 +0x78
github.com/derailed/k9s/internal/view.(*Command).Reset(0x140006a8b28, {0x1400338e000, 0xa0}, 0xa8?)
github.com/derailed/k9s/internal/view/command.go:72 +0xfc
github.com/derailed/k9s/internal/view.(*App).refreshCluster.func1()
github.com/derailed/k9s/internal/view/app.go:414 +0x50
created by github.com/derailed/k9s/internal/view.(*App).refreshCluster in goroutine 213
github.com/derailed/k9s/internal/view/app.go:413 +0x450
goroutine 46965 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x14001f82048, 0x0)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x14001f82038)
sync/cond.go:70 +0xcc
golang.org/x/net/http2.(*pipe).Read(0x14001f82030, {0x14001a81a00, 0x200, 0x200})
golang.org/x/net@v0.19.0/http2/pipe.go:76 +0x108
golang.org/x/net/http2.transportResponseBody.Read({0x14002ecb538?}, {0x14001a81a00?, 0x14002ecb538?, 0x104dbb65c?})
golang.org/x/net@v0.19.0/http2/transport.go:2558 +0x50
encoding/json.(*Decoder).refill(0x14000772140)
encoding/json/stream.go:165 +0x164
encoding/json.(*Decoder).readValue(0x14000772140)
encoding/json/stream.go:140 +0x88
encoding/json.(*Decoder).Decode(0x14000772140, {0x107dde5e0, 0x14001ae2d50})
encoding/json/stream.go:63 +0x5c
k8s.io/apimachinery/pkg/util/framer.(*jsonFrameReader).Read(0x14001a8abd0, {0x140043f8000, 0x400, 0x400})
k8s.io/apimachinery@v0.29.1/pkg/util/framer/framer.go:152 +0x19c
k8s.io/apimachinery/pkg/runtime/serializer/streaming.(*decoder).Decode(0x14000aae5f0, 0x0?, {0x1082f6b10, 0x14001af2bc0})
k8s.io/apimachinery@v0.29.1/pkg/runtime/serializer/streaming/streaming.go:77 +0x88
k8s.io/client-go/rest/watch.(*Decoder).Decode(0x1400002a020)
k8s.io/client-go@v0.29.1/rest/watch/decoder.go:49 +0x5c
k8s.io/apimachinery/pkg/watch.(*StreamWatcher).receive(0x14001af2b80)
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:105 +0xb0
created by k8s.io/apimachinery/pkg/watch.NewStreamWatcher in goroutine 200
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:76 +0x120
goroutine 46828 [chan receive]:
github.com/derailed/tview.(*Application).QueueUpdate(...)
github.com/derailed/tview@v0.8.3/application.go:723
github.com/derailed/tview.(*Application).QueueUpdateDraw(...)
github.com/derailed/tview@v0.8.3/application.go:730
github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw.func1()
github.com/derailed/k9s/internal/ui/app.go:79 +0xc0
created by github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw in goroutine 213
github.com/derailed/k9s/internal/ui/app.go:78 +0x78
goroutine 46827 [chan receive]:
github.com/derailed/tview.(*Application).QueueUpdate(...)
github.com/derailed/tview@v0.8.3/application.go:723
github.com/derailed/tview.(*Application).QueueUpdateDraw(...)
github.com/derailed/tview@v0.8.3/application.go:730
github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw.func1()
github.com/derailed/k9s/internal/ui/app.go:79 +0xc0
created by github.com/derailed/k9s/internal/ui.(*App).QueueUpdateDraw in goroutine 213
github.com/derailed/k9s/internal/ui/app.go:78 +0x78
goroutine 45356 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x140024e21c8, 0x3)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x140024e21b8)
sync/cond.go:70 +0xcc
golang.org/x/net/http2.(*pipe).Read(0x140024e21b0, {0x14002dcd801, 0x5ff, 0x5ff})
golang.org/x/net@v0.19.0/http2/pipe.go:76 +0x108
golang.org/x/net/http2.transportResponseBody.Read({0x106eda36e?}, {0x14002dcd801?, 0x14001b83ca8?, 0x10492bb80?})
golang.org/x/net@v0.19.0/http2/transport.go:2558 +0x50
encoding/json.(*Decoder).refill(0x1400092b040)
encoding/json/stream.go:165 +0x164
encoding/json.(*Decoder).readValue(0x1400092b040)
encoding/json/stream.go:140 +0x88
encoding/json.(*Decoder).Decode(0x1400092b040, {0x107dde5e0, 0x140013480f0})
encoding/json/stream.go:63 +0x5c
k8s.io/apimachinery/pkg/util/framer.(*jsonFrameReader).Read(0x140024ea2a0, {0x14002052400, 0x400, 0x400})
k8s.io/apimachinery@v0.29.1/pkg/util/framer/framer.go:152 +0x19c
k8s.io/apimachinery/pkg/runtime/serializer/streaming.(*decoder).Decode(0x140024da3c0, 0x140025afcc0?, {0x1082f6b10, 0x1400131ecc0})
k8s.io/apimachinery@v0.29.1/pkg/runtime/serializer/streaming/streaming.go:77 +0x88
k8s.io/client-go/rest/watch.(*Decoder).Decode(0x140001e3e60)
k8s.io/client-go@v0.29.1/rest/watch/decoder.go:49 +0x5c
k8s.io/apimachinery/pkg/watch.(*StreamWatcher).receive(0x14002485e00)
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:105 +0xb0
created by k8s.io/apimachinery/pkg/watch.NewStreamWatcher in goroutine 89
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:76 +0x120
goroutine 45355 [select, 4 minutes]:
golang.org/x/net/http2.(*clientStream).writeRequest(0x140024e2180, 0x140024c4700)
golang.org/x/net@v0.19.0/http2/transport.go:1464 +0x900
golang.org/x/net/http2.(*clientStream).doRequest(0x1082d68d0?, 0x14000d2efa0?)
golang.org/x/net@v0.19.0/http2/transport.go:1326 +0x20
created by golang.org/x/net/http2.(*ClientConn).RoundTrip in goroutine 89
golang.org/x/net@v0.19.0/http2/transport.go:1232 +0x2d4
goroutine 44366 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x14003154048, 0xe)
runtime/sema.go:527 +0x154
sync.(*Cond).Wait(0x14003154038)
sync/cond.go:70 +0xcc
golang.org/x/net/http2.(*pipe).Read(0x14003154030, {0x14000ade001, 0x7dff, 0x7dff})
golang.org/x/net@v0.19.0/http2/pipe.go:76 +0x108
golang.org/x/net/http2.transportResponseBody.Read({0x106eda36e?}, {0x14000ade001?, 0x140032abca8?, 0x10492bb80?})
golang.org/x/net@v0.19.0/http2/transport.go:2558 +0x50
encoding/json.(*Decoder).refill(0x140007c2c80)
encoding/json/stream.go:165 +0x164
encoding/json.(*Decoder).readValue(0x140007c2c80)
encoding/json/stream.go:140 +0x88
encoding/json.(*Decoder).Decode(0x140007c2c80, {0x107dde5e0, 0x14002604258})
encoding/json/stream.go:63 +0x5c
k8s.io/apimachinery/pkg/util/framer.(*jsonFrameReader).Read(0x1400130fec0, {0x14000d08000, 0x8000, 0xa000})
k8s.io/apimachinery@v0.29.1/pkg/util/framer/framer.go:152 +0x19c
k8s.io/apimachinery/pkg/runtime/serializer/streaming.(*decoder).Decode(0x14002800a50, 0x14003768000?, {0x1082f6b10, 0x14001cb7700})
k8s.io/apimachinery@v0.29.1/pkg/runtime/serializer/streaming/streaming.go:77 +0x88
k8s.io/client-go/rest/watch.(*Decoder).Decode(0x14002f12bc0)
k8s.io/client-go@v0.29.1/rest/watch/decoder.go:49 +0x5c
k8s.io/apimachinery/pkg/watch.(*StreamWatcher).receive(0x14000e72c40)
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:105 +0xb0
created by k8s.io/apimachinery/pkg/watch.NewStreamWatcher in goroutine 32
k8s.io/apimachinery@v0.29.1/pkg/watch/streamwatcher.go:76 +0x120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment