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

Re: error: git-fast-import died of signal 11

From
Andrew Wong <andrew.kw.w@gmail.com>
Date
Oct 16, 2012, 20:12 UTC
Message-ID
<CADgNjanD=gYF_J7onuY6gK2mXuj1XGjWWX28nb2aAYPfmWH3PQ@mail.gmail.com>
In-Reply-To
<CAMJd5AR2gsyymKhT_hK9=4bHbcVnn+qEaDSxrZeJL1dfbmDxTw@mail.gmail.com>
On Tue, Oct 16, 2012 at 3:41 PM, Uri Moszkowicz <uri@4refs.com> wrote:
Show 6 quoted lines
> I can do that if it still fails tomorrow. How do I build a debug version of git?
>
> On Tue, Oct 16, 2012 at 2:35 PM, Andrew Wong <andrew.kw.w@gmail.com> wrote:
>> Yea, it's a difficult problem to diagnose. It'd be really helpful if
>> you can run a debug version of git and run the import process under a
>> debugger.
After getting git's source, you can simply run "make", and it'll
compile with debug info by default. When compiling is done, you will
see all the binaries in the source's root folder. Then, from the
source folder, you can start gdb by the command:
    gdb ./git-fast-import
When you're inside gdb, put a breakpoint on "die_nicely" by entering:
    b die_nicely
Then, you can finally run your import process by entering:
    r < your_cvs_dump
When fast-import crashes/dies, you can find the stacktrace by entering:
    bt

And that should tell us where it crashed, and, hopefully, where the memory error happened.

Previous: Uri Moszkowicz
Message 8 of 8 in “error: git-fast-import died of signal 11”
  1. Uri MoszkowiczOct 15, 2012
  2. Andrew WongOct 15, 2012
  3. Uri MoszkowiczOct 15, 2012
  4. Andrew WongOct 15, 2012
  5. Michael HaggertyOct 16, 2012
  6. Uri MoszkowiczOct 16, 2012
  7. Uri MoszkowiczOct 17, 2012
  8. Andrew WongOct 16, 2012

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.