istio: linter crashes due to segfault

When running make lint or bin/linters.sh -s HEAD^, the linter crashes with a SIGSEGV

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

How to reproduce? Sync to master, then run make lint or bin/linters.sh -s HEAD^

Update: seems to happen only on gLinux, but not macOS.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 23 (22 by maintainers)

Most upvoted comments

Not sure, but I think Maria has enough stuff to deal with 🙂. I can confirm it fails on my gLinux as well, although I think it passed on my (linux) laptop. The crash is from golangci not something we wrote, so maybe we should file a bug with them.

@kyessenov and @geeknoid I have seen working with the linter if you guys have any ideas