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

Re: segfault in diff-delta.c on mac os x (commit 8433669)

From
Steffen Prohaska <prohaska@zib.de>
Date
Jul 22, 2007, 12:59 UTC
Message-ID
<B19AC964-3398-46AF-934B-BB2F06688F7B@zib.de>
In-Reply-To
<6A487E9A-27E5-4212-A7C9-EBB6528791FE@zib.de>
On Jul 22, 2007, at 10:49 AM, Steffen Prohaska wrote:
Show 26 quoted lines
>
> On Jul 22, 2007, at 5:35 AM, Brian Gernhardt wrote:
>
>>
>> On Jul 21, 2007, at 11:15 AM, Steffen Prohaska wrote:
>>
>>> 843366961cf14aad6490fbeb30f7b98f37f8833a may cause segfaults on
>>> Mac OS X. See backtrace below. I only observed the segfault with
>>> -O2 builds.
>>
>> I have been using git on my OS X box for quite a while, and that  
>> commit appears to be nearly two months old.  I have yet to see any  
>> packing errors in any of my repositories.  (This is with -O2,  
>> which appears to be the default.)
>>
>> My gcc reports itself as build 5367 instead of 5250.  Perhaps  
>> there is a compiler error in an older copy of the DevTools?
>
> This seems to be the case. I upgraded the compiler and
> tried again. The segfault didn't happen again. Note, this
> was not exactly the same situation as before because the
> git repository used for testing changed a bit since the
> first segfault.
>
> I'll do some more repacking over the day and will report
> my observations.

I did a lot more testing and am pretty convinced now that the problem is not present with the newer compiler. Using build 5367 of gcc seems to creating a working git executable while build 5250 creates a broken one.

	Steffen
Previous: Steffen Prohaska
Message 4 of 4 in “segfault in diff-delta.c on mac os x (commit 8433669)”
  1. Steffen ProhaskaJul 21, 2007
  2. Brian GernhardtJul 22, 2007
  3. Steffen ProhaskaJul 22, 2007
  4. Steffen ProhaskaJul 22, 2007

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.