Re: segfault in diff-delta.c on mac os x (commit 8433669)
From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:43:23
On Jul 22, 2007, at 10:49 AM, Steffen Prohaska wrote:
On Jul 22, 2007, at 5:35 AM, Brian Gernhardt wrote:quoted
On Jul 21, 2007, at 11:15 AM, Steffen Prohaska wrote:quoted
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