Skip to content

atomic-dbg's log buffer is too big #22

@sunfishcode

Description

@sunfishcode

atomic-dbg has a PIPE_BUF-sized buffer which gets allocated on the stack. This is enough to quickly overflow stacks, especially SIGSTKSZ-sized stacks for signal handlers.

Perhaps atomic-dbg should use an mmaped buffer so that it doesn't use so much stack space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions