From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) by sourceware.org (Postfix) with ESMTPS id 7D1BD3860C37 for ; Thu, 23 Jul 2020 17:17:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7D1BD3860C37 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 Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id yeq6jWtYWng7Kyeq7jJH18; Thu, 23 Jul 2020 11:17:03 -0600 X-Authority-Analysis: v=2.3 cv=ecemg4MH c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=L46wl7t1bmgjVpt_ydsA:9 a=QEXdDO2ut3YA:10 Reply-To: cygwin@cygwin.com Subject: Re: graph (plotutils) seg-faulting To: cygwin@cygwin.com References: <20200718141223.0736bb2c@quarternote> <41425d86-4980-699c-fbce-17d10355f8ff@gmail.com> <20200719112321.4d66f748@quarternote> <20200720201247.31248857@quarternote> <45531187-c62c-f08b-a3a5-c6b8f0b7a78c@SystematicSw.ab.ca> <3e1ba674-65b0-7efa-88a2-c256f6d819fb@gmail.com> <45480e91-cbce-cc9f-dd55-4cd2c932b839@gmail.com> <63b0ea9f-040b-e2a3-3835-3bd990efdc1b@cornell.edu> From: Brian Inglis 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: <1a30470a-913e-eb07-5f3f-11839d93a603@SystematicSw.ab.ca> Date: Thu, 23 Jul 2020 11:17:02 -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: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfDKQ2d2feaGUjjokxWmi1Am5CAJ37K5jXkiXIomj76UGc5yQgqynisurPQILJFXS8IrGoX3Io5zxVUHgP14zhMblgXOHDs5KdBr2GfpEVsRDT+SPWtPT hDyeGXn/Ckp1ccos058yl5u1SVDtlpPy8Snq9VgJ/LyYR1MwFNQPv9lj7g5m6imprXrCF0P+T6Y9fw== X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 17:17:07 -0000 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. -- 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.]