Skip to content

kyma-cli panics on macOS High Sierra / Mojave if built using go 1.15 #557

@bayandin

Description

@bayandin

Description

If I build kyma-cli using go 1.15 on High Sierra or Mojave it panics:

$ kyma-darwin 
runtime: netpoll: break fd ready for -2
fatal error: runtime: netpoll: break fd ready for something unexpected

runtime stack:
runtime.throw(0x32b9bd8, 0x39)
	/usr/local/Cellar/go/1.15/libexec/src/runtime/panic.go:1116 +0x72
runtime.netpoll(0x98fcb, 0x49fa4dc2e01)
	/usr/local/Cellar/go/1.15/libexec/src/runtime/netpoll_kqueue.go:147 +0x33e
runtime.findrunnable(0xc000058000, 0x0)
	/usr/local/Cellar/go/1.15/libexec/src/runtime/proc.go:2434 +0x785
runtime.schedule()
	/usr/local/Cellar/go/1.15/libexec/src/runtime/proc.go:2669 +0x2d7
runtime.park_m(0xc000001200)
	/usr/local/Cellar/go/1.15/libexec/src/runtime/proc.go:2837 +0x9d
runtime.mcall(0x80000)
	/usr/local/Cellar/go/1.15/libexec/src/runtime/asm_amd64.s:318 +0x5b

goroutine 1 [runnable, locked to thread]:
golang.org/x/text/language.init.0()
	/Users/bayandin/Library/Caches/Homebrew/go_mod_cache/pkg/mod/golang.org/x/text@v0.3.2/language/match.go:715 +0x325

goroutine 18 [chan receive]:
k8s.io/klog.(*loggingT).flushDaemon(0x46228a0)
	/Users/bayandin/Library/Caches/Homebrew/go_mod_cache/pkg/mod/k8s.io/klog@v1.0.0/klog.go:1010 +0x8b
created by k8s.io/klog.init.0
	/Users/bayandin/Library/Caches/Homebrew/go_mod_cache/pkg/mod/k8s.io/klog@v1.0.0/klog.go:411 +0xd8

goroutine 6 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc0004d8aa0)
	/Users/bayandin/Library/Caches/Homebrew/go_mod_cache/pkg/mod/go.opencensus.io@v0.22.0/stats/view/worker.go:154 +0x105
created by go.opencensus.io/stats/view.init.0
	/Users/bayandin/Library/Caches/Homebrew/go_mod_cache/pkg/mod/go.opencensus.io@v0.22.0/stats/view/worker.go:32 +0x57
$ go version
go version go1.15 darwin/amd64
$ sw_vers 
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G12034

Expected result

  • kyma-darwin doesn't panic

Actual result

  • kyma-darwin panics

Steps to reproduce

  • Run make build-darwin using go 1.15 on High Sierra or Mojave
  • Run kyma-darwin

Troubleshooting

  • There is no crash is I use go 1.15 on Catalina or go 1.14 on High Sierra/Mojave

Metadata

Metadata

Assignees

Labels

area/cliRelated to all activities around CLIkind/bugCategorizes issue or PR as related to a bug.wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions