On (2002/10/23 18:00), Sheldon Hearn wrote:
> Confirmed with rev 1.9 of subr_mchain.c.
>
> However, I notice that this only happens with files of 8145 bytes size
> or larger.
>
> [server]
> # for i in `jot 512 7680`; do
> dd if=/dev/zero of=$i bs=$i count=1
> done 2>/dev/null
>
> [client]
> $ for i in `jot 512 7680`; do
> cp /smb/urchin/pub/bytes/$i . || break;
> done
> cp: ./8145: Bad address
>
> If I truss the cp process, I get this:
>
> [...]
> open("/smb/urchin/pub/bytes/8145",0x0,00) = 3 (0x3)
> open("./8145",0x401,00) = 4 (0x4)
> mmap(0x0,8145,0x1,0x1,3,0x0) = 671461376 (0x2805b000)
Actually, cat(1) is a simpler test case, and more accurately reflects
the problem:
open("/smb/urchin/pub/bytes/8145",0x0,00) = 3 (0x3)
fstat(1,0xbfbff620) = 0 (0x0)
read(0x3,0x805e000,0x2000) ERR#60 'Operation timed out'
Ciao,
Sheldon.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message