BackupPC-users

[BackupPC-users] Cross-platform bug/inconsistency in rsync digests (File::RsyncP::digest)

2011-02-08 16:09:42
Subject: [BackupPC-users] Cross-platform bug/inconsistency in rsync digests (File::RsyncP::digest)
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: General list for user discussion <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 08 Feb 2011 16:07:04 -0500
When I backup files on an arm (armel) architecture with rsync
checksums and then transfer the pool over to an x86 architecture, the
checksums no longer verify.

In other words checksums that verify properly on the armel platform,
don't verify when run on an x86 platform and vice-versa.

This is quite distressing since this means that one can't copy over
the pool from one architecture to another and expect it to work
properly without lots of checksum errors.

I have double checked this by writing my own routine which uses the
subroutines in File::RsyncP::digest to verify digests on both
platforms -- and the same file gives *different* results on the
different platforms.

I'm really at a loss to explain how and why this happens but it is not
a good bug ;)

I am not sure if this is related to the bug I mentioned last week in
perl 10.0 where md5sums are miscomputed on the arm platform.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/