-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
tls context manager: failing assertion in destructor #10030
Comments
This adds a call to clear out deferred deletions during server shutdown - this ensures that we dont have any lingering deletions that retain a handle to a ClusterInfo which prevents the SslContext from being released from the manager. Fixes envoyproxy#10030 Signed-off-by: Snow Pettersen <[email protected]>
related, a fuzz bug caught this a while back, and i gave it a stab to fix: #8553 |
Thank you @asraa! |
Description: Pulls in multiple fixes committed to upstream Envoy. - Update for resolution to TLSContext crash: envoyproxy/envoy#10030 - Fixes for 32 bit archs: envoyproxy/envoy#11726 - Fix for missing posix call on Android: envoyproxy/envoy#12081 - Additional zlib stats: envoyproxy/envoy#11782 Signed-off-by: Mike Schore <[email protected]>
I think this is fixed. |
The codebase still contains a In the code, I see:
And it manifests as:
Is there an actual known issue still, or is this an unrelated/new bug, and that KNOWN_ISSUE_ASSERT should be updated to not point at this issue? |
@mattklein123 @goaway thoughts on the above? |
I think this is probably a different issue. If you can reproduce it can we debug it directly? |
I reproduced this error when the certificate pem file path is missing:
with such a YAML:
I'm not sure if it's related, hope it helps. |
Description: Pulls in multiple fixes committed to upstream Envoy. - Update for resolution to TLSContext crash: #10030 - Fixes for 32 bit archs: #11726 - Fix for missing posix call on Android: #12081 - Additional zlib stats: #11782 Signed-off-by: Mike Schore <[email protected]> Signed-off-by: JP Simard <[email protected]>
Description: Pulls in multiple fixes committed to upstream Envoy. - Update for resolution to TLSContext crash: #10030 - Fixes for 32 bit archs: #11726 - Fix for missing posix call on Android: #12081 - Additional zlib stats: #11782 Signed-off-by: Mike Schore <[email protected]> Signed-off-by: JP Simard <[email protected]>
Title: The assertion in Tls::ContextManagerImpl's destructor may sometimes fail.
Description:
When a Tls::ContextManagerImpl is destructed due to an Envoy Server::InstanceImpl being destructed, the ASSERT in the destructor may fail. There's a call immediately above to removeEmptyContexts() which seems to imply that either some contexts are not yet empty and/or removeEmptyContexts() is not performing as expected. Whether this represents an actual bug in the code, or simply an unexpected but benign set of circumstances is unknown.
[Relevant Links:]
For a detailed stack trace, see this Envoy Mobile issue:
envoyproxy/envoy-mobile#572
The text was updated successfully, but these errors were encountered: