{"thread":{"id":"5323","subject":"something broken just now on git-pull from openbsd to OSX","startedAt":"2006-08-18T16:17:48Z","lastAt":"2006-08-18T21:26:06Z","messageCount":4,"participants":["Randal L. Schwartz","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"25565","messageId":"86pseykogj.fsf@blue.stonehenge.com","threadId":"5323","inReplyTo":null,"subject":"something broken just now on git-pull from openbsd to OSX","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2006-08-18T16:17:48Z","receivedAt":"2006-08-18T16:17:48Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":"\nI just updated my openbsd's GIT to 1.4.2.g55c3, and now my\ngit-fetch from there to my OSX fails with a fatal error almost immediately.\n\nWhat just changed?  What can I check?\n\ngit-fetch from other repositories to OSX seems to work fine.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"},{"id":"25566","messageId":"86lkpmkod3.fsf@blue.stonehenge.com","threadId":"5323","inReplyTo":"86pseykogj.fsf@blue.stonehenge.com","subject":"Re: something broken just now on git-pull from openbsd to OSX","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2006-08-18T16:19:52Z","receivedAt":"2006-08-18T16:19:52Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Randal\" == Randal L Schwartz <merlyn@stonehenge.com> writes:\n\nRandal> I just updated my openbsd's GIT to 1.4.2.g55c3, and now my\nRandal> git-fetch from there to my OSX fails with a fatal error almost immediately.\n\nRandal> What just changed?  What can I check?\n\nRandal> git-fetch from other repositories to OSX seems to work fine.\n\nAhh, it might even be a corrupt repository... here's what\na local git-clone shows:\n\ngit-clone ~/Git/stonehenge.git\nremote: Generating pack...\nremote: Done counting 2610 objects.\nremote: Deltifying 2610 objects.\n 100% (2610/2610) done\nremote: Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)\nerror: git-fetch-pack: unable to read from git-index-pack\nerror: git-index-pack died of signal 11\nfetch-pack from '/home/merlyn/Git/stonehenge.git/.git' failed.\n\nWhat do you want me to try to help diagnose this?\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"},{"id":"25589","messageId":"86hd0ako8h.fsf@blue.stonehenge.com","threadId":"5323","inReplyTo":"86lkpmkod3.fsf@blue.stonehenge.com","subject":"Re: something broken just now on git-pull from openbsd to OSX","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2006-08-18T16:22:38Z","receivedAt":"2006-08-18T16:22:38Z","isPatch":false,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Randal\" == Randal L Schwartz <merlyn@stonehenge.com> writes:\n\n>>>>> \"Randal\" == Randal L Schwartz <merlyn@stonehenge.com> writes:\nRandal> I just updated my openbsd's GIT to 1.4.2.g55c3, and now my\nRandal> git-fetch from there to my OSX fails with a fatal error almost immediately.\n\nRandal> What just changed?  What can I check?\n\nRandal> git-fetch from other repositories to OSX seems to work fine.\n\nRandal> Ahh, it might even be a corrupt repository... here's what\nRandal> a local git-clone shows:\n\nRandal> git-clone ~/Git/stonehenge.git\nRandal> remote: Generating pack...\nRandal> remote: Done counting 2610 objects.\nRandal> remote: Deltifying 2610 objects.\nRandal>  100% (2610/2610) done\nRandal> remote: Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)\nRandal> error: git-fetch-pack: unable to read from git-index-pack\nRandal> error: git-index-pack died of signal 11\nRandal> fetch-pack from '/home/merlyn/Git/stonehenge.git/.git' failed.\n\nRandal> What do you want me to try to help diagnose this?\n\nAnd even more info:\n\n    $ git-repack -a -d\n    Generating pack...\n    Done counting 2610 objects.\n    Deltifying 2610 objects.\n     100% (2610/2610) done\n    Writing 2610 objects.\n     100% (2610/2610) done\n    Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)\n    Pack pack-3cd61a256bd8736b13b0356aafff016260c22b80 created.\n    $ git-repack -a -d -f\n    Generating pack...\n    Done counting 2610 objects.\n    Deltifying 2610 objects.\n    Segmentation fault \n\nOops!  That's not good.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"},{"id":"25590","messageId":"7vwt9568i9.fsf@assigned-by-dhcp.cox.net","threadId":"5323","inReplyTo":"86hd0ako8h.fsf@blue.stonehenge.com","subject":"Re: something broken just now on git-pull from openbsd to OSX","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-08-18T21:26:06Z","receivedAt":"2006-08-18T21:26:06Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"merlyn@stonehenge.com (Randal L. Schwartz) writes:\n\n> And even more info:\n>\n>     $ git-repack -a -d\n>     Generating pack...\n>     Done counting 2610 objects.\n>     Deltifying 2610 objects.\n>      100% (2610/2610) done\n>     Writing 2610 objects.\n>      100% (2610/2610) done\n>     Total 2610, written 2610 (delta 1244), reused 2610 (delta 1244)\n>     Pack pack-3cd61a256bd8736b13b0356aafff016260c22b80 created.\n>     $ git-repack -a -d -f\n>     Generating pack...\n>     Done counting 2610 objects.\n>     Deltifying 2610 objects.\n>     Segmentation fault \n>\n> Oops!  That's not good.\n\nIndeed it is not good.\n\nFirst we would need to see who is dying.\n\ngit-repack -a -d -f does:\n\n - list all the objects that need to be packed by running\n\n\tgit rev-list --objects --all\n\n - piping that to pack-objects\n\n - after that remove old ones (because -d is given)\n\nI am suspecting it is either rev-list or pack-objects, but let's\nisolate which first.\n\n\tgit-rev-list --objects --all >/var/tmp/revlist.out\n\nDoes this die?  If not\n\n\tgit-pack-objects pack </var/tmp/revlist.out\n\ndoes this die?\n\nOnce you isolate which, can you bisect to see where it broke in\nrecent history (assuming it worked ever on OSX)?\n"}]}