X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AEA21384B106
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca
X-Authority-Analysis: v=2.3 cv=LKf9vKe9 c=1 sm=1 tr=0
 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
 a=IkcTkHD0fZMA:10 a=lu2UBgvyAAAA:8 a=w_pzkKWiAAAA:8 a=emSQuTT7zSMzKPOFEUYA:9
 a=QEXdDO2ut3YA:10 a=9c8rtzwoRDUA:10 a=o-i7c3fn1qtj3kV1gIfB:22
 a=sRI3_1zDfAgwuvI8zelB:22
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: graph (plotutils) seg-faulting
To: cygwin@cygwin.com
References: <20200718141223.0736bb2c@quarternote>
 <cf4e8e11-0289-f3e2-da26-bef9ac5c3284@gmail.com>
 <20200719085555.334eca63@quarternote>
 <41425d86-4980-699c-fbce-17d10355f8ff@gmail.com>
 <20200719112321.4d66f748@quarternote>
 <d1fd6d18-e398-b6c8-5553-1ee2129d05a5@gmail.com>
 <20200720201247.31248857@quarternote>
 <f78995ed-4cf5-c7cc-3b07-ebf59a4910e7@gmail.com>
Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual;
 keydata=
 mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0
 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA
 PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
 AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
 WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB
 BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5
 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
 IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
 RSyTY8X+AQ==
Organization: Systematic Software
Message-ID: <45531187-c62c-f08b-a3a5-c6b8f0b7a78c@SystematicSw.ab.ca>
Date: Tue, 21 Jul 2020 08:50:41 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <f78995ed-4cf5-c7cc-3b07-ebf59a4910e7@gmail.com>
Content-Language: en-CA
X-CMAE-Envelope: MS4wfKYdhkwcF17m9iYfLt4f+Zo6s6jlGSk4JcUySMxSuk8UAsXpXTtSKa1O5LKyTnk7UrQrrirCA4DGmWyIIWyGcmE98DaABby4qlg/lM8OxXZEp1xNOMft
 QxqQ4VgOafzTnqzake0fP1DgTkv0i+js95fpsrmqWHmOP7jUpH5kJWoQ/Bpa40O4Wj6GM8PSteakpA==
X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE,
 TXREP autolearn=no 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 06LEpCjh010934

On 2020-07-20 22:28, Marco Atzeri via Cygwin wrote:
> On 21.07.2020 05:12, briand@pounceofcats.com wrote:
>> On Sun, 19 Jul 2020 21:15:26 +0200
>> Marco Atzeri via Cygwin <cygwin@cygwin.com> wrote:
>>>> Can I just back up my home directory, kill the entire cygwin64 directory and
>>>> start over ?
>>> I suggest to install in a parallel directory, they works fine without
>>> interference, eg in my system I have:
>>> In this way you can copy your home more easily and kill the old one when
>>> everything is fine.
>> I tell you my work machine is just cursed.  Installed a fresh cygwin, the only
>> package i chose was plotutils, and i get the exact same problem.
>> Not sure where to go from here...
> I bet the curse is a BLODA
> https://cygwin.com/faq/faq.html#faq.using.bloda
> also as I noted that the loading address of your DLLs is **very** low
> my pc:
> $ grep cygwin1.dll graph.strace
> --- Process 84828 loaded D:\cygwin64\bin\cygwin1.dll at 0000000180040000
> your strace
> $ grep cygwin1.dll temp.txt
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 0000000000ce0000
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 0000000000ee0000
> --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00000000014f0000
> can you exclude the AV from your cygwin directory ?

Nasty slow AV hiding itself by intercepting the DLL loader and slowing all your
programs by reloading every DLL on every call! How can you get any work done at
that rate? You need a Xeon to get an Atom's worth of work done. ;^<
If you don't already have one, you could request a workstation with that CPU,
64GB max speed RAM, and giant SSD to counteract the impact of the AV, or request
they come up with an alternative approach. ;^>

If you can't provide a full cygcheck, at least cygcheck and ldd cygwin1.dll and
graph and provide the list of DLLs invoked, which may show interceptions, and
may sometimes be avoided by adjusting Cygwin PATH; e.g.:

