Skip to content

Make ENVOY_BUG only log critical in official debug builds #14957

Closed

Description

@asraa

Given that WASM has been seeing ENVOY_BUG crashes, we should consider adding a compile time flag that makes ENVOY_BUG only log critical/increment stat and NOT abort, even in debug mode.

We may want release branches to be non-crashing in official debug releases for the next few releases until extensions are safe and ENVOY_BUG conditions are fixed.

See proxy-wasm/proxy-wasm-cpp-host#95

cc @PiotrSikora: If we view ENVOY_BUGs as at least as strong as ASSERTs, why shouldn't they crash in debug mode? ASSERTs are also subject to being buggy.

Activity

  1. PiotrSikora commented on Feb 5, 2021

    @PiotrSikora
    Contributor

    Note: it's not only Wasm but also ext_authz (and possibly ext_proc).

    cc @PiotrSikora: If we view ENVOY_BUGs as at least as strong as ASSERTs, why shouldn't they crash in debug mode? ASSERTs are also subject to being buggy.

    That's a very good point. It might be that we just only to fix this single buggy ENVOY_BUG.

  2. github-actions commented on Mar 7, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

  3. added
    stale
    on Mar 7, 2021
  4. github-actions commented on Mar 14, 2021

    @github-actions

    This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

  5. bianpengyuan commented on Mar 15, 2021

    @bianpengyuan
    Contributor

    Can we please reopen this? Thanks!

  6. mattklein123 commented on Mar 15, 2021

    @mattklein123
    Member

    I think per above we decided to just fix the buggy ENVOY_BUGs? Do we need to reopen this?

  7. added a commit that references this issue on Mar 15, 2021
    6d1e6a0
  8. PiotrSikora commented on Mar 15, 2021

    @PiotrSikora
    Contributor

    @mattklein123 yeah, but that didn't happen yet, so let's reopen until the offending ENVOY_BUG is fixed (see: #15496).

  9. removed
    stale
    on Mar 15, 2021
  10. added a commit that references this issue on Mar 24, 2021
    f7bbd31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions