Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
Package: subversion
Version: 1.7.14-1+b1
Severity: critical
Justification: causes serious data loss

I'll try to downgrade, but for the moment:

xvii:...www/contents/cine =svn diff -r 51990 index.fr.xml
Index: index.fr.xml
===
Cannot display: file marked as a binary type.
svn:mime-type = (h)کb, )
Index: index.fr.xml
===
--- index.fr.xml(revision 51990)
+++ index.fr.xml(working copy)

Property changes on: index.fr.xml
___
xvii:...www/contents/cine =svn diff -r 51990 index.fr.xml
Index: index.fr.xml
===
Cannot display: file marked as a binary type.
svn: E22: Valid UTF-8 data
(hex: 73 76 6e 3a 6d 69 6d 65 2d 74 79 70 65 20 3d 20 28)
followed by invalid UTF-8 sequence
(hex: a8 95 b9 0e)
zsh: exit 1 =svn diff -r 51990 index.fr.xml

It seems that something is corrupted.
I've never had such a problem before.

This problem is not reproducible on a different machine with
an older Debian version.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages subversion depends on:
ii  libapr1 1.5.0-1
ii  libc6   2.17-97
ii  libsasl2-2  2.1.25.dfsg1-17
ii  libsvn1 1.7.14-1+b1

subversion recommends no packages.

Versions of packages subversion suggests:
ii  db5.1-util5.1.29-7
ii  patch 2.7.1-4
ii  subversion-tools  1.7.14-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#734163: subversion: corrupted data

2014-01-04 Thread James McCoy
On Sat, Jan 04, 2014 at 02:24:26PM +0100, Vincent Lefevre wrote:
 I'll try to downgrade, but for the moment:
 
 xvii:...www/contents/cine =svn diff -r 51990 index.fr.xml
 Index: index.fr.xml
 ===
 Cannot display: file marked as a binary type.
 svn:mime-type = (h)کb, )
 Index: index.fr.xml
 ===
 --- index.fr.xml(revision 51990)
 +++ index.fr.xml(working copy)
 
 Property changes on: index.fr.xml
 ___
 xvii:...www/contents/cine =svn diff -r 51990 index.fr.xml
 Index: index.fr.xml
 ===
 Cannot display: file marked as a binary type.
 svn: E22: Valid UTF-8 data
 (hex: 73 76 6e 3a 6d 69 6d 65 2d 74 79 70 65 20 3d 20 28)
 followed by invalid UTF-8 sequence
 (hex: a8 95 b9 0e)
 zsh: exit 1 =svn diff -r 51990 index.fr.xml

Is this a publicly accessible repository?

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy james...@debian.org


signature.asc
Description: Digital signature


Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
On 2014-01-04 08:35:58 -0500, James McCoy wrote:
 Is this a publicly accessible repository?

Unfortunately no. I'll try to see if I can reproduce the bug
with a publicly accessible repository.

The bug occurs on a second Debian/unstable machine.
It still occurs after downgrading to the original 1.7.14
(not the binNMU), but I get only the second behavior.
The hex values are different after each call.

valgrind doesn't complain.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
On 2014-01-04 14:53:11 +0100, Vincent Lefevre wrote:
 The bug occurs on a second Debian/unstable machine.
 It still occurs after downgrading to the original 1.7.14
 (not the binNMU), but I get only the second behavior.
 The hex values are different after each call.

And no problem on an Ubuntu machine with:
subversion 1.7.9-1+nmu6ubuntu3

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
On 2014-01-04 14:53:11 +0100, Vincent Lefevre wrote:
 On 2014-01-04 08:35:58 -0500, James McCoy wrote:
  Is this a publicly accessible repository?
 
 Unfortunately no. I'll try to see if I can reproduce the bug
 with a publicly accessible repository.

And I can!

ypig:~ svn co svn://scm.gforge.inria.fr/svn/mpfr/misc/vl-tests
Avl-tests/mpfrtests.data
Avl-tests/mpfrtests.sh
Avl-tests/release-3.1.2-p4
Avl-tests/release-3.1.0-p8
Avl-tests/vfy-data
Avl-tests/ReadMe
Checked out revision 8727.
ypig:~ cd ./vl-tests
ypig:~/vl-tests svn diff -r8726 ReadMe
Index: ReadMe
===
Cannot display: file marked as a binary type.
) H(mime-type = (H(
Index: ReadMe
===
--- ReadMe  (revision 8726)
+++ ReadMe  (working copy)

Property changes on: ReadMe
___
ypig:~/vl-tests svn diff -r8726 ReadMe
Index: ReadMe
===
Cannot display: file marked as a binary type.
svn: E22: Valid UTF-8 data
(hex: 73 76 6e 3a 6d 69 6d 65 2d 74 79 70 65 20 3d 20 28 48)
followed by invalid UTF-8 sequence
(hex: 87 bb 01 d5)

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
On 2014-01-04 14:53:11 +0100, Vincent Lefevre wrote:
 The bug occurs on a second Debian/unstable machine.
 It still occurs after downgrading to the original 1.7.14
 (not the binNMU), but I get only the second behavior.

I could also get the first behavior. This is really random.
The problem disappears after downgrading to 1.7.13-3.

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#734163: subversion: corrupted data

2014-01-04 Thread James McCoy
Control: severity -1 normal

On Sat, Jan 04, 2014 at 03:13:00PM +0100, Vincent Lefevre wrote:
 On 2014-01-04 14:53:11 +0100, Vincent Lefevre wrote:
  The bug occurs on a second Debian/unstable machine.
  It still occurs after downgrading to the original 1.7.14
  (not the binNMU), but I get only the second behavior.
 
 I could also get the first behavior. This is really random.
 The problem disappears after downgrading to 1.7.13-3.

This is purely a display issue, so I'm downgrading the severity.  It
only happens on files with svn:mime-type set.  I've emailed upstream, so
we'll see what they say.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy james...@debian.org


signature.asc
Description: Digital signature


Bug#734163: subversion: corrupted data

2014-01-04 Thread Vincent Lefevre
Control: severity -1 important

with potential security problems for users who have the printing
feature of the terminal enabled.

On 2014-01-04 10:21:53 -0500, James McCoy wrote:
 This is purely a display issue, so I'm downgrading the severity.

OK, but I'm raising it to important since it managed to break the
status of one of my terminals: the semi-graphics characters could
no longer be displayed correctly until I typed reset (I wonder
how it could do that). So, apparently, it can send arbitrary
escape sequences to the terminal!

-- 
Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/
100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org