Instrumented each return from convM2S.c. j...@jdc-desktop:/n/sources/contrib/catenate/times$ sudo cp /home/jdc/contrib/latin1.7a.font . ap(9cd1a0) + size(b) == p(9cd1ab) ap(9d0510) + size(52) == p(9d0562) ap(9d04e0) + size(21) == p(9d0501) ap(9d02a0) + size(16) == p(9d02b6) ap(9d02a0) + size(b) == p(9d02ab) ap(9d0550) + size(5b) == p(9d05ab) ap(9d02a0) + size(b) == p(9d02ab) ap(9d0550) + size(5b) == p(9d05ab) ap(9d02a0) + size(b) == p(9d02ab) ap(9d04c0) + size(7) == p(9d04c7) ap(9d04e0) + size(21) == p(9d0501) ap(9cd1a0) + size(16) == p(9cd1b6) ap(9cd1a0) + size(b) == p(9cd1ab) ap(9d0570) + size(5b) == p(9d05cb) last return Oct 2 11:47:38.617 read bad packet from 5 n=62 nn=0 ap(9cd7d0) + size(7) == p(9cd7d7) ap(9cd7d0) + size(7) == p(9cd7d7) ap(9cd7d0) + size(7) == p(9cd7d7) ap(9cd7d0) + size(7) == p(9cd7d7) ap(9cd7d0) + size(7) == 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 <quans...@quanstro.net> wrote: >> My test case tries to copy a file over top of one that already exists. >> In 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. that's why i guessed > the problem message would be a Rwstat. perhaps i > gave the wrong line numbers? in 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 > >