git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Re: Delivery Status Notification (Failure)
       [not found] ` <0015174c437c389602048ce7f16c@google.com>
@ 2010-08-03  9:31   ` Simon Grönlund
  2010-08-03 11:22     ` Subject should be: git svn fetch crash with fatal error Simon Gronlund
  2010-08-05 15:10     ` Simon Gronlund
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Grönlund @ 2010-08-03  9:31 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Subject should be: git svn fetch crash with fatal error
  2010-08-03  9:31   ` Delivery Status Notification (Failure) Simon Grönlund
@ 2010-08-03 11:22     ` Simon Gronlund
  2010-08-05 15:10     ` Simon Gronlund
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Gronlund @ 2010-08-03 11:22 UTC (permalink / raw)
  To: git

Sorry about the idiotic subject line, my bad when replying to a mail-failure :(
Please correct whoever has the power.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* git svn fetch crash with fatal error
  2010-08-03  9:31   ` Delivery Status Notification (Failure) Simon Grönlund
  2010-08-03 11:22     ` Subject should be: git svn fetch crash with fatal error Simon Gronlund
@ 2010-08-05 15:10     ` Simon Gronlund
  2010-08-05 16:12       ` Ævar Arnfjörð Bjarmason
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Gronlund @ 2010-08-05 15:10 UTC (permalink / raw)
  To: git

Have I posted this problem to the wrong news group? If so, could a friendly soul
refer me to the proper location, please.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git svn fetch crash with fatal error
  2010-08-05 15:10     ` Simon Gronlund
@ 2010-08-05 16:12       ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-08-05 16:12 UTC (permalink / raw)
  To: Simon Gronlund; +Cc: git

On Thu, Aug 5, 2010 at 15:10, Simon Gronlund <simongronlund@gmail.com> wrote:
> Have I posted this problem to the wrong news group? If so, could a friendly soul
> refer me to the proper location, please.

This is the right group, but:

  * Not many people are familiar with git-svn. You might have to wait
    more than 2 days for a reply.

  * Please post messages as replies to the original thread. Neither of
    your two follow-up messages have In-Reply-To headers to indicate
    what you're referring to.

  * The debug output you have doesn't really help. See "perldoc
    perldebug" for how to produce more useful traces, in particular
    the "t" switch to trace execution.

  * Can you provide the list with a copy of the .git in question so we
    can experiment with it?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-05 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTine9j=PsfsOPmEWmDLUDrHCJF0MQ6X+6XJkQD0d@mail.gmail.com>
     [not found] ` <0015174c437c389602048ce7f16c@google.com>
2010-08-03  9:31   ` Delivery Status Notification (Failure) Simon Grönlund
2010-08-03 11:22     ` Subject should be: git svn fetch crash with fatal error Simon Gronlund
2010-08-05 15:10     ` Simon Gronlund
2010-08-05 16:12       ` Ævar Arnfjörð Bjarmason

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).