delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/23/14:40:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C84343857002
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1595529588;
bh=bYfQgJC3wt0rEnMjR6ybOJQgc7i1AwbMjXnySlRv4js=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=qaxMUekOHtYf0C/fy74mAKYLL3s8fZi+y8gRZT7xWR1YgtvDLPBtZZkxixuTzv1sE
YwH4lu+MPzT4ab3S2FiZrx0/XXWJzJmahv/mfxiF9WR8REtj30CvRCP+jtNoo8eg/F
nKhTtY88IuHmLkC+F8WlsgmnGaLAdxgS+vKf9aJE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6D7463857C4E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=2il0N4E5Jx0IcoOiJdPT9d/1ynGFPlpME+brdab4IaQ=;
b=kI9JmV1lsvB5NfHCx5Za7QknGwkNr35jgujf5nR5IkHDQ4AUrmTdX7fame4HZKVIj1
WtJbEaq6ro7zed7Y1A+wS4UQfXSanzEqvWC9sW6/YNCn7l2LZUMhnlYYSNybGiejKgz7
aO9Dbvn/B7KRFQVxRwmq8T3OJYkppglp8oD+mo0M1p8AEzmqOvhTY2TBuYe0fejwJQi/
ehsC5iIx95jo1B1ZJltI0J8brOd0aqCvrA01IiVSdCpdJp3CWMPGaLTQpv7DHLllDFlw
pstErh9fndtlgw2S0MHBvfniouptj6ATQmPQL8zmEyook6kcyJio3sj+y2mUUZfSF3xN
7M3A==
X-Gm-Message-State: AOAM5303N5VUs0HLU2Np8s8WPq6wj9KJty6WG4iNSfmbPN63LTPx7tNv
858htAX4lf/SSE99MThX+/AKZ2EuTw2/j3Q+ABKbPg==
X-Google-Smtp-Source: ABdhPJzQmcr4m5tRDeiqZplBITgD5XDWdX6cO+ZMT2G9v3Tz6WPh1nFccCgYgUe9YgYE7hXKKb0R58Y7rHs4TmlhCKw=
X-Received: by 2002:a9d:620d:: with SMTP id g13mr5259491otj.237.1595529584537;
Thu, 23 Jul 2020 11:39:44 -0700 (PDT)
MIME-Version: 1.0
References: <20200718141223 DOT 0736bb2c AT quarternote>
<41425d86-4980-699c-fbce-17d10355f8ff AT gmail DOT com>
<20200719112321 DOT 4d66f748 AT quarternote>
<d1fd6d18-e398-b6c8-5553-1ee2129d05a5 AT gmail DOT com>
<20200720201247 DOT 31248857 AT quarternote>
<f78995ed-4cf5-c7cc-3b07-ebf59a4910e7 AT gmail DOT com>
<45531187-c62c-f08b-a3a5-c6b8f0b7a78c AT SystematicSw DOT ab DOT ca>
<CAPp9Z=V_O+dUhgnOToxEBP=8zxF3VCdFoXUctvF09NCUpP6Drw AT mail DOT gmail DOT com>
<b47db828-0047-7fe8-425b-4db46456dc6a AT SystematicSw DOT ab DOT ca>
<CAPp9Z=Wkbi7w=ExvQfKtpMUkTXvHgj7v4vCgoSZJfUaRFgQgCw AT mail DOT gmail DOT com>
<3e1ba674-65b0-7efa-88a2-c256f6d819fb AT gmail DOT com>
<ad65e28e-125f-38c4-6d78-be2dfe7a408e AT cornell DOT edu>
<f32379ad-a8c0-ac2e-68c4-a456797fe139 AT gmail DOT com>
<CAPp9Z=U_C3XJY-n10uFh4uCNn9Bubw3r6rPtGSB1McCPca--OQ AT mail DOT gmail DOT com>
<ddedcb26-4c86-c536-a3a5-dd642c22bec1 AT cornell DOT edu>
<45480e91-cbce-cc9f-dd55-4cd2c932b839 AT gmail DOT com>
<63b0ea9f-040b-e2a3-3835-3bd990efdc1b AT cornell DOT edu>
<CAPp9Z=XQS78DrEUtwGZsi-bg3YHVVJnqJYmM1C4cccA1+JPtpQ AT mail DOT gmail DOT com>
<1a30470a-913e-eb07-5f3f-11839d93a603 AT SystematicSw DOT ab DOT ca>
In-Reply-To: <1a30470a-913e-eb07-5f3f-11839d93a603@SystematicSw.ab.ca>
Date: Thu, 23 Jul 2020 13:39:33 -0500
Message-ID: <CAPp9Z=WxvKrFX1WgCLvHK6mDRO3rG0nQ_6W_AvmaAsAZQerHCQ@mail.gmail.com>
Subject: Re: graph (plotutils) seg-faulting
To: cygwin <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Tony Richardson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Tony Richardson <richardson DOT tony AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Thu, Jul 23, 2020 at 12:18 PM Brian Inglis <
Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote:

