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

Re: something broken just now on git-pull from openbsd to OSX

From
Junio C Hamano <junkio@cox.net>
Date
Aug 18, 2006, 21:26 UTC
Message-ID
<7vwt9568i9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<86hd0ako8h.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 18 quoted lines
> 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)?

Previous: Randal L. Schwartz
Message 4 of 4 in “something broken just now on git-pull from openbsd to OSX”
  1. Randal L. SchwartzAug 18, 2006
  2. Randal L. SchwartzAug 18, 2006
  3. Randal L. SchwartzAug 18, 2006
  4. Junio C HamanoAug 18, 2006

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.