# Segfault

3 messages from 2017-12-29 to 2018-01-02. Participants: Andrew Tsykhonya, Eric Sunshine.
Thread: https://gitlist.dev/t/47508

## Andrew Tsykhonya, 2017-12-29 09:04

Subject: Segfault
Message-ID: <CAO2669gb9+VEEkS2Pa=ZNbA9FsZT2t-7MmG9Nc=-nmB3Rcicig@mail.gmail.com>
URL: https://gitlist.dev/e/CAO2669gb9%2BVEEkS2Pa%3DZNbA9FsZT2t-7MmG9Nc%3D-nmB3Rcicig%40mail.gmail.com

```
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, 2017-12-31 08:59

Subject: Re: Segfault
Message-ID: <CAPig+cQhL-r-V8tMtmn3cTB90=2sxFAk65zpzEvMM5rRHdH3Ow@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcQhL-r-V8tMtmn3cTB90%3D2sxFAk65zpzEvMM5rRHdH3Ow%40mail.gmail.com
In-Reply-To: <CAO2669gb9+VEEkS2Pa=ZNbA9FsZT2t-7MmG9Nc=-nmB3Rcicig@mail.gmail.com>

```
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.

```

## Andrew Tsykhonya, 2018-01-02 10:11

Subject: Re: Segfault
Message-ID: <CAO2669iv1+nCmWYuytiBaV2kqbGpew7bZvQZxf5nhXsYC3zvhA@mail.gmail.com>
URL: https://gitlist.dev/e/CAO2669iv1%2BnCmWYuytiBaV2kqbGpew7bZvQZxf5nhXsYC3zvhA%40mail.gmail.com
In-Reply-To: <CAPig+cQhL-r-V8tMtmn3cTB90=2sxFAk65zpzEvMM5rRHdH3Ow@mail.gmail.com>

```
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>:
> 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.

```
