git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* something broken just now on git-pull from openbsd to OSX
@ 2006-08-18 16:17 Randal L. Schwartz
  2006-08-18 16:19 ` Randal L. Schwartz
  0 siblings, 1 reply; 4+ messages in thread
From: Randal L. Schwartz @ 2006-08-18 16:17 UTC (permalink / raw)
  To: git


I just updated my openbsd's GIT to 1.4.2.g55c3, and now my
git-fetch from there to my OSX fails with a fatal error almost immediately.

What just changed?  What can I check?

git-fetch from other repositories to OSX seems to work fine.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

* Re: something broken just now on git-pull from openbsd to OSX
  2006-08-18 16:17 something broken just now on git-pull from openbsd to OSX Randal L. Schwartz
@ 2006-08-18 16:19 ` Randal L. Schwartz
  2006-08-18 16:22   ` Randal L. Schwartz
  0 siblings, 1 reply; 4+ messages in thread
From: Randal L. Schwartz @ 2006-08-18 16:19 UTC (permalink / raw)
  To: git

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

Randal> I just updated my openbsd's GIT to 1.4.2.g55c3, and now my
Randal> git-fetch from there to my OSX fails with a fatal error almost immediately.

Randal> What just changed?  What can I check?

Randal> git-fetch from other repositories to OSX seems to work fine.

Ahh, it might even be a corrupt repository... here's what
a local git-clone shows:

git-clone ~/Git/stonehenge.git
remote: Generating pack...
remote: Done counting 2610 objects.
remote: Deltifying 2610 objects.
 100% (2610/2610) done
remote: Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)
error: git-fetch-pack: unable to read from git-index-pack
error: git-index-pack died of signal 11
fetch-pack from '/home/merlyn/Git/stonehenge.git/.git' failed.

What do you want me to try to help diagnose this?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

* Re: something broken just now on git-pull from openbsd to OSX
  2006-08-18 16:19 ` Randal L. Schwartz
@ 2006-08-18 16:22   ` Randal L. Schwartz
  2006-08-18 21:26     ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Randal L. Schwartz @ 2006-08-18 16:22 UTC (permalink / raw)
  To: git

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:
Randal> I just updated my openbsd's GIT to 1.4.2.g55c3, and now my
Randal> git-fetch from there to my OSX fails with a fatal error almost immediately.

Randal> What just changed?  What can I check?

Randal> git-fetch from other repositories to OSX seems to work fine.

Randal> Ahh, it might even be a corrupt repository... here's what
Randal> a local git-clone shows:

Randal> git-clone ~/Git/stonehenge.git
Randal> remote: Generating pack...
Randal> remote: Done counting 2610 objects.
Randal> remote: Deltifying 2610 objects.
Randal>  100% (2610/2610) done
Randal> remote: Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)
Randal> error: git-fetch-pack: unable to read from git-index-pack
Randal> error: git-index-pack died of signal 11
Randal> fetch-pack from '/home/merlyn/Git/stonehenge.git/.git' failed.

Randal> What do you want me to try to help diagnose this?

And even more info:

    $ git-repack -a -d
    Generating pack...
    Done counting 2610 objects.
    Deltifying 2610 objects.
     100% (2610/2610) done
    Writing 2610 objects.
     100% (2610/2610) done
    Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)
    Pack pack-3cd61a256bd8736b13b0356aafff016260c22b80 created.
    $ git-repack -a -d -f
    Generating pack...
    Done counting 2610 objects.
    Deltifying 2610 objects.
    Segmentation fault 

Oops!  That's not good.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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

* Re: something broken just now on git-pull from openbsd to OSX
  2006-08-18 16:22   ` Randal L. Schwartz
@ 2006-08-18 21:26     ` Junio C Hamano
  0 siblings, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2006-08-18 21:26 UTC (permalink / raw)
  To: Randal L. Schwartz; +Cc: git

merlyn@stonehenge.com (Randal L. Schwartz) writes:

> And even more info:
>
>     $ git-repack -a -d
>     Generating pack...
>     Done counting 2610 objects.
>     Deltifying 2610 objects.
>      100% (2610/2610) done
>     Writing 2610 objects.
>      100% (2610/2610) done
>     Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)
>     Pack pack-3cd61a256bd8736b13b0356aafff016260c22b80 created.
>     $ git-repack -a -d -f
>     Generating pack...
>     Done counting 2610 objects.
>     Deltifying 2610 objects.
>     Segmentation fault 
>
> Oops!  That's not good.

Indeed it is not good.

First we would need to see who is dying.

git-repack -a -d -f does:

 - list all the objects that need to be packed by running

	git rev-list --objects --all

 - piping that to pack-objects

 - after that remove old ones (because -d is given)

I am suspecting it is either rev-list or pack-objects, but let's
isolate which first.

	git-rev-list --objects --all >/var/tmp/revlist.out

Does this die?  If not

	git-pack-objects pack </var/tmp/revlist.out

does this die?

Once you isolate which, can you bisect to see where it broke in
recent history (assuming it worked ever on OSX)?

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

end of thread, other threads:[~2006-08-18 21:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18 16:17 something broken just now on git-pull from openbsd to OSX Randal L. Schwartz
2006-08-18 16:19 ` Randal L. Schwartz
2006-08-18 16:22   ` Randal L. Schwartz
2006-08-18 21:26     ` Junio C Hamano

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 NNTP newsgroup(s).