delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/08/05:36:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EDCE93973018
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=adam AT dinwoodie DOT org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=dinwoodie.org; s=google;
h=date:from:to:subject:message-id:references:mime-version
:content-disposition:content-transfer-encoding:in-reply-to
:user-agent; bh=SejDaIN9X6EariAYoGeL+tAuXDb6pxQVEQth1YTP05Y=;
b=prGpXsj5YNs1ZKsLN8AlP1lardTOxyzR7uI4n9eUlMApUFzXD7T9dfGQKBaP989H3Z
58/UqPuf0d9SP1Kfw2wP9fGrv6xNNPIacrmrtW2KJnUDoaCyUuaLKDyBu6h/hjISygS1
i9+4sKFzn8CtPuFYf+hcNQT3EzSirRWS+ekJg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:references
:mime-version:content-disposition:content-transfer-encoding
:in-reply-to:user-agent;
bh=SejDaIN9X6EariAYoGeL+tAuXDb6pxQVEQth1YTP05Y=;
b=TZBjprO/nSqWFiX2+8Ebg41dQyP880Qwcd0/UUgYgjkvoz8AHxByniUv2xgxCa/p9P
QgKyFsx1g9Blp19r6uyVoRI8w+dJNNEqz484/ro6pTSSlK3PIsE3FRtB6jnekyaASErC
A9R+rI1+e64j6umtwLtgaZ3FsIVFHPyzitKtbvUUHNLRUg6zxZZwwXuWO9NElG8GzrdJ
pvGqbSN8hXMjMj50p1XE/zbeSmeZPcMdiZaRSphkn0w1G+76x4grQog66Uf7DIErtpws
QW8G9IUPcfbXVRLzZ0XWWk1vktBSsBGJLaq4uplPz2jT330lzURd1OQY+dGTXzWJ8gzH
4k4A==
X-Gm-Message-State: AOAM532pOpnkoBTC05QvI1db8yJB4NI1hQ2u6ntz5zA/+8bRQIfpTLVm
vwElCciL8/If5wRtMBziz4taOwuyNCTGEQ==
X-Google-Smtp-Source: ABdhPJzDa8NF2sEf0BOkP13uU3SO0PQN9+kzNeUv9in7tJGSiNYn49e332OetapAlvr8UmdQB99glQ==
X-Received: by 2002:a5d:4d50:: with SMTP id a16mr2893175wru.43.1610102133610;
Fri, 08 Jan 2021 02:35:33 -0800 (PST)
Date: Fri, 8 Jan 2021 10:35:21 +0000
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: matthew patton via Cygwin <cygwin AT cygwin DOT com>
Subject: Re: misterious GIT failure
Message-ID: <20210108103521.GA29321@dinwoodie.org>
References: <638366959 DOT 5124927 DOT 1610072027608 DOT ref AT mail DOT yahoo DOT com>
<638366959 DOT 5124927 DOT 1610072027608 AT mail DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <638366959.5124927.1610072027608@mail.yahoo.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 108Aa4nq016505

On Friday 08 January 2021 at 02:13 am +0000, matthew patton via Cygwin wrote:
> I've been using cygwin since like 20 years ago and do everything in
> it. A couple days ago my Git program mysteriously stopped working. I
> can see (GIT_TRACE=1) it invoke SSH and HTTPS connections just fine
> but it fails with a short-read/write when it's time for pack or
> unpack. Baffled I uninstalled Cygwin and blew away the Repo and
> started over. Git worked fine for a few hours and then BAM same
> problem. I've tried all three versions of git available in the repos.
> Short of deleting Cygwin entirely and starting over, nothing brings it
> back.
> 
> I use Github, Bitbucket, and CodeCommit (amazon) for various
> repositories and once Git stops working it won't work on any of them.
> (I briefly thought maybe there was some badly behaved backends)
> 
> Here's an example output. Anyone have a notion as to what the dickens is going on?
> 
> 21:04:24.233957 git.c:444               trace: built-in: git fetch
> 21:04:24.238648 run-command.c:664       trace: run_command: unset GIT_PREFIX; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git AT github DOT com 'git-upload-pack '\''tb3088/shell-environment.git'\'''
> remote: Enumerating objects: 34, done.
> remote: Counting objects: 100% (34/34), done.
> remote: Compressing objects: 100% (25/25), done.
> 21:04:25.119943 run-command.c:664       trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 1011 on SOHO-GP4D633' --pack_header=2,1635
> fatal: index-pack failed

This looks like some sort of problem writing to disk to me.  Where are
you storing your Git repositories?  Is it on a regular NTFS disk, or a
file share, or something more esorteric?  And does that drive have
plenty of free space?

Can you please provide the cygcheck output per
https://cygwin.com/problems.html?

If neither of these points at an obvious problem, I expect the next step
will be either (a) looking at Cygwin strace output to get a more
detailed view of what's happening when things go wrong, or (b) having
you build and run the full Git test suite with a view to using that to
narrow down what steps are going wrong.

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

- Raw text -


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