Re: rsyncrypto crashing
Brought to you by:
thesun
From: Frederico R. A. <dev...@gm...> - 2014-03-16 13:19:39
|
<html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 16-03-2014 00:18, Shachar Shemesh wrote:<br> </div> <blockquote cite="mid:532...@sh..." type="cite"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <style type="text/css">body p { margin-bottom: 0.2cm; margin-top: 0pt; } </style> <div class="moz-cite-prefix">Hello Frederico,<br> <br> On 16/03/14 00:48, Frederico Rodrigues Abraham wrote:<br> </div> <blockquote cite="mid:532...@gm..." type="cite"> <pre wrap="">Hi all. My rsyncrypto started crashing ... I'm decrypting directories with filename encryption.</pre> </blockquote> By "started crashing", I'm assuming you mean it did work before. Can you say what changed?<br> <br> Let's start with some background material. What version of rsyncrypto are you using (run rsyncrypto --version)? Is it the standard one provided by the distribution? What command line are you using? (it is okay to fudge the directory names, if those are sensitive). What is the precise error message?<br> </blockquote> <br> It's the standard provided with the distribution, version 1.12. It worked before normally, now I'm getting this:<br> <br> Decrypting filesencrypted/files/40AEBACBA5170D57464965CA52861A2F<br> Segmentation fault (core dumped)<br> <br> Command line is:<br> <br> rsyncrypto -vvvvv -n .ssh/filemap --delete --delete-keys -d -r filesencrypted/files .. filesencrypted/keys .ssh/backup.key<br> <br> (I just added the -vvvvv to try to debug, but no success. Crashes without it)<br> <br> <blockquote cite="mid:532...@sh..." type="cite"> <blockquote cite="mid:532...@gm..." type="cite"> <pre wrap=""> Is it possible for someone to help me investigating this? Without the need for me to send the actual data?</pre> </blockquote> I can certainly try.<br> <blockquote cite="mid:532...@gm..." type="cite"> <pre wrap="">An executable with debugging information maybe? I'm running on Ubuntu Linux 13.10.</pre> </blockquote> Perform the following tasks to build one (assuming you are running the distribution's binary):<br> create a clean directory and cd to it<br> sudo apt-get build-dep rsyncrypto<br> apt-get source rsyncrypto<br> cd rsyncrypto-<version><br> dpkg-buildpackage<br> <br> your work directory should have a non-stripped (i.e. - with debug info) version of the file. Use it. Make sure to run "ulimit -c unlimited" first. After crash, a file called "core" should be created. Run "gdb <path to>/rsyncrypto core", type "bt", and paste the output here. This will provide a backtrace of the point of the crash.<br> </blockquote> <br> I got an error. After the commands:<br> <br> 130 9:38 mkdir rsyncryptodebug<br> 131 9:38 cd rsyncryptodebug<br> 132 9:38 sudo apt-get build-dep rsyncrypto<br> 133 9:39 apt-get source rsyncrypto<br> 134 9:40 cd rsyncrypto-1.12/<br> 135 9:40 dpkg-buildpackage<br> <br> [bacon:/local2/users/fabraham/pessoal/backup/rsyncryptodebug/rsyncrypto-1.12] dpkg-buildpackage<br> dpkg-buildpackage: source package rsyncrypto<br> dpkg-buildpackage: source version 1.12-1build1<br> dpkg-buildpackage: source changed by Colin Watson <a class="moz-txt-link-rfc2396E" href="mailto:cjw...@ub..."><cjw...@ub...></a><br> dpkg-buildpackage: host architecture amd64<br> dpkg-source --before-build rsyncrypto-1.12<br> fakeroot debian/rules clean<br> dh_testdir<br> dh_testroot<br> rm -f build-stamp<br> [ ! -f Makefile ] || /usr/bin/make distclean<br> dh_clean<br> dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)<br> dpkg-source -b rsyncrypto-1.12<br> dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)<br> dpkg-source: info: using source format `1.0'<br> dpkg-source: info: building rsyncrypto using existing rsyncrypto_1.12.orig.tar.gz<br> dpkg-source: info: building rsyncrypto in rsyncrypto_1.12-1build1.diff.gz<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto_1.12-1build1.diff.gz: binary file contents changed<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto_1.12.orig.tar.gz: binary file contents changed<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/COPYING.rtf has no final newline (either original or modified version)<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/install-sh' will not be represented in diff<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/depcomp' will not be represented in diff<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/INSTALL.win has no final newline (either original or modified version)<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/bootstrap' will not be represented in diff<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/configure' will not be represented in diff<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/missing' will not be represented in diff<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/debian/rules' will not be represented in diff<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1.key: binary file contents changed<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1.enc: binary file contents changed<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2.key: binary file contents changed<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3: binary file contents changed<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1: binary file contents changed<br> dpkg-source: warning: newly created empty file 'rsyncrypto-1.12/tests/reg2.rot' will not be represented in diff<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3.enc: binary file contents changed<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/testcrypt' will not be represented in diff<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/nullgzip' will not be represented in diff<br> dpkg-source: warning: newly created empty file 'rsyncrypto-1.12/tests/reg1.rot' will not be represented in diff<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2.enc: binary file contents changed<br> dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/regtest' will not be represented in diff<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2 has no final newline (either original or modified version)<br> dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3.key: binary file contents changed<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/nullgzip.cpp has no final newline (either original or modified version)<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/types.h has no final newline (either original or modified version)<br> dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/win32redir.h has no final newline (either original or modified version)<br> dpkg-source: warning: the diff modifies the following upstream files:<br> config.guess<br> config.sub<br> rsyncrypto-1.12/AUTHORS<br> rsyncrypto-1.12/COPYING<br> rsyncrypto-1.12/COPYING.rtf<br> rsyncrypto-1.12/ChangeLog<br> rsyncrypto-1.12/INSTALL<br> rsyncrypto-1.12/INSTALL.win<br> rsyncrypto-1.12/Makefile.am<br> rsyncrypto-1.12/Makefile.in<br> rsyncrypto-1.12/NEWS<br> rsyncrypto-1.12/README<br> rsyncrypto-1.12/aclocal.m4<br> rsyncrypto-1.12/aes_crypt.cpp<br> rsyncrypto-1.12/aes_crypt.h<br> rsyncrypto-1.12/autoarray.h<br> rsyncrypto-1.12/autodir.h<br> rsyncrypto-1.12/autofd.h<br> rsyncrypto-1.12/autommap.h<br> rsyncrypto-1.12/autopipe.h<br> rsyncrypto-1.12/blocksizes.cpp<br> rsyncrypto-1.12/bootstrap<br> rsyncrypto-1.12/bufferfd.cpp<br> rsyncrypto-1.12/bufferfd.h<br> rsyncrypto-1.12/config.guess<br> rsyncrypto-1.12/config.h.in<br> rsyncrypto-1.12/config.sub<br> rsyncrypto-1.12/configure<br> rsyncrypto-1.12/configure.ac<br> rsyncrypto-1.12/contrib/argtable2.vcproj<br> rsyncrypto-1.12/contrib/gzip-rsyncable.diff<br> rsyncrypto-1.12/crypt_key.cpp<br> rsyncrypto-1.12/crypt_key.h<br> rsyncrypto-1.12/crypto.cpp<br> rsyncrypto-1.12/crypto.h<br> rsyncrypto-1.12/debian/README.Debian<br> rsyncrypto-1.12/debian/changelog<br> rsyncrypto-1.12/debian/compat<br> rsyncrypto-1.12/debian/control<br> rsyncrypto-1.12/debian/copyright<br> rsyncrypto-1.12/debian/dirs<br> rsyncrypto-1.12/debian/docs<br> rsyncrypto-1.12/debian/rsyncrypto.examples<br> rsyncrypto-1.12/debian/rules<br> rsyncrypto-1.12/debian/watch<br> rsyncrypto-1.12/depcomp<br> rsyncrypto-1.12/docs/filelist.txt<br> rsyncrypto-1.12/docs/rsyncrypto.html<br> rsyncrypto-1.12/docs/rsyncrypto_recover.html<br> rsyncrypto-1.12/file.cpp<br> rsyncrypto-1.12/file.h<br> rsyncrypto-1.12/filemap.cpp<br> rsyncrypto-1.12/filemap.h<br> rsyncrypto-1.12/install-sh<br> rsyncrypto-1.12/main.cpp<br> rsyncrypto-1.12/missing<br> rsyncrypto-1.12/precomp.h<br> rsyncrypto-1.12/process.cpp<br> rsyncrypto-1.12/process.h<br> rsyncrypto-1.12/random.h<br> rsyncrypto-1.12/rcserror.h<br> rsyncrypto-1.12/recover.cpp<br> rsyncrypto-1.12/redir.cpp<br> rsyncrypto-1.12/redir.h<br> rsyncrypto-1.12/release.checklist<br> rsyncrypto-1.12/rsyncrypto.h<br> rsyncrypto-1.12/rsyncrypto.man<br> rsyncrypto-1.12/rsyncrypto.sln<br> rsyncrypto-1.12/rsyncrypto.vcproj<br> rsyncrypto-1.12/rsyncrypto_recover.man<br> rsyncrypto-1.12/rsyncrypto_recover.vcproj<br> rsyncrypto-1.12/tests/README<br> rsyncrypto-1.12/tests/cert.crt<br> rsyncrypto-1.12/tests/cert.key<br> rsyncrypto-1.12/tests/nullgzip<br> rsyncrypto-1.12/tests/reg2<br> rsyncrypto-1.12/tests/reg3.rot<br> rsyncrypto-1.12/tests/regtest<br> rsyncrypto-1.12/tests/regtestw32<br> rsyncrypto-1.12/tests/testcrypt<br> rsyncrypto-1.12/win32/Setup.vdproj<br> rsyncrypto-1.12/win32/autodir.h<br> rsyncrypto-1.12/win32/autofd.h<br> rsyncrypto-1.12/win32/autohandle.h<br> rsyncrypto-1.12/win32/autommap.h<br> rsyncrypto-1.12/win32/autopipe.h<br> rsyncrypto-1.12/win32/config.h<br> rsyncrypto-1.12/win32/nullgzip.cpp<br> rsyncrypto-1.12/win32/nullgzip.vcproj<br> rsyncrypto-1.12/win32/process.cpp<br> rsyncrypto-1.12/win32/process.h<br> rsyncrypto-1.12/win32/redir.cpp<br> rsyncrypto-1.12/win32/resource.h<br> rsyncrypto-1.12/win32/rsyncrypto.rc<br> rsyncrypto-1.12/win32/stdafx.cpp<br> rsyncrypto-1.12/win32/types.h<br> rsyncrypto-1.12/win32/win32glue.cpp<br> rsyncrypto-1.12/win32/win32redir.h<br> rsyncrypto_1.12-1build1.dsc<br> dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)<br> dpkg-source: unrepresentable changes to source<br> dpkg-buildpackage: error: dpkg-source -b rsyncrypto-1.12 gave error exit status 1<br> <br> Any ideas?<br> Thanks,<br> -- Fred<br> </body> </html> |