Issue #362 open

SVN - E140000: Can't read length line

Anonymous created an issue

Hi

I have a problem with SVN repositories. I can do a checkout without problem but for some reason I cannot commit changes. I can reproduce it doing the following:

1.  Create new SVN repository named Testing
2.  Check it out on a client
3.  Add a single file
4.  Check in

The repository is checked out fine but step 4 just hangs on the client. I have enabled all logging and attached the log file with some small changes, removed hostname etc.

Hope you can help. Best regards Mads

Comments (14)

  1. Mads Lützhøft

    Hi Sebastian

    Yes, I assume you mean on the client. I use TortoiseSVN 1.7.11.23600 which come with SVN 1.7.8.

    Print from svnadmin is as following:

    C:\Program Files\TortoiseSVN\bin>svnadmin.exe --version svnadmin, version 1.7.8 (r1419691) compiled Dec 12 2012, 21:11:09

    Copyright (C) 2012 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/

    The following repository back-end (FS) modules are available:

    • fs_fs : Module for working with a plain file (FSFS) repository.

    Best regards Mads

  2. Sebastian Sdorra repo owner

    Could you please post the output of "svn --version"? I'm not sure but this could be related to issue #222. Could you please append the following line to the servers configuration file on your client.

    http-library = neon
    

    The servers configuration file should be located at %USERPROFILE%\AppData\Roaming\Subversion.

  3. Mads Lützhøft

    Hi Sebastian

    Didn't change anything. Here is SVN output from svn --version:

    svn, version 1.7.8 (r1419691) compiled Dec 24 2012, 17:12:24

    Copyright (C) 2012 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/

    The following repository access (RA) modules are available:

    • ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
    • handles 'http' scheme
    • handles 'https' scheme
    • ra_svn : Module for accessing a repository using the svn network protocol.
    • handles 'svn' scheme
    • ra_local : Module for accessing a repository on local disk.
    • handles 'file' scheme
    • ra_serf : Module for accessing a repository via WebDAV protocol using serf.
    • handles 'http' scheme
    • handles 'https' scheme
  4. Sebastian Sdorra repo owner

    I tried to reproduce this issue, but without success. I've done the following steps on windows 7:

    • installed TortoiseSVN 1.7.11
    • installed scm-manager 1.28 standalone
    • created a new subversion repository
    • checkout with TortoiseSVN
    • added a single file
    • checkin with TortoiseSVN

    TortoiseSVN commit

    Do you use the standalone version of scm-manager?

  5. Mads Lützhøft

    Hi Sebastian

    I did some testing based on your question. I have my standalone SCM-Manager runing on a windows server 2012. I tried downloading a clean copy, unpacked it and started it up without any configuration. Still the same error.

    Then i tried on my Windows 7 laptop, and it works. I should mention the log file is still full of the same debug message:

    21:27:34.950 [qtp1276873-20] DEBUG svnkit - uri type - activity, uri kind - act
    21:27:34.950 [qtp1276873-20] DEBUG svnkit - svn: E140000: Can't read length line from file C:\Users\mal\.scm\repositories\svn\Test\db\format
    21:27:34.950 [qtp1276873-20] DEBUG svnkit - resource type is activity
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - uri: / label: null context: /scm/svn/Test 21:27:34.960 [qtp1276873-20] DEBUG svnkit -  DAVResourceURI.getRequestURI(): /scm/svn/Test DAVResourceURI.getURI(): / DAVResourceURI.getPath(): / DAVResourceURI.getContext(): /scm/svn/Test
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - uri type - regular, uri kind - 
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - svn: E140000: Can't read length line from file C:\Users\mal\.scm\repositories\svn\Test\db\format
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - resource type is regular
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - svn: E140000: Can't read length line from file C:\Users\mal\.scm\repositories\svn\Test\db\format
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - resource path is /
    21:27:34.960 [qtp1276873-20] DEBUG svnkit - resource kind is dir
    

    But at least it works, which is the important thing. But i need it to work on my server, any ideas?

    Best regards Mads

  6. Mads Lützhøft

    Hi Sebastian

    No, there are no differences as far as i know.

    OS: Windows Server 2012 Essentiels. Java: Tested with both 32 and 64 bit of newest version. File System: NTFS. Repositories: Stored on local drive.

    If I can do anything let me know, it is also possible to add you to scm-manager so you can commit to the repository.

  7. Sebastian Sdorra repo owner

    Hi, I've installed now a windows server 2012, with a oracle jdk 7u17 and scm-manager 1.28. But i could not reproduce your error.

    svn commit windows server 2012

    Yes, i think it could help if i had a account for your scm-manager instance. Please send me the details with a bitbucket notification.

  8. Marc Janssen

    My log is full of these messages, too. Every time I do something on a repository there are a lot of "svn: E140000: Can't read length line from file /var/scm/repositories/svn/Eigene_Daten/Marc/db/format".

    I use Ubuntu Server 14.04 x64 and tomcat7 with scm-manager.war (version 1.38). No SSL in use and repository is on local disc. The whole system is a virtual machine (kvm with virtio).

    Are there any news about this error? What did the message mean? There are only two lines in the db/format file:

    6
    layout sharded 1000
    

    Could this be related to "packing revision properties" or "caching revision properties"?

    Best regards Marc

  9. Log in to comment