Bug#457968: diff reports binary file differences, which are highly unlikely

2008-01-08 Thread Santiago Vila
On Fri, 28 Dec 2007, Tim Blechmann wrote:

  What do you mean by large binary files? Does it happen with files
  smaller than 2GB? 
 
 definitely smaller than 2gb ... `large binary files' are flac-encoded
 audio files of several hundred mb ...

That's good news, as it means most probably the bug has nothing to do with
Large File Support. In either case, I need a way to reproduce the bug.

Please try to find a smaller pair of files using the dd command.

For example, if diff thinks the files are different after reading the first
50Mb of each, then you can cut the files and keep only the first 50Mb of each.
Hopefully this method would produce a smaller pair of files.

  Does it happen with diff 2.8.7 in experimental?
  What about cmp -l file1 file2?
 
 will check this tomorrow ...

It's 2008 now. Still waiting...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#457968: diff reports binary file differences, which are highly unlikely

2008-01-08 Thread Tim Blechmann
On Tue, 2008-01-08 at 12:08 +0100, Santiago Vila wrote:
 On Fri, 28 Dec 2007, Tim Blechmann wrote:
 
   What do you mean by large binary files? Does it happen with files
   smaller than 2GB? 
  
  definitely smaller than 2gb ... `large binary files' are flac-encoded
  audio files of several hundred mb ...
 
 That's good news, as it means most probably the bug has nothing to do with
 Large File Support. In either case, I need a way to reproduce the bug.
 
 Please try to find a smaller pair of files using the dd command.
 
 For example, if diff thinks the files are different after reading the first
 50Mb of each, then you can cut the files and keep only the first 50Mb of each.
 Hopefully this method would produce a smaller pair of files.

hm ... i must admit it looks more like a temporary failure of my usb
hard drive ... 
i've done some further tests and could also make the hashes differ ...
so i guess it is a hardware problem, that occurred when executing
diff ...

i guess it is safe to close the bug ...

sry, tim

--
[EMAIL PROTECTED]
http://tim.klingt.org

Avoid the world, it's just a lot of dust and drag and means nothing in
the end.
  Jack Kerouac


signature.asc
Description: This is a digitally signed message part


Bug#457968: diff reports binary file differences, which are highly unlikely

2007-12-27 Thread Tim Blechmann
Package: diff
Version: 2.8.1-12
Severity: important

when copying large binary files from one partition to another, i used 
diff to verify, that copying the data worked correctly. diff reports 
'binary files differ' for a few files, though.
comparing the file checksums, the files don't differ, though. i tested 
it with both md5 and sha512 checksums ... so it is highly unlikely that 
it is a problem with the files, but rather a bug in diff ...

hth, tim


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (10, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.12-rt14-686 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages diff depends on:
ii  libc6 2.7-4  GNU C Library: Shared libraries

diff recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#457968: diff reports binary file differences, which are highly unlikely

2007-12-27 Thread Santiago Vila
On Thu, 27 Dec 2007, Tim Blechmann wrote:

 Package: diff
 Version: 2.8.1-12
 Severity: important
 
 when copying large binary files from one partition to another, i used 
 diff to verify, that copying the data worked correctly. diff reports 
 'binary files differ' for a few files, though.
 comparing the file checksums, the files don't differ, though. i tested 
 it with both md5 and sha512 checksums ... so it is highly unlikely that 
 it is a problem with the files, but rather a bug in diff ...

What do you mean by large binary files? Does it happen with files
smaller than 2GB? Does it happen with diff 2.8.7 in experimental?
What about cmp -l file1 file2?

Just likely to be a bug in diff is not enough. Please provide more
evidence that it's diff and not your computer's hardware (either
memory, hard disk, CPU, or whatever). Otherwise I will close this bug.

Thanks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#457968: diff reports binary file differences, which are highly unlikely

2007-12-27 Thread Tim Blechmann
 What do you mean by large binary files? Does it happen with files
 smaller than 2GB? 

definitely smaller than 2gb ... `large binary files' are flac-encoded
audio files of several hundred mb ...

 Does it happen with diff 2.8.7 in experimental?
 What about cmp -l file1 file2?

will check this tomorrow ...

 Just likely to be a bug in diff is not enough. Please provide more
 evidence that it's diff and not your computer's hardware (either
 memory, hard disk, CPU, or whatever). Otherwise I will close this bug.

i ran the diff command several times ... i also computed the checksums
(md5 and sha512) several times ... if there would be a problem with the
hardware, the checksums would be likely to differ ... if the files would
differ, it would be unlikely that they produce a hash collision ...

best, tim

--
[EMAIL PROTECTED]
http://tim.klingt.org

All we composers really have to work with is time and sound - and
sometimes I'm not even sure about sound.
  Morton Feldman


signature.asc
Description: This is a digitally signed message part