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

Re: http git clone memory problem.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 24, 2007, 17:45 UTC
Message-ID
<Pine.LNX.4.64.0707241842270.14781@racer.site>
In-Reply-To
<1621f9fa0707241033l7ac53b97i8c8ea068be0cba2f@mail.gmail.com>
Hi,
On Tue, 24 Jul 2007, Benjamin Sergeant wrote:
> I still have the segfault with 1.5.2.4. If I try to gdb it, it abort 
> before I can do anything. Is there an environment variable that I can 
> set to disable signal handling or something in git ?
Did you gdb http-fetch?

If not, please use "sh -x git-clone..." to find out what command line to use.

And when you have the command line, please use valgrind to find out where the leak/corruption is.

There are some flags that are automatically set/unset when compiling the http transport, and it is not easy to know which flags are enabled in your setup.

But for starters, you might want to recompile http-fetch without -O2. My gdb always has problems attributing the correct line, which does not exactly make it easier for me to debug things. I could imagine your gdb is as annoying.

Ciao, Dscho

Previous: Benjamin SergeantNext: Benjamin Sergeant
Message 6 of 8 in “http git clone memory problem.”
  1. Benjamin SergeantJul 24, 2007
  2. Johannes SchindelinJul 24, 2007
  3. Benjamin SergeantJul 24, 2007
  4. Benjamin SergeantJul 24, 2007
  5. Benjamin SergeantJul 24, 2007
  6. Johannes SchindelinJul 24, 2007
  7. Benjamin SergeantJul 24, 2007
  8. Benjamin SergeantJul 24, 2007

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.