From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: git-upload-pack: the timeout gets corrupted?! Date: Sun, 11 Mar 2007 10:23:53 -0700 Message-ID: <45F43B29.5040608@zytor.com> References: <45F35F38.1080206@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Git Mailing List To: "H. Peter Anvin" X-From: git-owner@vger.kernel.org Sun Mar 11 18:24:06 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQRm9-0001rY-6r for gcvg-git@gmane.org; Sun, 11 Mar 2007 18:24:05 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933859AbXCKRYB (ORCPT ); Sun, 11 Mar 2007 13:24:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933860AbXCKRYB (ORCPT ); Sun, 11 Mar 2007 13:24:01 -0400 Received: from terminus.zytor.com ([192.83.249.54]:47315 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933859AbXCKRYA (ORCPT ); Sun, 11 Mar 2007 13:24:00 -0400 Received: from [172.27.0.16] (c-67-180-238-27.hsd1.ca.comcast.net [67.180.238.27]) (authenticated bits=0) by terminus.zytor.com (8.13.8/8.13.7) with ESMTP id l2BHNrt1026373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Mar 2007 10:23:54 -0700 User-Agent: Thunderbird 1.5.0.9 (X11/20070212) In-Reply-To: <45F35F38.1080206@zytor.com> X-Virus-Scanned: ClamAV 0.88.7/2807/Sun Mar 11 01:57:00 2007 on terminus.zytor.com X-Virus-Status: Clean X-Spam-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,PLING_QUERY,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.8 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on terminus.zytor.com Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: H. Peter Anvin wrote: > git-1.5.0.3-1.i386 rpm from Junio's repository on kernel.org: > > Since we got the new git server on kernel.org, we are having a problem > with git-upload-pack processes getting reparented to init, and then > sitting there forever. Going in with gdb, it appears the "timeout" > variable gets overwritten: > > (gdb) p timeout > $1 = 608471321 > > ... which should have been 600. > > The process spends effectively forever waiting in on the fflush() in > show_commit() (in upload-pack.c); /proc/*/fd shows it is trying to write > to a pipe, but I'm not sure what is at the other end of that same pipe. > Another observation: The value is always 608471321 (0x24448919) across all stuck processes that I've examined. This is neither a recent time_t value (it would be Thu Apr 13 11:48:41 UTC 1989) nor is it a valid pointer value in any of the processes I've looked at. -hpa