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

Re: Git crashes on pull

From
GOGuido Ostkamp <git@ostkamp.fastmail.fm>
Date
Sep 15, 2009, 22:30 UTC
Message-ID
<alpine.LSU.2.01.0909160022430.24554@bianca.dialin.t-online.de>
In-Reply-To
<7vljkg57xs.fsf@alter.siamese.dyndns.org>
On Tue, 15 Sep 2009, Junio C Hamano wrote:
Show 11 quoted lines
> Please try this patch, which I have been preparing for later pushout.
>
> From: Junio C Hamano <gitster@pobox.com>
> Date: Mon, 14 Sep 2009 14:48:15 -0700
> Subject: [PATCH] http.c: avoid freeing an uninitialized pointer
>
> An earlier 59b8d38 (http.c: remove verification of remote packs) left
> the variable "url" uninitialized; "goto cleanup" codepath can free it
> which is not very nice.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Appears to be working ok now, thanks.
BTW: Is there any way to easily invoke GDB in case of such a problem to 
get a real symbolic stack backtrace?

I tried it on the 'git' binary, but of course this didn't work because it invokes a git-pull script which again runs another git-remote-curl binary.

Regards
Guido
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Git crashes on pull”
  1. Guido OstkampSep 15, 2009
  2. Junio C HamanoSep 15, 2009
  3. Guido OstkampSep 15, 2009
  4. Junio C HamanoSep 15, 2009
  5. Michael WookeySep 15, 2009
  6. Tay Ray ChuanSep 18, 2009

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.