From owner-freebsd-current Wed Oct 23 9: 1:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7934737B401 for ; Wed, 23 Oct 2002 09:01:09 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020AE43E65 for ; Wed, 23 Oct 2002 09:01:06 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 184Nva-00026z-00; Wed, 23 Oct 2002 18:00:14 +0200 Date: Wed, 23 Oct 2002 18:00:14 +0200 From: Sheldon Hearn To: Vitaly Markitantov Cc: current@FreeBSD.ORG Subject: Re: smbfs broken? Message-ID: <20021023160014.GM661@starjuice.net> Mail-Followup-To: Vitaly Markitantov , current@FreeBSD.ORG References: <3DB664D0.FE0B8018@mindspring.com> <20021023152144.GA10351@iron.del.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021023152144.GA10351@iron.del.local> User-Agent: Mutt/1.5.1i X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *184Nva-00026z-00*g2hc8RLgMt.* Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message