cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Wrong data received in a write callback

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 16 May 2007 13:24:22 +0200

Nicolas Martin wrote:
> 2957,2959c2957,2959
> 000b8d0 4160 6e7f 1a99 9b03 7223 d368 11ec 23f3
> 000b8e0 4619 32f9 a434 6dd4 f9b6 81e1 a203 4bc2
> 000b8f0 e04e 578a c3df 4812 906a afbe d3ff fee5
> ---
> 000b8d0 4160 6e7f 1a99 9b03 7223 0100 0010 0200
> 000b8e0 0020 d940 c5d2 13e0 c44f 0000 0000 3300
> 000b8f0 c61c 7ed4 c00c 0100 0010 afbe d3ff fee5
>
> I dumped the data received in the write callback (*ptr) and noticed
> that this data is already faulty (i.e it's not a problem of i/o disk).
>
> The software compiled for a i386 platform never yields this problem,
> hence it is a problem on the platform side.

Since it is exactly 32 bytes that are changed, I would suspect a cache
problem. Are the cache lines by any chance 32 bytes on that platform?

Linus
Received on 2007-05-16