>
> On 2020-07-23 11:00, Tony Richardson via Cygwin wrote:
> > On Thu, Jul 23, 2020 at 11:49 AM Ken Brown via Cygwin wrote:
> >> On 7/23/2020 12:48 AM, Marco Atzeri via Cygwin wrote:
> >>> On 23.07.2020 00:12, Ken Brown via Cygwin wrote:
> >>>> On 7/22/2020 6:07 PM, Tony Richardson via Cygwin wrote:
> >>>>> On Wed, Jul 22, 2020 at 3:48 PM Marco Atzeri via Cygwin wrote:
> >>>>>> On 22.07.2020 14:06, Ken Brown via Cygwin wrote:
> >>>>>>> On 7/22/2020 1:36 AM, Marco Atzeri via Cygwin wrote:
> >>>>>>>> On 22.07.2020 02:10, Tony Richardson via Cygwin wrote:
>
> >>>>>>>>> I have attached both the cygcheck and strace output.
>
> >>>>>>>> something is clearly interfering with your Cygwin installation
> >>>>>>>>
> >>>>>>>> --- Process 11136 loaded C:\Applications\cygwin64\bin\cygwin1.dll
> at
> >>>>>>>> 0000000000c80000
> >>>>>>>> --- Process 11136 unloaded DLL at 0000000000c80000
>
> >>>>>>>
> >>>>>>> I can reproduce the problem on my system:
> >>>>>>>
> >>>>>>> $ strace graph
> >>>>>>> ...
> >>>>>>> Segmentation fault
> >>>>>>>
> >>>>>>> I thought that simply rebuilding plotutils might fix the problem,
> >>>>>>> but there were a lot of compilation warnings, and the build
> >>>>>>> failed. Some of the warnings look serious to me, but I have no
> >>>>>>> idea if they could cause Windows to try to load DLLs at strange
> >>>>>>> addresses.
>
> >>>>>> I rebuilt and uploaded a test version 2.6-6 only for 64bit
> >>>>>> try to see if something change
>
> >>>>> I tried the test version, unfortunately it still segfaults for me.
>
> >>> no surprise. It was unlikely to work
>
> >>>> Same for me.  I'm also getting strange output from ldd, but maybe
> >>>> that's just another manifestation of the same problem:
> >>>>
> >>>> $ ldd /usr/bin/graph
> >>>> ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ff82a4c0000)
> >>>> KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7ff8289c0000)
> >>>> KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll (0x7ff8280c0000)
> >>>> cygplot-2.dll => /usr/bin/cygplot-2.dll (0x9f0000)
> >>>> cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf0000)
> >>>> cygplot-2.dll => /usr/bin/cygplot-2.dll (0xbf0000)
> >>>> cygwin1.dll => /usr/bin/cygwin1.dll (0xd20000)
> >>>> [...]
> >>>> cygintl-8.dll => /usr/bin/cygintl-8.dll (0x1760000)
> >>>> cygintl-8.dll => /usr/bin/cygintl-8.dll (0x1760000)
> >>>> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x1780000)
> >>>> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x1780000)
>
> >>> can you check with
> >>>    cat /proc/self/maps
> >>> Usually I see
>
> > Again nothing unusual.
>
> >> There really does seem to be something peculiar about the graph
> program. I
> >> don't recall ever seeing this behavior with any other program.  Since
> it
> >> doesn't happen to everyone, it might depend on the Windows version.
> Mine
> >> is Windows 10 1909, Build 18363.959.
> >>
> >> I'm going to drop out of this discussion now.  I'm not a graph user,
> and I
> >> only jumped in to confirm that I could reproduce the problem, so that
> the
> >> other posters wouldn't think the problem was just with their systems.
>
> > My office machine (one of the problem machines) is running exactly the
> same
> > version/build of Windows 10.
>
> Office machines tend to run Enterprise builds which may be customized in
> many
> ways unlike OEM/Retail/Home W10.
>
> Check with `which -a graph` that some MS or other module is not being
> injected
> into your search path.
>
>
Unfortunately (at this point), I get just:

/usr/bin/graph

I've restricted the PATH using:

PATH=/usr/bin strace graph

and still get a segfault.

Tony
--
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