{"thread":{"id":"40493","subject":"git interactive rebase bug?","startedAt":"2015-10-05T22:39:59Z","lastAt":"2015-10-06T17:41:03Z","messageCount":6,"participants":["Jacob Keller","Junio C Hamano","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"271186","messageId":"CA+P7+xqMFFtVPnZ7Pw9B9oYXHe5N=Ectyd-M+_aGb2NKjRvLAg@mail.gmail.com","threadId":"40493","inReplyTo":null,"subject":"git interactive rebase bug?","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2015-10-05T22:39:59Z","receivedAt":"2015-10-05T22:39:59Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"Hey,\n\nI've been experiencing a very annoying bug when performing interactive\nrebases. The rebase process will stall after I close the editor, and I\nhave to kill the process and then restart the rebase using \"git rebase\n--continue\"\n\nI am not sure how to debug this further. Suggestions are welcome. It\nis an intermittent issue, so it doesn't always happen but it seems to\nhappen fairly often (at least every other attempt).\n\nIt appears to only occur after an interactive rebase, with an editor is closed.\n\nRegards,\nJake\n"},{"id":"271187","messageId":"CA+P7+xomv59bevbAMV=NYwo+UtY29OqVog3nDFUG8Jp1YbLYpw@mail.gmail.com","threadId":"40493","inReplyTo":"CA+P7+xqMFFtVPnZ7Pw9B9oYXHe5N=Ectyd-M+_aGb2NKjRvLAg@mail.gmail.com","subject":"Re: git interactive rebase bug?","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2015-10-05T22:40:56Z","receivedAt":"2015-10-05T22:40:56Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"On Mon, Oct 5, 2015 at 3:39 PM, Jacob Keller <jacob.keller@gmail.com> wrote:\n> Hey,\n>\n> I've been experiencing a very annoying bug when performing interactive\n> rebases. The rebase process will stall after I close the editor, and I\n> have to kill the process and then restart the rebase using \"git rebase\n> --continue\"\n>\n> I am not sure how to debug this further. Suggestions are welcome. It\n> is an intermittent issue, so it doesn't always happen but it seems to\n> happen fairly often (at least every other attempt).\n>\n> It appears to only occur after an interactive rebase, with an editor is closed.\n>\n> Regards,\n> Jake\n\nNote, I have this problem when using the latest of next branch,\nhaven't had it in the past when using the latest released version, so\nI think it's a rather recent regression.\n\nRegards,\nJake\n"},{"id":"271189","messageId":"xmqqsi5ox6ih.fsf@gitster.mtv.corp.google.com","threadId":"40493","inReplyTo":"CA+P7+xomv59bevbAMV=NYwo+UtY29OqVog3nDFUG8Jp1YbLYpw@mail.gmail.com","subject":"Re: git interactive rebase bug?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2015-10-05T23:03:34Z","receivedAt":"2015-10-05T23:03:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jacob Keller <jacob.keller@gmail.com> writes:\n\n>> I've been experiencing a very annoying bug when performing interactive\n>> rebases. The rebase process will stall after I close the editor, and I\n>> have to kill the process and then restart the rebase using \"git rebase\n>> --continue\"\n>>\n>> I am not sure how to debug this further. Suggestions are welcome. It\n>> is an intermittent issue, so it doesn't always happen but it seems to\n>> happen fairly often (at least every other attempt).\n>>\n>> It appears to only occur after an interactive rebase, with an editor is closed.\n>>\n>> Regards,\n>> Jake\n>\n> Note, I have this problem when using the latest of next branch,\n> haven't had it in the past when using the latest released version, so\n> I think it's a rather recent regression.\n\nPlatform, editor, terminal emulator, specifics?\n\nI have been on Ubuntu, coming over ssh, running \"screen\" as the\nterminal enumlator, displaying on Gnome terminal, and my editor is\n\"emacsclient -c\" to an instance of Emacs in the screen session.  I\nprimarily run a version that is a bit ahead of 'next' (unless it is\nvery close to the feature release, in which case I tend to run\n'master') and haven't noticed anything new that is strange.\n"},{"id":"271200","messageId":"CA+P7+xq8V0tNXsRaKYDQ34CWLTUpq9kGbArJc0OgxSSkPzjy-w@mail.gmail.com","threadId":"40493","inReplyTo":"xmqqsi5ox6ih.fsf@gitster.mtv.corp.google.com","subject":"Re: git interactive rebase bug?","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2015-10-06T04:34:43Z","receivedAt":"2015-10-06T04:34:43Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"On Mon, Oct 5, 2015 at 4:03 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> Platform, editor, terminal emulator, specifics?\n>\n\nI run ssh to a tmux terminal emulator and run vim, I normally see this\nwhen my local client is a windows machine running putty. After I close\nthe editor it just hangs. and I have to Ctrl-C to get it to go. I\nsuppose it could be an issue with vim or similar.\n\nI never noticed the problem with the same setup when I wasn't using\nthe next branch. Tomorrow I will have some time to try out the 2.5.x\ntag and maybe see if I can bisect if it doesn't have an issue. I can\ntry 3-4 rebase interactive attempts it usually shows up pretty fast.\nWhat bothers me is that it's not 100% reproducible.\n\nI'll follow up with more detail tomorrow.\n\nRegards,\nJake\n"},{"id":"271206","messageId":"vpq37xopjwh.fsf@grenoble-inp.fr","threadId":"40493","inReplyTo":"CA+P7+xqMFFtVPnZ7Pw9B9oYXHe5N=Ectyd-M+_aGb2NKjRvLAg@mail.gmail.com","subject":"Re: git interactive rebase bug?","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2015-10-06T06:53:50Z","receivedAt":"2015-10-06T06:53:50Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Jacob Keller <jacob.keller@gmail.com> writes:\n\n> I've been experiencing a very annoying bug when performing interactive\n> rebases. The rebase process will stall after I close the editor, and I\n> have to kill the process and then restart the rebase using \"git rebase\n> --continue\"\n>\n> I am not sure how to debug this further. Suggestions are welcome.\n\nFirst, I'd try \"pstree\" (\"pstree -p\" to get pid) to see if your editor is really dead.\n\nThen, \"strace -p\" on the git process, to see if it's doing some system\ncalls while hanged, or if it's hanged on a particular syscall.\nHopefully, this will yield some \"open\" calls and tell you which files\nGit is currently working with.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"271236","messageId":"CA+P7+xoajj5HL1Tn=CBNg72Po1Jy8yrUBvoD=c=3yYvLCRCGuA@mail.gmail.com","threadId":"40493","inReplyTo":"vpq37xopjwh.fsf@grenoble-inp.fr","subject":"Re: git interactive rebase bug?","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2015-10-06T17:41:03Z","receivedAt":"2015-10-06T17:41:03Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"On Mon, Oct 5, 2015 at 11:53 PM, Matthieu Moy\n<Matthieu.Moy@grenoble-inp.fr> wrote:\n> Jacob Keller <jacob.keller@gmail.com> writes:\n>\n>> I've been experiencing a very annoying bug when performing interactive\n>> rebases. The rebase process will stall after I close the editor, and I\n>> have to kill the process and then restart the rebase using \"git rebase\n>> --continue\"\n>>\n>> I am not sure how to debug this further. Suggestions are welcome.\n>\n> First, I'd try \"pstree\" (\"pstree -p\" to get pid) to see if your editor is really dead.\n>\n> Then, \"strace -p\" on the git process, to see if it's doing some system\n> calls while hanged, or if it's hanged on a particular syscall.\n> Hopefully, this will yield some \"open\" calls and tell you which files\n> Git is currently working with.\n>\n> --\n> Matthieu Moy\n> http://www-verimag.imag.fr/~moy/\n\nAnd of course now I can't get it to fail at all. It did hang one time\nfor about 15-20 seconds and then worked, and suddenly no longer has\nissues... I'll try to remember these two tricks incase it does hang\nagain and I'll report what I find.\n\nThanks,\nJake\n"}]}