origin
origin copied to clipboard
atomic-dbg's log buffer is too big
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.