something broken just now on git-pull from openbsd to OSX
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.
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Randal" == Randal L Schwartz <[email protected]> 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?
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Randal" == Randal L Schwartz <[email protected]> writes:
"Randal" == Randal L Schwartz <[email protected]> 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.
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!
Quoted 17 lines · [email protected] (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
Quoted 1 line
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)?