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.
atomic-dbg has a
PIPE_BUF-sized buffer which gets allocated on the stack. This is enough to quickly overflow stacks, especiallySIGSTKSZ-sized stacks for signal handlers.Perhaps
atomic-dbgshould use anmmaped buffer so that it doesn't use so much stack space.