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