git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Delivery Status Notification (Failure)

From
SGSimon Grönlund <simongronlund@gmail.com>
Date
Aug 3, 2010, 09:31 UTC
Message-ID
<AANLkTinfebXbQGb2L1nkebdXzi9cfJbHFA-r_DLLNoFf@mail.gmail.com>
In-Reply-To
<0015174c437c389602048ce7f16c@google.com>

Since recent weekend I face an error trying to execute git svn fetch -q. trying to build an index from scratch does not help.

$ git svn fetch
error: short read No such file or directory
fatal: Unable to add (null) to database
   at /usr/lib64/perl5/SVN/Ra.pm line 623

$ git --version git version 1.7.2

$ svn --version svn, version 1.6.9 (r901367)

$ sqlite3 --version 3.6.22

$ perl --version This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

$ uname -a Linux host 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

yum says git-1.7.2-1.fc13.x86_64 subversion-1.6.9-2.fc13.x86_64 sqlite-3.6.22-1.fc13.x86_64 perl-5.10.1-114.fc13.x86_64

The error points me to perl5/SVN/Ra.pm line 623 which is at the lat line in
our $AUTOLOAD;
sub AUTOLOAD {
    my $class = ref($_[0]);
    $AUTOLOAD =~ s/^${class}::(SUPER::)?//;
    return if $AUTOLOAD =~ m/^[A-Z]/;
    my $self = shift;
    no strict 'refs';
    print $self, "\n";
    print $AUTOLOAD, "\n";
    print @_, "\n\n";
    my $method = $self->can("invoke_$AUTOLOAD")
        or die "no such method $AUTOLOAD";
    no warnings 'uninitialized';
    $method->(@$self, @_);
}

The 3 print-debug lines are added by me and they emits the following: $ git svn fetch SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. 721210SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. branches721210SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) set_path Use of uninitialized value $_[3] in print at /usr/lib64/perl5/SVN/Ra.pm line 621. branches/4.272117SVN::Pool=REF(0x2b04130)

SVN::Ra::Reporter=ARRAY(0x2b04418) finish_report SVN::Pool=REF(0x2b04130)

error: short read No such file or directory
fatal: Unable to add (null) to database
 at /usr/lib64/perl5/SVN/Ra.pm line 627
Unfortunately I have been unable to debug this further.

Git works flawlessly in this setup with another branch of the same SVN repository but I have not been able to pinpoint which revision or what else that can be wrong here.

Is this error introduced with the recent release of Git? Is there some mismatch between Git, Svn, Perl, or Sqlite?

Grateful for tips or hints.
/Simon
Next: Simon Gronlund
Message 1 of 4 in “Re: Delivery Status Notification (Failure)”
  1. Simon GrönlundAug 3, 2010
  2. Subject should be: git svn fetch crash with fatal errorSimon Gronlund, Aug 3, 2010
  3. git svn fetch crash with fatal errorSimon Gronlund, Aug 5, 2010
  4. Ævar Arnfjörð BjarmasonAug 5, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.