# Re: Re: Re: Re: Re: Segmentation fault with latest git (070c57df)

2 messages from 2013-02-04 to 2013-02-04. Participants: Jongman Heo, Jonathan Nieder.
Thread: https://gitlist.dev/t/32821

## Jongman Heo, 2013-02-04 02:18

Subject: Re: Re: Re: Re: Re: Segmentation fault with latest git (070c57df)
Message-ID: <19086873.858651359944284535.JavaMail.weblogic@epml01>
URL: https://gitlist.dev/e/19086873.858651359944284535.JavaMail.weblogic%40epml01

```

Jonathan Nieder wrote:

> Jongman Heo wrote:
>
>>> But it doesn't stimulate any prerequisites in make, which is weird.
>>> What's in builtin/.depend/fetch.o.d?
>[...]
>> please see below~.
>>
>> $ cat builtin/.depend/fetch.o.d            
>> fetch.o: builtin/fetch.c cache.h git-compat-util.h compat/bswap.h \
>
>That's the problem.  See the following thread:
>
>  http://thread.gmane.org/gmane.comp.version-control.git/185625/focus=185680
>
>Currently when COMPUTE_HEADER_DEPENDENCIES=auto git tests for
>dependency generation support by checking the output and exit status
>from the following command:
>
>$(CC) $(ALL_CFLAGS) -c -MF /dev/null -MMD -MP \
>-x c /dev/null -o /dev/null 2>&1
>
>Perhaps this can be improved?  Even something as simple as a ccache
>version test could presumably help a lot.
>
>Hope that helps,
>Jonathan

Hi,

Unfortunately, the patch didn't help to me.
Anyway, ccache is the culprit (I'm using ccache 2.4 version).

If I disable ccache using CCACHE_DISABLE=1, then the issue doesn't happen. Thanks.

Best regards,
Jongman Heo.

```

## Jonathan Nieder, 2013-02-04 03:40

Subject: Re: Segmentation fault with latest git (070c57df)
Message-ID: <20130204034002.GA6337@elie.Belkin>
URL: https://gitlist.dev/e/20130204034002.GA6337%40elie.Belkin
In-Reply-To: <19086873.858651359944284535.JavaMail.weblogic@epml01>

```
Jongman Heo wrote:

> Unfortunately, the patch didn't help to me.

Thanks for testing.  Did you apply the patch to the older version of
git that generates builtin/.depend/fetch.o.d or the newer version that
consumes it?

Curious,
Jonathan

```
