On (2002/10/23 18:21), Vitaly Markitantov wrote:

> > Umm, guys.  The code was dereferencing NULL pointers in the mbchain
> > code which was fixed yesterday.  Please test it out with the fixed
> > mbchains code.
> 
>  Yes, it not panics now, but again, when i copy to/from
>  smbfs share i get:
> 
>  cp /share/someFile ./
>  cp: ./someFile: Bad address

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)

I don't have my laptop set up as a serial debugging client now, so
that's as far as I can go. :-(

Ciao,
Sheldon.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to