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

Crash #3962

Closed
ghost opened this issue Mar 28, 2018 · 3 comments
Closed

Crash #3962

ghost opened this issue Mar 28, 2018 · 3 comments
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/elbv2 Issues and PRs that pertain to the elbv2 service.
Milestone

Comments

@ghost
Copy link

ghost commented Mar 28, 2018

This issue was originally opened by @majkelcc as hashicorp/terraform#17715. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.11.5
+ provider.aws v1.12.0

Terraform Configuration Files

...

Debug Output

Crash Output

https://gist.github.com/majkelcc/579736ffe449fdc15fe3ea8d953837d9

Expected Behavior

Actual Behavior

Steps to Reproduce

Additional Context

References

@ghost ghost mentioned this issue Mar 28, 2018
@bflad
Copy link
Contributor

bflad commented Mar 28, 2018

@majkelcc thanks for the report. Normally we would want the rest of the information filled in, but given this snippet of the crash log:

2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d4e5da]
2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4:
2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: goroutine 193 [running]:
2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.flattenAwsLbTargetGroupResource(0xc4202f48c0, 0x264d900, 0xc420090a00, 0xc420300000, 0x0, 0x0)
2018-03-28T19:42:35.525Z [DEBUG] plugin.terraform-provider-aws_v1.12.0_x4: 	/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_lb_target_group.go:468 +0x5fa

This duplicates #3949 and #3953, which were fixed in #3954. It was merged into master today and will release with v1.13.0 of the AWS provider next week unless we keep seeing more of these reports, which then we'll push the release out sooner as it looks like it is being caused by a backend API update.

@bflad bflad closed this as completed Mar 28, 2018
@bflad bflad added this to the v1.13.0 milestone Mar 28, 2018
@bflad bflad added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/elbv2 Issues and PRs that pertain to the elbv2 service. labels Mar 28, 2018
@bflad
Copy link
Contributor

bflad commented Mar 28, 2018

Please don't be alarmed, but locking this issue to focus everyone to the original report #3949. The fix is in master and we likely are going to release v1.13.0 immediately.

@hashicorp hashicorp locked as resolved and limited conversation to collaborators Mar 28, 2018
@bflad
Copy link
Contributor

bflad commented Mar 29, 2018

This has been released in version 1.13.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/elbv2 Issues and PRs that pertain to the elbv2 service.
Projects
None yet
Development

No branches or pull requests

1 participant