Skip to content

modifying httpRoute crd cause istiod segfault #56456

@erikwoo

Description

@erikwoo

Is this the right place to submit this?

  • This is not a security vulnerability or a crashing bug
  • This is not a question about how to use Istio

Bug Description

2025-05-29 19:56:55.583	
panic: runtime error: invalid memory address or nil pointer dereference

	2025-05-29 19:56:55.583	
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x293797d]
	2025-05-29 19:56:55.583	
goroutine 71 [running]:
	2025-05-29 19:56:55.583	
istio.io/istio/pilot/pkg/config/kube/gateway.NewController.func3(0xc0068a6470?)

	2025-05-29 19:56:55.583	
	istio.io/istio/pilot/pkg/config/kube/gateway/controller.go:316 +0x1d
	2025-05-29 19:56:55.583	
istio.io/istio/pilot/pkg/config/kube/gateway.NewController.pushXds[...].func9()
	2025-05-29 19:56:55.583	
	istio.io/istio/pilot/pkg/config/kube/gateway/controller.go:490 +0x1ea
	2025-05-29 19:56:55.583	
istio.io/istio/pkg/kube/krt.(*processorListener[...]).run(0x3f3dd60)
	2025-05-29 19:56:55.583	
	istio.io/istio/pkg/kube/krt/processor.go:253 +0x1d3
	2025-05-29 19:56:55.583	
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
	2025-05-29 19:56:55.583	
	k8s.io/apimachinery@v0.32.3/pkg/util/wait/wait.go:72 +0x4c
	2025-05-29 19:56:55.583	
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start in goroutine 1
	2025-05-29 19:56:55.583	
	k8s.io/apimachinery@v0.32.3/pkg/util/wait/wait.go:70 +0x73

Version

$ istioctl version
client version: 1.24.2
control plane version: 59298be039c3edda863fc338eac7b37c2751469f
data plane version: 1.26.0 (98 proxies)
$ kubectl version
Client Version: v1.32.2
Kustomize Version: v5.5.0
Server Version: v1.31.1-aliyun.1

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions