# Segmentation fault on clone

3 messages from 2018-01-19 to 2018-01-19. Participants: Stephen M. McQuay, Todd Zullinger.
Thread: https://gitlist.dev/t/47646

## Stephen M. McQuay, 2018-01-19 18:08

Subject: Segmentation fault on clone
Message-ID: <20180119180855.GA98561@smm.local>
URL: https://gitlist.dev/e/20180119180855.GA98561%40smm.local

```
I submitted a bug against the brew project when git version 2.16.0 
started segfaulting:

https://github.com/Homebrew/homebrew-core/issues/23045#issuecomment-358891009

I've built git from master from https://github.com/git/git and was able 
to reproduce (no surprise, the top commit claims it's 2.16.0), and also 
built from the `next` branch which yields similar results.

I'm on latest customer release of MacOS:

    $ uname -a
    Darwin smm.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64

    $ sw_vers
    ProductName:    Mac OS X
    ProductVersion: 10.13.2
    BuildVersion:   17C205

The clone url in question: git@github.com:gdamore/tcell.git

Any other information that would be helpful?

Respectfully,

-- 
Stephen

```

## Todd Zullinger, 2018-01-19 18:22

Subject: Re: Segmentation fault on clone
Message-ID: <20180119182204.GO1427@zaya.teonanacatl.net>
URL: https://gitlist.dev/e/20180119182204.GO1427%40zaya.teonanacatl.net
In-Reply-To: <20180119180855.GA98561@smm.local>

```
Hi Stephen,

Stephen M. McQuay wrote:
> I submitted a bug against the brew project when git
> version 2.16.0 started segfaulting:
> 
> https://github.com/Homebrew/homebrew-core/issues/23045#issuecomment-358891009

This seems likely to be the same segfault as:

https://public-inbox.org/git/CALwADsGfB10f5+nOFN-pHCt4z1SkWMcvSHn8KokcyCM0V6K-BA@mail.gmail.com/

There's a patch in that thread.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The man who is a pessimist before forty-eight knows too much; the man
who is an optimist after forty-eight knows too little.
    -- Mark Twain


```

## Stephen M. McQuay, 2018-01-19 18:26

Subject: Re: Segmentation fault on clone
Message-ID: <20180119182634.GB98561@smm.local>
URL: https://gitlist.dev/e/20180119182634.GB98561%40smm.local
In-Reply-To: <20180119182204.GO1427@zaya.teonanacatl.net>

```
On Fri, Jan 19, 2018 at 01:22:04PM -0500, Todd Zullinger wrote:
>This seems likely to be the same segfault as:
>
>https://public-inbox.org/git/CALwADsGfB10f5+nOFN-pHCt4z1SkWMcvSHn8KokcyCM0V6K-BA@mail.gmail.com/
>
>There's a patch in that thread.

I've verified that the patch fixes my case.

I'll back off to 2.15.x and wait for that (or similar) to land.

Thanks for the pointer,

-- 
Stephen

```
