[Bug 8666] --debug=all9 fail

samba-bugs at samba.org samba-bugs at samba.org
Fri Dec 16 19:07:13 MST 2011


https://bugzilla.samba.org/show_bug.cgi?id=8666

--- Comment #2 from Chris Dunlop <chris at onthe.net.au> 2011-12-17 02:07:13 UTC ---
Note: This is all with git master a3b62ff4 and link-by-hash.diff from 0b614560,
with the two io.c rprintf() calls mentioned previously patched out. I'm pretty
sure link-by-hash.diff isn't the cause of the problem.

Running with -vv works, running with -vvv fails with an apparently out of sync
IO stream, e.g. this sort of thing showing up:

2011/12/17 12:08:04 [2039] recv_generator(x/x xxxxxxxxxxx xxxxxxxx xxxxxxxx/xx
- xxx xxxxx xxxx/xx_xxxxxxx xxxxxxxx/xx xxxxxxxx/(xx-xx) xx xxxxxxxx - xxx
x.pdf,408)
2011/12/17 12:08:04 [2039] [generator] receiving flist for dir 1964904705
2011/12/17 12:08:04 [2039] recv_file_name(x/x xxxxxxxxxxx xxxxxxxx xxxxxxxx/xx
- xxx xxxxx xxxx/xx_xxxxxxx xxxxxxxx/xx xxxxxxxx/xx xxxxxxxxx xx.rsync.%stat)
2011/12/17 12:08:04 [2039] receive_xattr: xa index 57 out of range for x/x
xxxxxxxxxxx xxxxxxxx xxxxxxxx/xx - xxx xxxxx xxxx/xx_xxxxxxx xxxxxxxx/xx
xxxxxxxx/xx xxxxxxxxx x^A<B0><D2>I!<B3>^R9>^R<86>^xxx-xxxx) xxx
x.pdf^A^eI7T;9>^R<8B>^Mxx) xxx x.pdf^AgaI]P;9>^R<8A>^N125) xxx
x.pdf^A<EE>cI<D9>T;9>^R<85>^SBR2-3011)
2011/12/17 12:08:04 [2039] rsync error: error in rsync protocol data stream
(code 12) at xattrs.c(669) [generator=3.1.0dev]
2011/12/17 12:08:04 [2039] [generator] _exit_cleanup(code=12, file=xattrs.c,
line=669): about to call exit(12)
2011/12/17 12:08:04 [2040] rsync: [receiver] write error: Broken pipe (32)

Note the 'rsync.%stat' in the 3rd line above - the io stream has somehow gotten
out of sync such that an xattr is turning up in the file name. I'm also not
sure about that very large "flist for dir" on the 2nd line above, that looks
out of the ordinary.

I have:

rsync-test --info=help
Options added for each increase in verbose level:
1) COPY,DEL,FLIST,MISC,NAME,STATS,SYMSAFE
2) BACKUP,MISC2,MOUNT,NAME2,REMOVE,SKIP

rsync-test --debug=help
Options added for each increase in verbose level:
2) BIND,CONNECT,CMD,DEL,DELTASUM,DUP,FILTER,FLIST,ICONV
3)
ACL,BACKUP,CONNECT2,DEL2,DELTASUM2,EXIT,FILTER2,FLIST2,FUZZY,GENR,OWN,RECV,SEND,TIME
4) CMD2,DEL3,DELTASUM3,EXIT2,FLIST3,ICONV2,OWN2,PROTO,TIME2
5) CHDIR,DELTASUM4,FLIST4,FUZZY2,HASH,HASHLINK,HLINK

...and running with "-vv
--debug=ACL,BACKUP,CONNECT2,DEL2,DELTASUM2,EXIT,FILTER2,FLIST2,GENR,SEND"
works,
but adding in any of the other level 3 options (FUZZY,OWN,RECV,TIME) makes it
stop working.

Note also that it doesn't seem to be entirely consistent as some of the option
combinations fail whereas individual components of that combination might work,
e.g.:

-vv --debug=FILTER2,FLIST2,FUZZY  fails
-vv --debug=FILTER2,FLIST2        ok
-vv --debug=FUZZY                 ok


Cheers,

Chris.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list