From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Shawn O. Pearce" Subject: Re: fact-import: failed to apply delta Date: Tue, 10 Feb 2009 11:12:20 -0800 Message-ID: <20090210191220.GT30949@spearce.org> References: <20090210155626.GM30949@spearce.org> <20090210172212.GR30949@spearce.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Johannes Schindelin , git@vger.kernel.org To: Daniel Barkalow X-From: git-owner@vger.kernel.org Tue Feb 10 20:16:08 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1LWy5M-0001dJ-TC for gcvg-git-2@gmane.org; Tue, 10 Feb 2009 20:15:57 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756182AbZBJTMY (ORCPT ); Tue, 10 Feb 2009 14:12:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757038AbZBJTMW (ORCPT ); Tue, 10 Feb 2009 14:12:22 -0500 Received: from george.spearce.org ([209.20.77.23]:55719 "EHLO george.spearce.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756553AbZBJTMV (ORCPT ); Tue, 10 Feb 2009 14:12:21 -0500 Received: by george.spearce.org (Postfix, from userid 1001) id 028F038210; Tue, 10 Feb 2009 19:12:20 +0000 (UTC) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Daniel Barkalow wrote: > > Actually, I went for the other end; I made close_pack_windows() not mind > the open windows (hey, it's dying anyway in my case, nobody's going to > write more), and the results passed verification and "git fsck --full" > with just a few dangling blobs and a dangling commit. So it seems to me > that it has to be wrong information in memory. Like the wrong offset within the pack for the object start? Can you compare the offsets you are getting during unpack_delta_entry() against what verify-pack -v shows for the same file? They should agree, unless we're somehow wrong in memory within fast-import. But then, the output pack-*.idx file created when fast-import closed the pack would be wrong too. -- Shawn.