From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Rast Subject: Re: regression in multi-threaded git-pack-index Date: Tue, 19 Mar 2013 16:41:53 +0100 Message-ID: <87hak74cse.fsf@pctrast.inf.ethz.ch> References: <20130315224240.50AA340839@wince.sfo.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , Jeff King , =?utf-8?B?Tmd1eeG7hW4g?= =?utf-8?B?VGjDoWkgTmfhu41j?= Duy , Junio C Hamano To: Stefan Zager X-From: git-owner@vger.kernel.org Tue Mar 19 16:42:27 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHygD-0007S5-PG for gcvg-git-2@plane.gmane.org; Tue, 19 Mar 2013 16:42:26 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932545Ab3CSPl5 (ORCPT ); Tue, 19 Mar 2013 11:41:57 -0400 Received: from edge20.ethz.ch ([82.130.99.26]:40356 "EHLO edge20.ethz.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932285Ab3CSPl4 (ORCPT ); Tue, 19 Mar 2013 11:41:56 -0400 Received: from CAS12.d.ethz.ch (172.31.38.212) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 19 Mar 2013 16:41:49 +0100 Received: from pctrast.inf.ethz.ch.ethz.ch (129.132.171.78) by CAS12.d.ethz.ch (172.31.38.212) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 19 Mar 2013 16:41:53 +0100 In-Reply-To: <20130315224240.50AA340839@wince.sfo.corp.google.com> (Stefan Zager's message of "Fri, 15 Mar 2013 15:42:40 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Originating-IP: [129.132.171.78] Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: szager@google.com (Stefan Zager) writes: > We have uncovered a regression in this commit: > > b8a2486f1524947f232f657e9f2ebf44e3e7a243 > > The symptom is that 'git fetch' dies with: > > error: index-pack died of signal 10 > fatal: index-pack failed So after that fun detour into threading issues, I have actually managed to reproduce this problem on OS X even with the three in-flight patches already applied. I reduced the issue to this file: http://thomasrast.ch/download/broken-pack on which you can run this command in the repo that Stefan provided: git index-pack --keep --stdin -v --pack_header=2,50757 real_type == OBJ_OFS_DELTA' failed. Aborted I think the patch is probably still good as it stands, but there's some underlying breakage going on that hides the problem if we don't clear that memory... I'm still looking, but I wanted to get this -- and in particular the pack -- out for you to play with ;-) -- Thomas Rast trast@{inf,student}.ethz.ch