Skip to content

panic: assignment to entry in nil map in channelz.(*SubChannel).addChild #8110

Open
@Cluas

Description

NOTE: if you are reporting is a potential security vulnerability or a crash,
please follow our CVE process at
https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md instead of
filing an issue here.

Please see the FAQ in our main README.md, then answer the questions below
before submitting your issue.

What version of gRPC are you using?

v1.67.1

What version of Go are you using (go version)?

go 1.22

What operating system (Linux, Windows, …) and version?

linux amd64

What did you do?

If possible, provide a recipe for reproducing the error.

This is an occasional bug that occurs when an upstream service connected using stream restarts.

What did you expect to see?

no panic. Because this is a separate goroutine, it directly led to a large number of restarts of prod services(So what is the cause of the connection abnormality?).

func (acbw *acBalancerWrapper) Connect() {
	go acbw.ac.connect()
}

What did you see instead?

painc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions