Skip to content

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

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.

Activity

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

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