delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/13/13:25:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_20,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Need advice debugging a cygwin/git hang
Date: Fri, 13 Jul 2012 10:25:07 -0700
Message-ID: <2942.1342200307@franz.com>
From: Kevin Layer <layer AT franz DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have scripts to fetch and rebase a list of 50+ repos.  I run this on
a 16-core AMD Windows Server 2008 R2 machine.  In about 1 out of 10
times, I get a "git fetch origin" that uses 100% of a core until
killed.

It just happened again a few minutes ago:

$ ps aux
      PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
     2720       1    2720       2720  ?       11003 09:56:55 /usr/bin/bash
     4704       1    4704       4704  ?       11003 10:12:15 /usr/bin/mintty
     2712    4704    2712       3108  pty0    11003 10:12:15 /usr/bin/bash
     5344    5248    5248       2508  ?       11003 10:07:37 /usr/bin/bash
     3116       1    3116       3116  ?       11003 09:56:54 /usr/bin/bash
     5432    1312    5248       6004  ?       11003 10:07:40 /usr/bin/ssh <defunct>
     2028    2712    2028       3220  pty0    11003 10:18:48 /usr/bin/ps
     4692    3688    4692       3600  ?       11003 09:56:21 /usr/bin/rsync
     3688       1    3688       3688  ?       11003 09:56:21 /usr/bin/cygrunsrv
     2468    1312    5248       4844  ?       11003 10:07:42 /usr/lib/git-core/git <defunct>
     1312    5344    5248       1196  ?       11003 10:07:39 /usr/bin/git
     5248       1    5248       5248  ?       11003 10:07:37 /usr/bin/bash
     1580       1    1580       1580  ?       11003 09:56:57 /usr/bin/bash
     1412       1    1412       1412  ?       11003 09:56:56 /usr/bin/bash

I tried strace, but it got a "Segmentation fault" on both the above
git processes.

What can I do to debug this?

Thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019