$ for e in /bin/cygwin1.dll /bin/graph; do
    for p in /bin/cygcheck /bin/ldd; do
      echo \$ $p $e; $p $e;
    done;
  done | sed 's!^\t!!;s!\\!/!g;s!/cygdrive/c/!c:/!;s!C:/cygwin/!/!'
$ /bin/cygcheck /bin/cygwin1.dll
/bin/cygwin1.dll
  C:/Windows/system32/KERNEL32.dll
    C:/Windows/system32/ntdll.dll
    C:/Windows/system32/KERNELBASE.dll
$ /bin/ldd /bin/cygwin1.dll
ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b40000)
KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c90000)
KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb76940000)
advapi32.dll => c:/Windows/System32/advapi32.dll (0x7ffb76d50000)
msvcrt.dll => c:/Windows/System32/msvcrt.dll (0x7ffb78380000)
sechost.dll => c:/Windows/System32/sechost.dll (0x7ffb77bf0000)
RPCRT4.dll => c:/Windows/System32/RPCRT4.dll (0x7ffb78760000)
CRYPTBASE.DLL => c:/Windows/SYSTEM32/CRYPTBASE.DLL (0x7ffb753d0000)
bcryptPrimitives.dll => c:/Windows/System32/bcryptPrimitives.dll (0x7ffb768c0000)
$ /bin/cygcheck /bin/graph
/bin/graph.exe
  /bin/cygplot-2.dll
    /bin/cygwin1.dll
      C:/Windows/system32/KERNEL32.dll
        C:/Windows/system32/ntdll.dll
        C:/Windows/system32/KERNELBASE.dll
    /bin/cygpng16-16.dll
      /bin/cygz.dll
    /bin/cygX11-6.dll
      /bin/cygxcb-1.dll
        /bin/cygXau-6.dll
        /bin/cygXdmcp-6.dll
    /bin/cygXaw-7.dll
      /bin/cygXext-6.dll
        /bin/cyggcc_s-seh-1.dll
      /bin/cygXmu-6.dll
        /bin/cygXt-6.dll
          /bin/cygICE-6.dll
          /bin/cygSM-6.dll
            /bin/cyguuid-1.dll
              /bin/cygintl-8.dll
                /bin/cygiconv-2.dll
      /bin/cygXpm-4.dll
$ /bin/ldd /bin/graph
ntdll.dll => c:/Windows/SYSTEM32/ntdll.dll (0x7ffb78b40000)
KERNEL32.DLL => c:/Windows/System32/KERNEL32.DLL (0x7ffb77c90000)
KERNELBASE.dll => c:/Windows/System32/KERNELBASE.dll (0x7ffb76940000)
cygplot-2.dll => /usr/bin/cygplot-2.dll (0x3bb760000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x3bb610000)
cygXext-6.dll => /usr/bin/cygXext-6.dll (0x3eb640000)
cygXaw-7.dll => /usr/bin/cygXaw-7.dll (0x3eb710000)
cygXt-6.dll => /usr/bin/cygXt-6.dll (0x3eb220000)
cygX11-6.dll => /usr/bin/cygX11-6.dll (0x3eb7b0000)
cygz.dll => /usr/bin/cygz.dll (0x3b2da0000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3dd6b0000)
cygXmu-6.dll => /usr/bin/cygXmu-6.dll (0x3eb300000)
cygXpm-4.dll => /usr/bin/cygXpm-4.dll (0x3eb2d0000)
cygICE-6.dll => /usr/bin/cygICE-6.dll (0x3ffc80000)
cygSM-6.dll => /usr/bin/cygSM-6.dll (0x3ebb40000)
cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x3b2f90000)
cyguuid-1.dll => /usr/bin/cyguuid-1.dll (0x3b73e0000)
cygXau-6.dll => /usr/bin/cygXau-6.dll (0x3eb780000)
cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x3eb660000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3c2560000)
cygX11-6.dll => /usr/bin/cygX11-6.dll (0xcd0000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d6e00000)

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
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

