delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/22/17:27:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C914385783D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1603402001;
bh=9GDUZgA/WJGsSQMTyPVf67G+ab3Xwgjulhebhqnx+OU=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=HphpwyFh52eoBURz4U0FLtpqSsEudZV3JLZeGh5eYncyRJg2pdgAuorFcXfsSHy3y
QtUF8bJgjSA4QfAkRidp0l44BZsCDuJyBjvUtRW0x6rh1JJxfXI01ag+7eoc3anSh2
s8cB0uIBRt2fFR6N/xZ2OheYBBvwKC4su5VV9N88=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F21FD385783D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=TOyL+N6VxOCafCp9Ne/Ua554bythZUstw2gmpPRVLZ0=;
b=aWBRiSKkfG9Huh/rJ/YV+HtGdwrMgP1qLfR6IBKBoII3KHpGkfGzyvmQiHDUWdcqpv
DM95+i5FXkVbpJcNwc1IYi9lDgFb2GAtXdSE2jPIMM4a6T5GPSwg2wr09oGAoaeP6NyB
okl+siD+3xW87A7mrOBr54ojmOO1605KjKyt1NByRK5KpBFDdi6lgVJs8Vy/yQRUUjJz
+pl9ZRFHCIyBqjjmei+VJhLf+MqFS+rRWjIMgSiQ2lQAn6HWPHms5Zl81xMy3G9loI4t
Z90O8yNSWMURvAIfg/zzWuuQrFUBOSBpD2oMZ5t0LP0/G/k4ZA2bLoGTr1cWNbcNWk4R
JHQw==
X-Gm-Message-State: AOAM533HDT7u0p0ZIsdCyjBTmZPMsEOzibZr/cOREG39QlPJdCpRg6yx
NWsbXgCsTW5biZjaD0hixKh7IW41cnxAQw==
X-Google-Smtp-Source: ABdhPJwa4LzvwyjiU5EXVkOCFyjsmKLNR1IsBCbXh794km2JVg8eZMbMR0PrzarnOmJY9v5H9nF/dg==
X-Received: by 2002:a4a:5a06:: with SMTP id v6mr3423293ooa.69.1603401998074;
Thu, 22 Oct 2020 14:26:38 -0700 (PDT)
Subject: Re: I have a problem with some applications in Cygwin
To: "Cygwin (cygwin AT cygwin DOT com)" <cygwin AT cygwin DOT com>
References: <AM6PR09MB23283E2B127E324DFD6799FE821D0 AT AM6PR09MB2328 DOT eurprd09 DOT prod DOT outlook DOT com>
Message-ID: <a09123d6-dfb9-acf8-1d7a-9a2cd30f825d@gmail.com>
Date: Thu, 22 Oct 2020 16:27:39 -0500
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19)
Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
In-Reply-To: <AM6PR09MB23283E2B127E324DFD6799FE821D0@AM6PR09MB2328.eurprd09.prod.outlook.com>
X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
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>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 09MLR95x010289

On 10/22/2020 9:15 AM, Eirik Nordbrøden via Cygwin wrote:

> I have been using for many years and have not really had any major
> problems, but now I have run into a problem with some of the
> applications in Cygwin that I have been struggling with for some time
> without being able to solve it. Hopefully someone in this list can
> point me in the right direction to fix the problem.
> 
> I have a new Windows 10 PC with a fresh Cygwin installation, but
> struggles with some of the applications that I have installed. When I
> try to use applications like ssh, ssh-keygen, git, snmpwalk, snmpnext

Just an idea, all of those are network tools, that means they depend on 
DNS resolving, which may be slow if not set correctly.

Have you tried using numeric IP addresses?

> etc. they all just hangs and I am not able to stop them through
> CTRL-C. I need to use Task Manager to kill the application (kill -9

That is very strange, Cygwin's programs respond to Ctrl-C fast.

Are you sure you are using the Cygwin program, for instance ssh, and not 
the Microsoft program (of the same name)?

> does not work either). But if I run the application from gdb (like
> 'gdb ssh-keygen' and the 'run') they seem to work. Most applications
> seems to work as expected, but not the ones I have listed (and maybe
> some more applications as well).
> 
> I think that this might be due to something in my PC, but are not
> able to pinpoint it. At one point I thought that this was due to the
> virus control in the PC (Trend), but now I have uninstalled this and
> just uses Windows defender.

Good point and it needed to be tested, so that is out of the picture.

Repeating what I hinted to above, maybe running the program under gdb 
you are specifying the whole path to the program, which is not the same 
as letting the shell find it.  Try: `which ssh` to see which one is used.

Another test is to use ldd or cygcheck to take a look at the libraries 
loaded... if they include anti-virus or other strange libraries, then 
that is interfering.

Also using strace could (probably will) show where everything stops.

HTH
--
R.Berber
--
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