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, 08:49 UTC
Message-ID
<6A487E9A-27E5-4212-A7C9-EBB6528791FE@zib.de>
In-Reply-To
<233B9D70-9D91-4527-9801-7E2463ABDDAA@silverinsanity.com>
On Jul 22, 2007, at 5:35 AM, Brian Gernhardt wrote:
Show 14 quoted lines
>
> 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.

> Also, did this segfault occur with any publicly available repo or  
> is it your own work?

It occurred on repacking a clone of git://git.kernel.org/pub/scm/git/git.git.

	Steffen
Previous: Brian GernhardtNext: Steffen Prohaska
Message 3 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.