Skip to content

nil pointer deference when updating process group during deploy #4528

@eliferrous

Description

@eliferrous

for _, machPair := range machineTuples {

panic: runtime error: invalid memory address or nil pointer dereference
2024-11-22T14:04:49.7325598Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x20f983e]
2024-11-22T14:04:49.7326218Z
2024-11-22T14:04:49.7326919Z goroutine 73418 [running]:
2024-11-22T14:04:49.7327955Z github.com/superfly/flyctl/internal/command/deploy.(*machineDeployment).updateProcessGroup.func1()
2024-11-22T14:04:49.7329492Z /home/runner/work/flyctl/flyctl/internal/command/deploy/plan.go:340 +0x1e
2024-11-22T14:04:49.7330440Z golang.org/x/sync/errgroup.(*Group).Go.func1()
2024-11-22T14:04:49.7331597Z /home/runner/go/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:78 +0x56
2024-11-22T14:04:49.7332605Z created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 68623
2024-11-22T14:04:49.7333837Z /home/runner/go/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:75 +0x96
2024-11-22T14:04:49.7446409Z ##[error]Process completed with exit code 2.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions