-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
With the latest update (v1.57.0) I cannot run deploy my sysdig stacks anymore because the provider plugin crashes. Here's the crash report:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc13dc0]
goroutine 169 [running]:
github.com/draios/terraform-provider-sysdig/sysdig/internal/client/v2.(*OrganizationSecure).Reset(0x1c036b0?)
<autogenerated>:1
google.golang.org/protobuf/proto.Reset({0x13eb7c0?, 0x0?})
google.golang.org/[email protected]/proto/reset.go:18 +0x4e
google.golang.org/protobuf/encoding/protojson.UnmarshalOptions.unmarshal({{}, 0x0, 0x1, {0x0, 0x0}, 0x0}, {0xc001bc2000, 0x2bb291, 0x34a000}, {0x13eb7c0, ...})
google.golang.org/[email protected]/encoding/protojson/decode.go:70 +0x70
google.golang.org/protobuf/encoding/protojson.UnmarshalOptions.Unmarshal(...)
google.golang.org/[email protected]/encoding/protojson/decode.go:63
github.com/draios/terraform-provider-sysdig/sysdig/internal/client/v2.(*Client).unmarshalCloudauthProto(0xc00080d0a0?, {0x13f1060?, 0xc000de6000?}, {0x13eb7c0, 0x0})
github.com/draios/terraform-provider-sysdig/sysdig/internal/client/v2/cloudauth.go:153 +0xaf
github.com/draios/terraform-provider-sysdig/sysdig/internal/client/v2.(*Client).GetOrganizationSecure(0xc0006fc870, {0x13f5488, 0xc0004ad650}, {0xc000b07b00?, 0xc0004ad650?})
github.com/draios/terraform-provider-sysdig/sysdig/internal/client/v2/organization.go:67 +0x12b
github.com/draios/terraform-provider-sysdig/sysdig.resourceSysdigSecureOrganizationRead({0x13f5488, 0xc0004ad650}, 0xc000e17dd0, {0x10eea20?, 0xc0000cf360?})
github.com/draios/terraform-provider-sysdig/sysdig/resource_sysdig_secure_organization.go:135 +0x1bd
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0004a5300, {0x13f53e0, 0xc0005f6090}, 0xc000e17dd0, {0x10eea20, 0xc0000cf360})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:866 +0x119
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0004a5300, {0x13f53e0, 0xc0005f6090}, 0xc0007e12b0, {0x10eea20, 0xc0000cf360})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:1162 +0x52a
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc0006fc0d8, {0x13f53e0?, 0xc0005b9f50?}, 0xc000a2a780)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:908 +0xb6d
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc000156c80, {0x13f53e0?, 0xc0005b9770?}, 0xc0004acf50)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:859 +0x2f3
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x1129b80, 0xc000156c80}, {0x13f53e0, 0xc0005b9770}, 0xc000a95800, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:651 +0x1a9
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000124600, {0x13f53e0, 0xc0005b96e0}, 0xc00051f800, 0xc00055d740, 0x1c13c58, 0x0)
google.golang.org/[email protected]/server.go:1405 +0x1036
google.golang.org/grpc.(*Server).handleStream(0xc000124600, {0x13f5f70, 0xc0007be000}, 0xc00051f800)
google.golang.org/[email protected]/server.go:1815 +0xb88
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/[email protected]/server.go:1035 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 52
google.golang.org/[email protected]/server.go:1046 +0x11d
Error: The terraform-provider-sysdig_v1.57.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.```
Metadata
Metadata
Assignees
Labels
No labels