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

Re: git-update-server-info crashes on hera.kernel.org:/pub/scm/libs/klibc/klibc.git

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Dec 4, 2005, 07:12 UTC
Message-ID
<439296C2.8020809@zytor.com>
In-Reply-To
<7v64q5tkhi.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 27 quoted lines
> "H. Peter Anvin" <hpa@zytor.com> writes:
> 
> 
>>FWIW, I invoked this as:
>>
>>hpa@hera:~(0)$ GIT_DIR=/pub/scm/libs/klibc/klibc.git git-update-server-info
>>Segmentation fault
> 
> 
> Trusting that I *won't* be able to write into that repository, I
> tried to run that and after getting an error ("cannot update
> info/refs file", which I wanted to see) I seem to be getting the
> same segfault.  GDB session reveals the binary is heavily
> optimized or inlined, so it is hard to see what it is doing
> though.
> 
> But there is one thing that is mysterious about your repository,
> and by mirroring that peculiarity with the copy in my home
> directory, I managed to reproduce the problem with my copy.  Why
> does the objects/info/alternates in that repository point at
> itself?  I suspect if you remove that file you will be OK.
> 
> update-server-info simply dying, instead of complaining about
> it, is a bug nevertheless, and removal of the
> unnecessary/possibly wrong alternate is only a workaround, but I
> hope that would unblock you in the meantime..
> 

Removing that file did indeed work. I have no idea where it comes from, though; although I would guess it comes from another repository that I merged with (which had my original repository set as an alternate.)

	-hpa
Previous: Junio C Hamano
Message 5 of 5 in “git-update-server-info crashes on hera.kernel.org:/pub/scm/libs/klibc/klibc.git”
  1. H. Peter AnvinDec 3, 2005
  2. Junio C HamanoDec 4, 2005
  3. H. Peter AnvinDec 4, 2005
  4. Junio C HamanoDec 4, 2005
  5. H. Peter AnvinDec 4, 2005

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.