-
Notifications
You must be signed in to change notification settings - Fork 30
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
SIGSEGV: segmentation violation code when running backup alertsconditions #9
Comments
Hi @ramneetm Thank for your requesting, I will take a look at it. Thanks! |
Hi @ramneetm I can not reproduce this The error occurred while calling Thanks! |
@ramneetm Can you share the New Relic account (account number) you are using for this test? I will try to replicate the problem |
I restored the monitors you sent me and I created alert conditions,did the backup alertsconditions, although there are some error output, but it still succeed. So far, It seems that it was difficult to identify root cause.
|
SIGSEGV: segmentation violation code
$ ./nr backup alertsconditions -d /Users/rmalhotra
Start to backup all alertsconditions to '/Users/rmalhotra' folder
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x1378246]
goroutine 1 [running]:
github.com/IBM/newrelic-cli/cmd/get.GetMonitorByID(0xc00018d140, 0x24, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/rmalhotra/go/src/github.com/IBM/newrelic-cli/cmd/get/get_monitor.go:89 +0x3c6
github.com/IBM/newrelic-cli/cmd/backup.glob..func1(0x18b2c60, 0xc00007a8c0, 0x0, 0x2)
/Users/rmalhotra/go/src/github.com/IBM/newrelic-cli/cmd/backup/backup_alertsconditions.go:145 +0x526
github.com/spf13/cobra.(*Command).execute(0x18b2c60, 0xc00007a880, 0x2, 0x2, 0x18b2c60, 0xc00007a880)
/Users/rmalhotra/go/src/github.com/spf13/cobra/command.go:766 +0x2cc
github.com/spf13/cobra.(*Command).ExecuteC(0x18b2080, 0x18b2540, 0x18b7ac0, 0x0)
/Users/rmalhotra/go/src/github.com/spf13/cobra/command.go:852 +0x2fd
github.com/spf13/cobra.(*Command).Execute(0x18b2080, 0x1005390, 0xc00007e058)
/Users/rmalhotra/go/src/github.com/spf13/cobra/command.go:800 +0x2b
github.com/IBM/newrelic-cli/cmd.Execute()
/Users/rmalhotra/go/src/github.com/IBM/newrelic-cli/cmd/root.go:56 +0x2d
main.main()
/Users/rmalhotra/IBM/newrelic-cli/nr.go:20 +0x20
The text was updated successfully, but these errors were encountered: