This was hard to debug, because I couldn't run valgrind: the pipe is configured to use 4 byte elements. But since size are expected as number of elements and we are using bytes, this leads to reading random memory when filling the pipe. Likewise target buffers will overflow randomly.
This was hard to debug, because I couldn't run valgrind: the pipe is configured to use 4 byte elements. But since size are expected as number of elements and we are using bytes, this leads to reading random memory when filling the pipe. Likewise target buffers will overflow randomly.
The fix is trivial.