Skip to content

allocate_aux_stack/free_aux_stack locking issues #3069

@yamt

Description

@yamt

currently, allocate_aux_stack and free_aux_stack are called with cluster->lock held.
however, depending on configurations, they might end up with calling functions exported by the wasm module.
if the wasm does something which acquires cluster->lock, it would deadlock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions