I got the following message by invoking ./test/proxy-continues:
stream data not formatted as expected
stream data not formatted as expected
stream data not as expected (got 11 11 11 11, expected 10)
stream data not as expected (got 12 12 12 12, expected 10)
stream data not as expected (got 13 13 13 13, expected 10)
stream data not as expected (got 14 14 14 14, expected 10)
stream data not as expected (got 15 15 15 15, expected 10)
stream data not as expected (got 16 16 16 16, expected 10)
stream data not as expected (got 17 17 17 17, expected 10)
stream data not as expected (got 18 17 17 17, expected 10)
stream data not as expected (got 8 18 18 17, expected 10)
stream data not as expected (got 19 19 19 19, expected 10)
## cut here.

The first "stream data not formatted as expected" is because buf = "10
10 10".
The second "stream data not formatted as expected" is because buf = "
10\n0 10".

Seems there are some bad logic of cleaning the buffer somewhere in
librest or underlying libraries or even the kernel.

Also, do we have truss in kfreebsd? I really need something like strace
in Debian.
I use valgrind on Linux and got 0 error. So really wondering what
happened here.

My environment is installing kfreebsd inside virtualbox.

Yours Sincerely,
Paul

-- 
                                PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <paul...@debian.org>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to