X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=sO+ZGyP BDUp9MINZ2tVxjaK6nvUDBQWv4TNrSlC34Nt/w+Z8wMmXtb8fBf9U0+oHZNLwEID eXRx1IzI1grDb6O0HNPLAm8Rv3+zbFKgU3Lx38qTW8Y9W4agCMcJJykcx2gfDeL0 eh+BQHfD1168IDXGfnp6utBtqIUvBRQWDMQ0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=Q9Wmvj5LNorfu 2FkD56Q6LhIfLc=; b=fc2O03gaFt0um9O46ERR19DSYA2cOQwrtU38qP0pp/Guo yIlO+mNwSHmd4NK9ZRbYRpcSouP5s6Buyn2xOItD3vyoJrr/Z/x7Xf+y1oUO7zXj TjUBhPbKsGYrkYEFrvB2wSz0vA47sHG1iDc2dgLjEdFDYMIFXhgHbSRk3VGirQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Spam-Relays-External:209.85.166.65, H*r:ip*209.85.166.65, H*RU:209.85.166.65, antivirus X-HELO: mail-io1-f65.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=F/brBwgPp6P3EOxq2FDSGrYK7pro001nWpT/cnTJULU=; b=PUmpYis1jlQ+v6L5JcD3lsVqoBdpICJVt9VL5QGfxvsI/NC6KvlZ5ISIthOxGUznzF eajwEmMVUT6l5qfwcA+himUKGlOvBAd0evauu6YMJikIRSDmVkyHcKuRp0rxTrjGrwjd s4vrhPK8mynglOKsdvI6Ov8klg/OyZeG7oacxIC3b+3WUMU76HC0LWsPKYDU+cgU7P9l QSuxsYUWOfnpQUr7o0XJu6FQ8wp6JNHqug6Z91xI+nySsqOL0i1TDOL48SEam3/X5DB0 B3XMkkj8CSyCSO3Mw7/eOEFnPCHDsVgfHAH8h6e2/05MnhGvs9pwQhIGXmfcpRax6qRN 2oIg== MIME-Version: 1.0 References: <5b00c2e2-dbfa-ef62-0f91-b82fe9e5576d AT SystematicSw DOT ab DOT ca> In-Reply-To: <5b00c2e2-dbfa-ef62-0f91-b82fe9e5576d@SystematicSw.ab.ca> From: Keith Christian Date: Fri, 15 Nov 2019 15:06:56 -0700 Message-ID: Subject: Re: "/usr/bin/tar.exe" hangs, Windows 10, CYGWIN_NT-10.0 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 To: Brian DOT Inglis AT systematicsw DOT ab DOT ca, cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Fri, Nov 15, 2019 at 10:34 AM Brian Inglis wrote: > > On 2019-11-15 08:12, Keith Christian wrote: > > On Fri, Nov 15, 2019 at 7:40 AM Ken Brown wrote: > >> On 11/15/2019 9:19 AM, Keith Christian wrote: > >>> Tar in recent updates to Cygwin64 hangs. > >>> When the tar command is run with strace, it generates voluminous > >>> output but won't list tar file contents or extract the tar file (or > >>> tar.gz, tar.xz, etc.) > >>> $ tar --version > >>> tar (GNU tar) 1.29 > >>> Packaged by Cygwin (1.29-1) > >>> Copyright (C) 2015 Free Software Foundation, Inc. > >>> License GPLv3+: GNU GPL version 3 or later . > >>> This is free software: you are free to change and redistribute it. > >>> There is NO WARRANTY, to the extent permitted by law. > >>> Written by John Gilmore and Jay Fenlason. > >>> $ ls -l /usr/bin/tar.exe > >>> -rwxr-xr-x 1 kchris0000 Domain Users 424979 Dec 8 2016 /usr/bin/tar.exe > >>> Could someone check this please? > > $ TZ=UTC ls -glo --full /bin/tar > -rwxr-xr-x 1 424979 2016-12-09 03:57:55.000000000 +0000 /bin/tar > > so not a recent Cygwin update. > > >> Works for me. Could you have some anti-virus software that's interfering? Look > >> for suspicious DLLs in the strace output. > > > These are the DLL's in the strace output, expanded with "ldd." I > > don't see anything out of the ordinary. > > > > Is there a list of DLL's known to cause problems with Cygwin? > > > > How would I better isolate the problem causing DLL? Specific verbiage > > in the strace output? Should I run strace with the "-a" option? > > This is normal output: > > $ ldd /bin/tar > ntdll.dll => /proc/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff93d530000) > KERNEL32.DLL => /proc/cygdrive/c/WINDOWS/System32/KERNEL32.DLL > (0x7ff93abf0000) > KERNELBASE.dll => /proc/cygdrive/c/WINDOWS/System32/KERNELBASE.dll > (0x7ff93a310000) > cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) > cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d8c50000) > cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3c8230000) > > > 1 CRYPTBASE.DLL => > > > 4 RPCRT4.dll => /cygdrive/c/WINDOWS/System32/RPCRT4.dll > > (0x7fff46070000) > > 5 SYSFER.DLL => /cygdrive/c/WINDOWS/System32/SYSFER.DLL > > (0x5a0b0000) > > 6 advapi32.dll => > > /cygdrive/c/WINDOWS/System32/advapi32.dll (0x7fff45530000) > > 7 bcryptPrimitives.dll => > > /cygdrive/c/WINDOWS/System32/bcryptPrimitives.dll (0x7fff44020000) > > 8 bcryptprimitives.dll => > > /cygdrive/c/WINDOWS/System32/bcryptprimitives.dll (0x7fff44020000) > > > 11 msvcrt.dll => /cygdrive/c/WINDOWS/System32/msvcrt.dll > > (0x7fff444c0000) > > > 13 psapi.dll => /cygdrive/c/WINDOWS/System32/psapi.dll > > (0x7fff44790000) > > 14 rpcrt4.dll => /cygdrive/c/WINDOWS/System32/rpcrt4.dll > > (0x7fff46070000) > > 15 sechost.dll => > > SYSFER.DLL is Broadcom/Symantec Endpoint Protection (SEP) AV/BLODA, which pulls > in all this other stuff, including MS VC RT, to clash with Cygwin, while > reporting back to corporate, hogging CPU and I/O to do so, slowing your system > to a crawl. > > Uninstall it, bypass checking under the Cygwin tree, or don't use Cygwin. > If you feel a need for protection, Windows Defender is adequate; most AV > products are overkill, and kill system performance. > > If this is in an org, complain (to your and their manager/VP) about the > interference stopping you doing your work, and make them fix it, so they > remember to do so in future, otherwise you may have problems and have to > complain and wait every time they upgrade. > > -- > Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada Brian, Thanks very much for the information. I should have run "strings" on all of the DLL's and then I would have seen that. This is a corporate PC so little chance of doing any uninstalls or modification. At least I know why now, and you've given me some ideas about troublesome DLL's. ==== Keith -- 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