This message was deleted.
# general
s
This message was deleted.
f
Stack trace from a recent failure:
Copy code
panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x98 pc=0xeaa730]

goroutine 129 [running]:
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*stepGenerator).AnalyzeResources.func1(0xc0015a4a20|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*stepGenerator).AnalyzeResources.func1(0xc0015a4a20>, 0x52, 0xc00014afc0, 0xc0021e5380)
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:1301 +0x130
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*resourceMap).mapRange.func1(0x1b305a0|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*resourceMap).mapRange.func1(0x1b305a0>, 0xc000884750, 0x190a5e0, 0xc00014afc0, 0x1)
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:126 +0x6b
sync.(*Map).Range(0xc001982630, 0xc000661810)
    /Users/runner/hostedtoolcache/go/1.15.6/x64/src/sync/map.go:345 +0x1d9
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*resourceMap).mapRange(0xc001982630|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*resourceMap).mapRange(0xc001982630>, 0xc000661970)
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:125 +0x55
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*stepGenerator).AnalyzeResources(0xc001cd9440|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*stepGenerator).AnalyzeResources(0xc001cd9440>, 0x2c1fd80, 0x0)
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/step_generator.go:1289 +0xac
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*deploymentExecutor).Execute(0xc0007d7640|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*deploymentExecutor).Execute(0xc0007d7640>, 0x20075a0, 0xc0007cb890, 0x7f47045c6c80, 0xc0015109a0, 0x7fffffff, 0x1, 0x2c1fd80, 0x0, 0x0, ...)
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment_executor.go:277 +0xae6
<http://github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*Deployment).Execute(...)|github.com/pulumi/pulumi/pkg/v2/resource/deploy.(*Deployment).Execute(...)>
    /Users/runner/work/pulumi/pulumi/pkg/resource/deploy/deployment.go:383
<http://github.com/pulumi/pulumi/pkg/v2/engine.(*deployment).run.func1|github.com/pulumi/pulumi/pkg/v2/engine.(*deployment).run.func1>(0x2012040, 0xc0015109a0, 0xc0011bea00, 0x20075a0, 0xc0007cb890, 0xc0007cb800, 0xc000b82f90, 0xc0007ccea0)
    /Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:251 +0x267
created by <http://github.com/pulumi/pulumi/pkg/v2/engine.(*deployment).run|github.com/pulumi/pulumi/pkg/v2/engine.(*deployment).run>
    /Users/runner/work/pulumi/pulumi/pkg/engine/deployment.go:237 +0x306
g
I believe you're hitting https://github.com/pulumi/pulumi/issues/5946. Would you mind adding more details about your Pulumi app and environment in a comment there to help us troubleshoot this?
f
Any updates on this issue ? I've reverted to 2.15.4 for the time being.
g
I saw some internal discussion around this, but don't have an ETA for you unfortunately. Sticking with 2.15.4 will be the best option for now.
f
I saw similar behavior when destroying a stack (with --refresh) on my windows machine FYI