tag 25149 notabug close 25149 stop On 09/12/16 18:28, Jaime Gaspar wrote: > read(3, > "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) > = 32767
OK we've read all we can, but to verify md5sum will do: fread(buffer + 32767, 1, 1, stream) Then the stdio stream will issue the underlying read()s I'm not too sure where there are two reads here, but they shouldn't be returning EINVAL, but just returning 0 to indicate EOF. > read(3, 0x25c12b0, 8192) = -1 EINVAL (Invalid argument) > read(3, 0x25c12b0, 8192) = -1 EINVAL (Invalid argument) So it's a kernel bug as suspected. thanks, Pádraig
