git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Segmentation fault with latest git (070c57df)

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 4, 2013, 07:13 UTC
Message-ID
<7vehgw5z7n.fsf@alter.siamese.dyndns.org>
In-Reply-To
<12070540.431901359961105650.JavaMail.weblogic@epml10>
Jongman Heo <jongman.heo@samsung.com> writes:
Show 18 quoted lines
> Jonathan Nieder wrote:
>> 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
>
> Hi, Jonathan,
>
> I applied the patch to newer version. 
>
> This time, I tried to apply the patch to older version of Makefile, and now the issue is fixed~. 
> Thanks~!

Yeah, that result is understandable, as .depend/*.o.d files will not be rebuilt when the rules to build them changes in the Makefile. Applying the patch to the Makefile in the pristine old tree, run the build (which will generate .depend/*.o.d files with the corrected rules), then checking out the new tree and running the build again without "make clean", with or with the patch applied, would validate that the patch fixes the issue for old ccache.

Thanks Jonathan for diagnosing, fixing, and thanks Jongman for testing.

Previous: Jongman HeoNext: Jeff King
Message 2 of 13 in “Re: Re: Segmentation fault with latest git (070c57df)”
  1. Jongman HeoFeb 4, 2013
  2. Junio C HamanoFeb 4, 2013
  3. Jeff KingFeb 4, 2013
  4. Junio C HamanoFeb 4, 2013
  5. Junio C HamanoFeb 4, 2013
  6. Jeff KingFeb 4, 2013
  7. Jeff KingFeb 4, 2013
  8. Junio C HamanoFeb 4, 2013
  9. Jonathan NiederFeb 4, 2013
  10. samMay 15, 2013
  11. samMay 15, 2013
  12. Ramkumar RamachandraMay 16, 2013
  13. Ramkumar RamachandraMay 16, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.