Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running cortex cluster export throws a panic error #2414

Closed
RobertLucian opened this issue Jan 8, 2022 · 0 comments · Fixed by #2415
Closed

Running cortex cluster export throws a panic error #2414

RobertLucian opened this issue Jan 8, 2022 · 0 comments · Fixed by #2415
Labels
bug Something isn't working
Milestone

Comments

@RobertLucian
Copy link
Member

Version

0.41

Description

Running cortex cluster export throws a panic error. As reported by Dipen Chawla in https://cortex-dot-dev.slack.com/archives/C01KHQRUWNT/p1641561660007800.

Stack traces

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=0x30d9e1b]

goroutine 1 [running]:
github.com/cortexlabs/cortex/pkg/lib/exit.Panic(0x3c94620, 0xc000477d10, 0x0, 0x0, 0x0)
	/home/circleci/project/pkg/lib/exit/exit.go:60 +0x1b5
github.com/cortexlabs/cortex/pkg/lib/exit.RecoverAndExit(0x0, 0x0, 0x0)
	/home/circleci/project/pkg/lib/exit/exit.go:66 +0xa5
panic(0x345dba0, 0x5093590)
	/usr/local/go/src/runtime/panic.go:965 +0x1b9
github.com/cortexlabs/cortex/cli/cmd.glob..func5(0x50b1140, 0xc0003f9b80, 0x0, 0x4)
	/home/circleci/project/cli/cmd/cluster.go:767 +0x59b
github.com/spf13/cobra.(*Command).execute(0x50b1140, 0xc0003f9b40, 0x4, 0x4, 0x50b1140, 0xc0003f9b40)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:863 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0x50b2b80, 0xc0007bff40, 0x1, 0x1)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:977 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	/home/circleci/go/pkg/mod/github.com/spf13/cobra@v1.2.0/command.go:905
github.com/cortexlabs/cortex/cli/cmd.Execute()
	/home/circleci/project/cli/cmd/root.go:171 +0x305
main.main()
	/home/circleci/project/cli/main.go:24 +0x25
@RobertLucian RobertLucian added the bug Something isn't working label Jan 8, 2022
@deliahu deliahu added this to the v0.42 milestone Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants