monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

Node deletion creates SIGSEGV #341

Closed fionera closed 3 weeks ago

fionera commented 4 weeks ago

metropolis-ab52ead3e7e93b2f7caabbf4f86606d4 STANDBY unknown UNKNOWN unused 9223372036s

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xb3c86f]

goroutine 1 [running]:
main.init.func5(0x13cb1e0, {0xc0000cfd10, 0x1, 0xcf62db?})
    metropolis/cli/metroctl/cmd_node.go:263 +0x2cf
github.com/spf13/cobra.(*Command).execute(0x13cb1e0, {0xc000280280, 0x5, 0x8})
    external/gazelle~~go_deps~com_github_spf13_cobra/command.go:940 +0x882
github.com/spf13/cobra.(*Command).ExecuteC(0x13c9ae0)
    external/gazelle~~go_deps~com_github_spf13_cobra/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
    external/gazelle~~go_deps~com_github_spf13_cobra/command.go:992
main.main()
    metropolis/cli/metroctl/main.go:73 +0x1a