threads / discuss / 47508

Segfault

Subject: Segfault

## tl;dr

3 messages between Dec 29, 2017 and Jan 2, 2018.

replies: 2people: 2as markdown or json

Andrew Tsykhonya· Dec 29, 2017, 09:04 UTC · lore

git stash pop resulted in crash: /usr/local/Cellar/git/2.10.2/libexec/git-core/git-stash: line 470: 14946 Segmentation fault: 11 git merge-recursive $b_tree -- $c_tree $w_tree

although, the changes have been applied successfully.
Eric Sunshine· Dec 31, 2017, 08:59 UTC · re: Andrew Tsykhonya · lore

Re: Segfault

On Fri, Dec 29, 2017 at 4:04 AM, Andrew Tsykhonya <andrew.tsykhonya@gmail.com> wrote:

Show 5 quoted lines
> git stash pop resulted in crash:
> /usr/local/Cellar/git/2.10.2/libexec/git-core/git-stash: line 470:
> 14946 Segmentation fault: 11 git merge-recursive $b_tree -- $c_tree
> $w_tree
> although, the changes have been applied successfully.

Thanks for the problem report. Can you come up with a reproduction recipe in order to help debug the problem?

Also, what happens if you update to a newer version of Git? You appear to be running 2.10.2, whereas the latest version in Homebrew seems to be 2.15.1.

Andrew Tsykhonya· Jan 2, 2018, 10:11 UTC · re: Eric Sunshine · lore

Re: Segfault

I made: $git stash $git checkout <branch_name> $git stash pop - crash here. changes were applied, but index.lock was not removed.

The issue appeared only once, I haven't seen it before and cannot reproduce it now.

Thanks, updated git to 2.15.1.
2017-12-31 10:59 GMT+02:00 Eric Sunshine <sunshine@sunshineco.com>:
Show 14 quoted lines
> On Fri, Dec 29, 2017 at 4:04 AM, Andrew Tsykhonya
> <andrew.tsykhonya@gmail.com> wrote:
>> git stash pop resulted in crash:
>> /usr/local/Cellar/git/2.10.2/libexec/git-core/git-stash: line 470:
>> 14946 Segmentation fault: 11 git merge-recursive $b_tree -- $c_tree
>> $w_tree
>> although, the changes have been applied successfully.
>
> Thanks for the problem report. Can you come up with a reproduction
> recipe in order to help debug the problem?
>
> Also, what happens if you update to a newer version of Git? You appear
> to be running 2.10.2, whereas the latest version in Homebrew seems to
> be 2.15.1.

← back to recent threads