david reinares
2008-May-19 11:07 UTC
source-filter_dest-filter patch failing with rsync 3.0.0
I'm using the source-filter option in this patch with the command rsync.exe -a -v -e ssh --source-filter="/cygdrive/c/openssl.exe enc -des3 -pass pass:whatever -a" /cygdrive/c/backup user@dir: to crypt files to be sent at source with openssl. At some point rsync fails an i get 104435520 [main] rsync 1040 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 104436464 [main] rsync 1040 open_stackdumpfile: Dumping stack trace to rsync.exe.stackdump 107286788 [main] rsync 1040 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 107318448 [main] rsync 1040 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack). I know this patch was updated for rsync 2.6.9 because it failed, but i think it's not been updated later....i need to use version 3.0.x because of the --iconv option. I've performed an strace and the output for the error was: 50 9020694 [main] rsync 1040 fhandler_disk_file::readdir: 0 = readdir (0x100875D0, 0x22AE84) (Header.html) 110 9020804 [main] rsync 1040 lstat64: entering 57 9020861 [main] rsync 1040 normalize_posix_path: src backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html 54 9020915 [main] rsync 1040 cwdstuff::get: posix /cygdrive/c 45 9020960 [main] rsync 1040 cwdstuff::get: (/cygdrive/c) = cwdstuff::get (0x22A910, 260, 1, 0), errno 0 42 9021002 [main] rsync 1040 normalize_posix_path: /cygdrive/c/backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html normalize_posix_path (backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html) 70 9021072 [main] rsync 1040 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html) 44 9021116 [main] rsync 1040 mount_info::cygdrive_win32_path: src '/cygdrive/c/backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html', dst 'c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html' 43 9021159 [main] rsync 1040 set_flags: flags: binary (0x2) 42 9021201 [main] rsync 1040 mount_info::conv_to_win32_path: src_path /cygdrive/c/backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html, dst c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, flags 0x2A, rc 0 78 9021279 [main] rsync 1040 symlink_info::check: not a symlink 43 9021322 [main] rsync 1040 symlink_info::check: 0 = symlink.check (c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, 0x22A5D0) (0x2A) 42 9021364 [main] rsync 1040 path_conv::check: this->path(c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html), has_acls(1) 43 9021407 [main] rsync 1040 build_fh_pc: fh 0x6116A2B8 39 9021446 [main] rsync 1040 stat_worker: (backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html, 0x22AE50, 1, 0x6116A2B8), file_attributes 32 43 9021489 [main] rsync 1040 fhandler_base::open: (c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, 0x110000) 71 9021560 [main] rsync 1040 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000 49 9021609 [main] rsync 1040 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 39 9021648 [main] rsync 1040 fhandler_base::set_flags: filemode set to binary 51 9021699 [main] rsync 1040 fhandler_base::open: 0 = NtCreateFile (0x654, 20080, c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, io, NULL, 0, 7, 1, 4000, NULL, 0) 51 9021750 [main] rsync 1040 fhandler_base::open: 1 = fhandler_base::open (c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, 0x110000) 47 9021797 [main] rsync 1040 fhandler_base::open_fs: 1 fhandler_disk_file::open (c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html, 0x10000) 70 9021867 [main] rsync 1040 get_file_attribute: file: c:\backup\pruebas sftp\?ra?a\html\lib\Encode\MIME\Header.html 131 9021998 [main] rsync 1040 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1844237615-1220945662-725345543-1003 54 9022052 [main] rsync 1040 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1844237615-1220945662-725345543-513 46 9022098 [main] rsync 1040 get_info_from_sd: ACL 1C0, uid 1003, gid 513 70 9022168 [main] rsync 1040 fhandler_base::fstat_helper: 0 = fstat (, 0x22AE50) st_atime=4831505D st_size=4002, st_mode=0x81C0, st_ino=281474977041002, sizeof=96 47 9022215 [main] rsync 1040 fhandler_base::close: closing '/cygdrive/c/backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html' handle 0x654 69 9022284 [main] rsync 1040 stat_worker: 0 = (backup/pruebas sftp/?ra?a/html/lib/Encode/MIME/Header.html, 0x22AE50) 140 9022424 [main] rsync 1040 geterrno_from_win_error: windows error 18 =errno 89. I'd appreciate any help P.S: As you can see i'm using rsync with cygwin. but I don't think that's the source of the error (i hope) -------------- next part -------------- HTML attachment scrubbed and removed