Skip to content

Consider optionally setting up a signal handler that reports stack buffer overruns more nicely #59

Open
@nagisa

Description

@nagisa

The Rust runtime sets up a signal handler which enables it to produce a nicer message when a stack overflows, however this only works when the guard pages set up by the Rust standard library itself are hit. That is, for the main stack and for the stack of the threads created std::thread.

There may be value in stacker setting up a similar signal handler(s) for the guard pages it sets up by itself, but the functionality likely wants to be made optional (in order to reduce the cost of allocating/deallocating a stack region)

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