On 16-03-2014 00:18, Shachar Shemesh wrote:
Hello Frederico,

On 16/03/14 00:48, Frederico Rodrigues Abraham wrote:
Hi all.
My rsyncrypto started crashing ... I'm decrypting directories with 
filename encryption.
By "started crashing", I'm assuming you mean it did work before. Can you say what changed?

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?

It's the standard provided with the distribution, version 1.12. It worked before normally, now I'm getting this:

Decrypting filesencrypted/files/40AEBACBA5170D57464965CA52861A2F
Segmentation fault (core dumped)

Command line is:

  rsyncrypto -vvvvv -n .ssh/filemap --delete --delete-keys -d -r filesencrypted/files .. filesencrypted/keys .ssh/backup.key

(I just added the -vvvvv to try to debug, but no success. Crashes without it)

Is it possible for someone to help me investigating this? Without the 
need for me to send the actual data?
I can certainly try.
An executable with debugging information maybe? I'm running on Ubuntu 
Linux 13.10.
Perform the following tasks to build one (assuming you are running the distribution's binary):
create a clean directory and cd to it
sudo apt-get build-dep rsyncrypto
apt-get source rsyncrypto
cd rsyncrypto-<version>
dpkg-buildpackage

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.

I got an error. After the commands:

   130  9:38    mkdir rsyncryptodebug
   131  9:38    cd rsyncryptodebug
   132  9:38    sudo apt-get build-dep rsyncrypto
   133  9:39    apt-get source rsyncrypto
   134  9:40    cd rsyncrypto-1.12/
   135  9:40    dpkg-buildpackage

[bacon:/local2/users/fabraham/pessoal/backup/rsyncryptodebug/rsyncrypto-1.12]

    dpkg-buildpackage
dpkg-buildpackage: source package rsyncrypto
dpkg-buildpackage: source version 1.12-1build1
dpkg-buildpackage: source changed by Colin Watson <cjwat...@ubuntu.com>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build rsyncrypto-1.12
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean
dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)
 dpkg-source -b rsyncrypto-1.12
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building rsyncrypto using existing rsyncrypto_1.12.orig.tar.gz
dpkg-source: info: building rsyncrypto in rsyncrypto_1.12-1build1.diff.gz
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto_1.12-1build1.diff.gz: binary file contents changed
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto_1.12.orig.tar.gz: binary file contents changed
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/COPYING.rtf has no final newline (either original or modified version)
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/install-sh' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/depcomp' will not be represented in diff
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/INSTALL.win has no final newline (either original or modified version)
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/bootstrap' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/configure' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/missing' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/debian/rules' will not be represented in diff
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1.key: binary file contents changed
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1.enc: binary file contents changed
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2.key: binary file contents changed
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3: binary file contents changed
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg1: binary file contents changed
dpkg-source: warning: newly created empty file 'rsyncrypto-1.12/tests/reg2.rot' will not be represented in diff
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3.enc: binary file contents changed
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/testcrypt' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/nullgzip' will not be represented in diff
dpkg-source: warning: newly created empty file 'rsyncrypto-1.12/tests/reg1.rot' will not be represented in diff
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2.enc: binary file contents changed
dpkg-source: warning: executable mode 0755 of 'rsyncrypto-1.12/tests/regtest' will not be represented in diff
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/tests/reg2 has no final newline (either original or modified version)
dpkg-source: error: cannot represent change to rsyncrypto-1.12/rsyncrypto-1.12/tests/reg3.key: binary file contents changed
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/nullgzip.cpp has no final newline (either original or modified version)
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/types.h has no final newline (either original or modified version)
dpkg-source: warning: file rsyncrypto-1.12/rsyncrypto-1.12/win32/win32redir.h has no final newline (either original or modified version)
dpkg-source: warning: the diff modifies the following upstream files:
 config.guess
 config.sub
 rsyncrypto-1.12/AUTHORS
 rsyncrypto-1.12/COPYING
 rsyncrypto-1.12/COPYING.rtf
 rsyncrypto-1.12/ChangeLog
 rsyncrypto-1.12/INSTALL
 rsyncrypto-1.12/INSTALL.win
 rsyncrypto-1.12/Makefile.am
 rsyncrypto-1.12/Makefile.in
 rsyncrypto-1.12/NEWS
 rsyncrypto-1.12/README
 rsyncrypto-1.12/aclocal.m4
 rsyncrypto-1.12/aes_crypt.cpp
 rsyncrypto-1.12/aes_crypt.h
 rsyncrypto-1.12/autoarray.h
 rsyncrypto-1.12/autodir.h
 rsyncrypto-1.12/autofd.h
 rsyncrypto-1.12/autommap.h
 rsyncrypto-1.12/autopipe.h
 rsyncrypto-1.12/blocksizes.cpp
 rsyncrypto-1.12/bootstrap
 rsyncrypto-1.12/bufferfd.cpp
 rsyncrypto-1.12/bufferfd.h
 rsyncrypto-1.12/config.guess
 rsyncrypto-1.12/config.h.in
 rsyncrypto-1.12/config.sub
 rsyncrypto-1.12/configure
 rsyncrypto-1.12/configure.ac
 rsyncrypto-1.12/contrib/argtable2.vcproj
 rsyncrypto-1.12/contrib/gzip-rsyncable.diff
 rsyncrypto-1.12/crypt_key.cpp
 rsyncrypto-1.12/crypt_key.h
 rsyncrypto-1.12/crypto.cpp
 rsyncrypto-1.12/crypto.h
 rsyncrypto-1.12/debian/README.Debian
 rsyncrypto-1.12/debian/changelog
 rsyncrypto-1.12/debian/compat
 rsyncrypto-1.12/debian/control
 rsyncrypto-1.12/debian/copyright
 rsyncrypto-1.12/debian/dirs
 rsyncrypto-1.12/debian/docs
 rsyncrypto-1.12/debian/rsyncrypto.examples
 rsyncrypto-1.12/debian/rules
 rsyncrypto-1.12/debian/watch
 rsyncrypto-1.12/depcomp
 rsyncrypto-1.12/docs/filelist.txt
 rsyncrypto-1.12/docs/rsyncrypto.html
 rsyncrypto-1.12/docs/rsyncrypto_recover.html
 rsyncrypto-1.12/file.cpp
 rsyncrypto-1.12/file.h
 rsyncrypto-1.12/filemap.cpp
 rsyncrypto-1.12/filemap.h
 rsyncrypto-1.12/install-sh
 rsyncrypto-1.12/main.cpp
 rsyncrypto-1.12/missing
 rsyncrypto-1.12/precomp.h
 rsyncrypto-1.12/process.cpp
 rsyncrypto-1.12/process.h
 rsyncrypto-1.12/random.h
 rsyncrypto-1.12/rcserror.h
 rsyncrypto-1.12/recover.cpp
 rsyncrypto-1.12/redir.cpp
 rsyncrypto-1.12/redir.h
 rsyncrypto-1.12/release.checklist
 rsyncrypto-1.12/rsyncrypto.h
 rsyncrypto-1.12/rsyncrypto.man
 rsyncrypto-1.12/rsyncrypto.sln
 rsyncrypto-1.12/rsyncrypto.vcproj
 rsyncrypto-1.12/rsyncrypto_recover.man
 rsyncrypto-1.12/rsyncrypto_recover.vcproj
 rsyncrypto-1.12/tests/README
 rsyncrypto-1.12/tests/cert.crt
 rsyncrypto-1.12/tests/cert.key
 rsyncrypto-1.12/tests/nullgzip
 rsyncrypto-1.12/tests/reg2
 rsyncrypto-1.12/tests/reg3.rot
 rsyncrypto-1.12/tests/regtest
 rsyncrypto-1.12/tests/regtestw32
 rsyncrypto-1.12/tests/testcrypt
 rsyncrypto-1.12/win32/Setup.vdproj
 rsyncrypto-1.12/win32/autodir.h
 rsyncrypto-1.12/win32/autofd.h
 rsyncrypto-1.12/win32/autohandle.h
 rsyncrypto-1.12/win32/autommap.h
 rsyncrypto-1.12/win32/autopipe.h
 rsyncrypto-1.12/win32/config.h
 rsyncrypto-1.12/win32/nullgzip.cpp
 rsyncrypto-1.12/win32/nullgzip.vcproj
 rsyncrypto-1.12/win32/process.cpp
 rsyncrypto-1.12/win32/process.h
 rsyncrypto-1.12/win32/redir.cpp
 rsyncrypto-1.12/win32/resource.h
 rsyncrypto-1.12/win32/rsyncrypto.rc
 rsyncrypto-1.12/win32/stdafx.cpp
 rsyncrypto-1.12/win32/types.h
 rsyncrypto-1.12/win32/win32glue.cpp
 rsyncrypto-1.12/win32/win32redir.h
 rsyncrypto_1.12-1build1.dsc
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b rsyncrypto-1.12 gave error exit status 1

Any ideas?
Thanks,
-- Fred
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Rsyncrypto-devel mailing list
Rsyncrypto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel

Reply via email to