Issue description
For example:
$ cat a-large-file | my-ego-program
This will take long time, more than 10minutes with CPU usage
And the main thread block's backtrace:
Others like:
The strace output:
After I changed the piped stdin to FD based stdin, it works as expect!