From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id 206AA3858D34 for ; Sun, 19 Jul 2020 17:46:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 206AA3858D34 Received: by mail-ej1-x631.google.com with SMTP id n26so15851452ejx.0 for ; Sun, 19 Jul 2020 10:46:34 -0700 (PDT) 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=7yRZ2752QwEfFjhw7sDsk4c2x+HopBEsed/t1UDdW0I=; b=KEoOGFETCgJG68G6hPbpKsSqmXBzVze2UqmdaBeAJZNNLty7rV5kvXEmbgniCyuRDv lqplUUxyO2Vy4zOZ7pNV3p5IZe6hLi5nNiPBC9qTkPmFO2mJuDZu5E6VuuHKtL5XkkQm MZAyTMgDV6DhuNOgdn+9DbJ1soTH+nVWzRnmZ4BqNmgnBiP/hTn/o7NViDDuiS/i0x41 nLu5cUqKLIF3jf2sdInabuNnDv9YWv3ssY/UcHQzb9QvQaJK5R43Qj6e3dUFuY2ymfJb yjFUaavPF4Gw+G1aYlXKh6d8hyRvFglXzEKCo8q+LNo/CejyLjDKszx6vbBfdc2hDOn/ MCIw== X-Gm-Message-State: AOAM533B0mquirtIOI7epz8tgrTYZXlXyyguf0XAixtTOKKNfTUapMhk Wfh2YO+qOIKPBIhbG3gdkD2DUcuP X-Google-Smtp-Source: ABdhPJwzgHVKBEkqRcbyScc3sH/El8Pf114j/EZvP3uyygtcRhHu/FuuQNZ/CPf9Z41KpCNYHGrbYQ== X-Received: by 2002:a17:906:375a:: with SMTP id e26mr18357481ejc.324.1595180792911; Sun, 19 Jul 2020 10:46:32 -0700 (PDT) Received: from ?IPv6:2003:cc:9f36:63a9:91c9:b6e7:84ea:a6ed? (p200300cc9f3663a991c9b6e784eaa6ed.dip0.t-ipconnect.de. [2003:cc:9f36:63a9:91c9:b6e7:84ea:a6ed]) by smtp.gmail.com with ESMTPSA id r5sm13851751edx.32.2020.07.19.10.46.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jul 2020 10:46:32 -0700 (PDT) Subject: Re: graph (plotutils) seg-faulting To: cygwin@cygwin.com References: <20200718141223.0736bb2c@quarternote> <20200719085555.334eca63@quarternote> From: Marco Atzeri Message-ID: <41425d86-4980-699c-fbce-17d10355f8ff@gmail.com> Date: Sun, 19 Jul 2020 19:46:31 +0200 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: <20200719085555.334eca63@quarternote> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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@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: Sun, 19 Jul 2020 17:46:35 -0000 On 19.07.2020 17:55, briand@pounceofcats.com wrote: > On Sun, 19 Jul 2020 08:04:48 +0200 > Marco Atzeri via Cygwin wrote: > >> On 18.07.2020 23:12, briand@pounceofcats.com wrote: >>> Hi, >>> >>> So i noticed graph wasn't doing anything, i could even get it to respond to the help argument. >>> >>> I attached strace to it, and it shows that it was seg-faulting. >>> >>> I _just_ did an update, specifically to see if that would fix it and it did not. >>> >>> 1 could someone reproduce this ? >>> 2 what should i do for a bug report ? >>> >>> I was running graph in a terminal in X not in a terminal window under win10. >>> >>> Thanks, >>> >> >> Hi Brian, >> graph is working for me. >> >> Please provide the cygcheck.out, as attachment, for your system, >> as mentioned in >> >> Problem reports: https://cygwin.com/problems.html >> >> >> So first, is a simple test working ? >> >> $ echo 0 0 1 1 2 0 | spline | graph > test.meta >> $ plot -T X test.meta >> >> if yes, how I can replicate your segfault ? >> >> If the strace is not too large, can you attach to your reply ? >> If it is too long send to me directly by private mail. >> > > oh good grief. i just tried this on my home win 10 box, and works perfectly. > > unfortunately, my work box, which has a history of weird problems with cygwin, is the one having the problem. there's too much work-related stuff in the cygcheck output for me to pass it on. > > However the strace is ok, so i have attached it. > > Just to be clear, > > graph --help > > segfaults, so the problem is at a _really_ low level. > > I'll try setting up a "new" directory install and see if i can reproduce it. > > > -- it seems a problem with loading cygiconv-2.dll --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0000000001130000 --- Process 3080 unloaded DLL at 0000000001130000 --- Process 3080 loaded C:\cygwin64\bin\cygiconv-2.dll at 0000000001130000 --- Process 3080, exception c0000005 at 00000000014f5075 but the address fault seems in cygwin1.dll --- Process 3080 loaded C:\cygwin64\bin\cygwin1.dll at 00000000014f0000 what version is installed ? Can you try to reinstall it ? $ cygcheck -f /usr/bin/cygiconv-2.dll libiconv2-1.14-3 Regards Marco