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

Invalid memory address or nil pointer dereference #4059

Open
dalcorta opened this issue Aug 13, 2024 · 4 comments
Open

Invalid memory address or nil pointer dereference #4059

dalcorta opened this issue Aug 13, 2024 · 4 comments
Assignees
Labels
area/control-plane kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)

Comments

@dalcorta
Copy link

Describe the bug
I created a kafka source and associated it to a knative-broker. The consumer group stays in PropagateSubscriberURI status

Expected behavior
KafkaSource set to ready

To Reproduce
Created a Knative Broker, added a KafkaSource and set Knative Broker as Sink

Knative release version 1.15

Additional context
Log in kafka-controller with excpetion

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1c6aaf5]
goroutine 534 [running]:
[knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).deleteConsumerGroupMetadata(0xc00072e1e0](http://knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).deleteConsumerGroupMetadata(0xc00072e1e0), {0x261b758, 0xc00318cf60}, 0xc00095a388)
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup/consumergroup.go:304 +0x135
[knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).FinalizeKind(0xc00072e1e0](http://knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).FinalizeKind(0xc00072e1e0), {0x261b758, 0xc00318cf60}, 0xc00095a388)
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup/consumergroup.go:276 +0x5e5
[knative.dev/eventing-kafka-broker/control-plane/pkg/client/internals/kafka/injection/reconciler/eventing/v1alpha1/consumergroup.(*reconcilerImpl).Reconcile(0xc0007165a0](http://knative.dev/eventing-kafka-broker/control-plane/pkg/client/internals/kafka/injection/reconciler/eventing/v1alpha1/consumergroup.(*reconcilerImpl).Reconcile(0xc0007165a0), {0x261b758, 0xc00318cf30}, {0xc0028c5700, 0x33})
knative.dev/eventing-kafka-broker/control-plane/pkg/client/internals/kafka/injection/reconciler/eventing/v1alpha1/consumergroup/reconciler.go:249 +0x3b8
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc000c7cb40)

@dalcorta dalcorta added the kind/bug Categorizes issue or PR as related to a bug. label Aug 13, 2024
@Cali0707
Copy link
Member

/triage accepted
/area control-plane
/assign

@knative-prow knative-prow bot added triage/accepted Issues which should be fixed (post-triage) area/control-plane labels Aug 13, 2024
@Cali0707
Copy link
Member

@pierDipi @creydr I don't think I will be able to get to this issue before going back to school, can one of you take a look?

/unassign

@pierDipi
Copy link
Member

/assign

@jeremyrajan
Copy link

Any idea when this will be fixed? Or if there is a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)
Projects
None yet
Development

No branches or pull requests

4 participants