Skip to content

Crash support: Restore crash context on filter's posted callback #16241

Closed

Description

@KBaichoo

Crash support: Restore crash context on filter's posted callback

Description:

There exists a variety of filters that stop iteration to make an asynchronous call that on completion calls back the filter. Lets call these cb_filters. The issue is that the context used for crash dumping gets lost. Hence if we crashed in this callstack, we’d be missing the crash dumps that we’d usually get.

Proposed solution:

  • cb_filters can easily reconstruct the crash dump context (the necessary ScopeTrackedObject) via a method on the ActiveStream / Filter Manager.
  • If cb_filters do not add the context themselves, we complain, and add restore the crash context at a common entry point such as commonContinue().

Activity

  1. added
    enhancement
    triage
    on Apr 29, 2021
  2. KBaichoo commented on Apr 29, 2021

    @KBaichoo
    ContributorAuthor

    /assign @KBaichoo

  3. removed
    triage
    on May 10, 2021
  4. antoniovicente commented on May 10, 2021

    @antoniovicente
    Contributor

    cc @alyssawilk @junr03

    Thanks for improving crash handlers by also dumping request information when filters are resumed via commonContinue().

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions