Skip to content

fault: destroy rate limiter during reset#7327

Merged
mattklein123 merged 3 commits intomasterfrom
fix_fault_filter
Jun 20, 2019
Merged

fault: destroy rate limiter during reset#7327
mattklein123 merged 3 commits intomasterfrom
fix_fault_filter

Conversation

@mattklein123
Copy link
Copy Markdown
Member

Probably related to #7179

Risk Level: Low
Testing: New UT
Docs Changes: N/A
Release Notes: N/A

Probably related to #7179

Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Matt Klein <mklein@lyft.com>
Signed-off-by: Matt Klein <mklein@lyft.com>
Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codewise LGTM, though I'm not sure how this fix #7179?

@mattklein123
Copy link
Copy Markdown
Member Author

Codewise LGTM, though I'm not sure how this fix #7179?

I'm not sure it is related, but I suspect it is. I think the sequence is:

  1. Downstream reset
  2. Rate limit timer fires and tries to write data to destroyed stream.
  3. Heap corruption.

As a follow up I'm going to look at the HCM and potentially put in some release asserts that would catch this, as this type of issue is very hard to debug in general.

@mattklein123 mattklein123 merged commit 9dd4ded into master Jun 20, 2019
@mattklein123 mattklein123 deleted the fix_fault_filter branch June 20, 2019 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants