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

Re: git interactive rebase bug?

From
Jacob Keller <jacob.keller@gmail.com>
Date
Oct 6, 2015, 17:41 UTC
Message-ID
<CA+P7+xoajj5HL1Tn=CBNg72Po1Jy8yrUBvoD=c=3yYvLCRCGuA@mail.gmail.com>
In-Reply-To
<vpq37xopjwh.fsf@grenoble-inp.fr>

On Mon, Oct 5, 2015 at 11:53 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 19 quoted lines
> Jacob Keller <jacob.keller@gmail.com> writes:
>
>> I've been experiencing a very annoying bug when performing interactive
>> rebases. The rebase process will stall after I close the editor, and I
>> have to kill the process and then restart the rebase using "git rebase
>> --continue"
>>
>> I am not sure how to debug this further. Suggestions are welcome.
>
> First, I'd try "pstree" ("pstree -p" to get pid) to see if your editor is really dead.
>
> Then, "strace -p" on the git process, to see if it's doing some system
> calls while hanged, or if it's hanged on a particular syscall.
> Hopefully, this will yield some "open" calls and tell you which files
> Git is currently working with.
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/

And of course now I can't get it to fail at all. It did hang one time for about 15-20 seconds and then worked, and suddenly no longer has issues... I'll try to remember these two tricks incase it does hang again and I'll report what I find.

Thanks, Jake

Previous: Matthieu Moy
Message 6 of 6 in “git interactive rebase bug?”
  1. Jacob KellerOct 5, 2015
  2. Jacob KellerOct 5, 2015
  3. Junio C HamanoOct 5, 2015
  4. Jacob KellerOct 6, 2015
  5. Matthieu MoyOct 6, 2015
  6. Jacob KellerOct 6, 2015

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.