From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 2 Oct 2009 11:52:06 -0500 Message-ID: From: Jason Catena To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] remedial sources auth, connect, and mount in plan9port Topicbox-Message-UUID: 7c7c138e-ead5-11e9-9d60-3106f5b1d025 Instrumented each return from convM2S.c. jdc@jdc-desktop:/n/sources/contrib/catenate/times$ sudo cp /home/jdc/contrib/latin1.7a.font . ap(9cd1a0) + size(b) =3D=3D p(9cd1ab) ap(9d0510) + size(52) =3D=3D p(9d0562) ap(9d04e0) + size(21) =3D=3D p(9d0501) ap(9d02a0) + size(16) =3D=3D p(9d02b6) ap(9d02a0) + size(b) =3D=3D p(9d02ab) ap(9d0550) + size(5b) =3D=3D p(9d05ab) ap(9d02a0) + size(b) =3D=3D p(9d02ab) ap(9d0550) + size(5b) =3D=3D p(9d05ab) ap(9d02a0) + size(b) =3D=3D p(9d02ab) ap(9d04c0) + size(7) =3D=3D p(9d04c7) ap(9d04e0) + size(21) =3D=3D p(9d0501) ap(9cd1a0) + size(16) =3D=3D p(9cd1b6) ap(9cd1a0) + size(b) =3D=3D p(9cd1ab) ap(9d0570) + size(5b) =3D=3D p(9d05cb) last return Oct 2 11:47:38.617 read bad packet from 5 n=3D62 nn=3D0 ap(9cd7d0) + size(7) =3D=3D p(9cd7d7) ap(9cd7d0) + size(7) =3D=3D p(9cd7d7) ap(9cd7d0) + size(7) =3D=3D p(9cd7d7) ap(9cd7d0) + size(7) =3D=3D p(9cd7d7) ap(9cd7d0) + size(7) =3D=3D p(9cd7d7) cp: cannot create regular file `./latin1.7a.font': Connection reset by peer Jason Catena On Thu, Oct 1, 2009 at 22:11, erik quanstrom wrote: >> My test case tries to copy a file over top of one that already exists. >> =A0In this case, the bug decided to flit right by the check at >> convM2S.c:216,217. > > i thought the original problem was trying to change > modes or permissions on a file. =A0that's why i guessed > the problem message would be a Rwstat. =A0perhaps i > gave the wrong line numbers? =A0in any event, you're > doing writes with your current example, so you > may wish to instrument all the cases in M2S that > return 0. > > - erik > >