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

restart gateway ,HandleSubscription panic #734

Closed
zhshw opened this issue Nov 17, 2022 · 4 comments · Fixed by #745
Closed

restart gateway ,HandleSubscription panic #734

zhshw opened this issue Nov 17, 2022 · 4 comments · Fixed by #745
Assignees
Labels
kind/bug Something isn't working

Comments

@zhshw
Copy link

zhshw commented Nov 17, 2022

Description:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x1722fb5]

goroutine 842 [running]:
github.com/envoyproxy/gateway/internal/xds/server/runner.(*Runner).subscribeAndTranslate.func1({{0xc000cce100?, 0xc0009d35e0?}, 0x4e?, 0xc0004021a8?})
/home/runner/work/gateway/gateway/internal/xds/server/runner/runner.go:131 +0x55
github.com/envoyproxy/gateway/internal/message.HandleSubscription[...](0x0?, 0xc000db9f98?)
/home/runner/work/gateway/gateway/internal/message/watchutil.go:28 +0xab
github.com/envoyproxy/gateway/internal/xds/server/runner.(*Runner).subscribeAndTranslate(0xc0016d1e80, {0x1e53990?, 0xc00062fc40?})
/home/runner/work/gateway/gateway/internal/xds/server/runner/runner.go:121 +0x75
created by github.com/envoyproxy/gateway/internal/xds/server/runner.(*Runner).Start
/home/runner/work/gateway/gateway/internal/xds/server/runner/runner.go:73 +0x165

@zhshw zhshw added the kind/bug Something isn't working label Nov 17, 2022
@zhshw zhshw changed the title restart gateway ,HandleSubscription crash restart gateway ,HandleSubscription panic Nov 17, 2022
@Xunzhuo
Copy link
Member

Xunzhuo commented Nov 17, 2022

Thanks for raising it, I will take a look later this day.

@Xunzhuo
Copy link
Member

Xunzhuo commented Nov 17, 2022

@zhshw which EG version is used?

@zhshw
Copy link
Author

zhshw commented Nov 18, 2022

@zhshw which EG version is used?

v0.2.0

@Xunzhuo
Copy link
Member

Xunzhuo commented Nov 18, 2022

Can you provide more context on this?

Like how to reproduce this, just delete envoy gateway pod and let it recreate one?

@zhshw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants