3.0.7: assert in change_local_filter_dir failed

Dave Johnson dave-rsync-mailinglist at centerclick.org
Thu Jun 9 18:10:34 MDT 2011

I'm seeing the following assert:

rsync --archive --devices --specials --sparse --one-file-system --verbose --whole-file --numeric-ids --delete-before --hard-links --delete-excluded --exclude-from=/share/alliance-bind-local2/rsync.exclude.all --include-from=/share/alliance-bind-local2/rsync.include.all --include-from=/share/alliance-bind-local2/rsync.include.drive_a '--include=*/' '--exclude=*' --prune-empty-dirs /share/alliance-bind-local2/ /media/backup1/alliance-bind-local2/
building file list ... done
rsync: exclude.c:532: change_local_filter_dir: Assertion `dir_depth < 4096/2+1' failed.
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]

The include/exclude rules I am using are trying to accomplish the
 * exclude everything listed in rsync.exclude.all
 * include everything listed in either rsync.include.all or include.drive_a
 * exclude everything else

The 3 files contain:

$ cat /share/alliance-bind-local2/rsync.exclude.all
$ cat /share/alliance-bind-local2/rsync.include.all
$ cat /share/alliance-bind-local2/rsync.include.drive_a

Note that the paths of any file in the source and dest (both included or
excluded) are nowhere near 2K in length.  the longest path is probably
about 300 characters.

Any thoughts?

$ rsync --version
rsync  version 3.0.7  protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


More information about the rsync mailing list