Created attachment 4770 [details] proposed patch root cause of https://bugzilla.yoctoproject.org/show_bug.cgi?id=14170 to reproduce this kind of issue: make a ptest-run script to output a lot of data ex: echo {1..1000000}\\n echo will actually crash if you run it with ptest-runner i think it is because in the source code of ptest-runner, the parent process is reading from a non-blocking pipe and writing to a blocking stdout in a loop. pipe might be full if parent is blocked. attached is a proposed solution.
Put the reader in a separate thread.
Patches sent to ML and dev branch, https://github.com/alimon/ptest-runner2/tree/ptest_fixes
Patches in the ptest-runner, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=acbba90532053437ec7f251eaf1c02fcdaf4288e http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=cce0edb4282ee081d043030bfdf29f3e4052f86c Recipe bump to 2.4.1 in the ML.
Merge at, https://git.openembedded.org/openembedded-core/commit/?id=e3fd8f17dfb41173dbe037c25087a69f90b1346f