Skip to content

Panic in host func poisions associated mutex #814

Closed

Description

@ludfjig

If calling a host function that panics, the host function will not be callable again due to lock in impl_host_function being poisoned

Activity

  1. added
    lifecycle/confirmedBug is verified or proposal seems reasonable
    and removed on Aug 27, 2025
  2. added this to the v0.10.0 milestone on Aug 27, 2025
  3. ludfjig commented on Sep 17, 2025

    @ludfjig
    ContributorAuthor

    Related to #868

  4. modified the milestones: v0.10.0, v0.11.0 on Oct 1, 2025
  5. devigned commented on Oct 22, 2025

    @devigned
    Contributor

    We believe this may go away w/ sec comp.

  6. ludfjig commented on Nov 3, 2025

    @ludfjig
    ContributorAuthor

    Indeed, after removing seccomp in #971, a host function that panics will just be like any other panic and abort the process, since we don't have a separate thread. This is good and intended behavior.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions