X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61EFD3850401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1595479709; bh=SxYGVrw6d2HZCDEXf4ylcr+NozR+6UcCbDZcp+qy2YU=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=OEXAxSwpK1+LtCf7kUBcM7Ie2XGc9m/T5QUR1zWm1bQZ9hVZeLbWywTTRVDxdhIT0 z2hIYPoXv27bomvSZZRpAc7vfQeryRHnt2XVUMtdSoBueMiODqyaQJ9MxMHurZSzwi wtfdbHfV3mD8BApwle68F7qgtOy60xwgUm61exT0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4D8063857C4D 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=JGA1dMnk/yihoetzb57kZq1xvSYNB/Ajkl8L8hH3okc=; b=LZyS51/wBETa8k7MuLrryNepabjKkqEhvBiFLX/88z+9qtb17nXfWh/I3FAirHqX70 PGgZO89Poiofbv8T/rxzzKoSMendp8gB6/B3PZDg7TPwWfQdS8JJ39QxMox9ZCISITP8 IHQAmLWclD5uidEm/hi39nTlI1RfYs81llzkAAiccVT4dDUTwAKobaZPfYquFPed+qj1 yFXz1InKZh/8gwb0dyTBDPNlkeGeOenv3WhBMvjLxLxaJj/6vOLLCTm8XjBTGx0lo6Eb r7kQjrWo9PKc4MfHlejk+K6bbzpTMabge6D9GnHC280a3BQsU6mdHvxZ7j28no4VbjBh Eg3A== X-Gm-Message-State: AOAM5327ogmCJQlseZO13NcWQjIamhuNUXgFnL+77c8dyUa4VcZQfSwQ TMoJf6ThC6XgEXr2QxunUGTUdTIIc4o= X-Google-Smtp-Source: ABdhPJwbDJOJRe6CrIKXvMn8O/td+TCc0a2QJpszyfii/wPkLF65Y9UOBkQ0inHazzIdDumw0ZXmrA== X-Received: by 2002:a17:906:7709:: with SMTP id q9mr2618136ejm.123.1595479704063; Wed, 22 Jul 2020 21:48:24 -0700 (PDT) Subject: Re: graph (plotutils) seg-faulting To: cygwin AT cygwin DOT com References: <20200718141223 DOT 0736bb2c AT quarternote> <20200719085555 DOT 334eca63 AT quarternote> <41425d86-4980-699c-fbce-17d10355f8ff AT gmail DOT com> <20200719112321 DOT 4d66f748 AT quarternote> <20200720201247 DOT 31248857 AT quarternote> <45531187-c62c-f08b-a3a5-c6b8f0b7a78c AT SystematicSw DOT ab DOT ca> <3e1ba674-65b0-7efa-88a2-c256f6d819fb AT gmail DOT com> Message-ID: <45480e91-cbce-cc9f-dd55-4cd2c932b839@gmail.com> Date: Thu, 23 Jul 2020 06:48:21 +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: Content-Language: it X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, BODY_8BITS, 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 AT cygwin DOT 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 06N4mwIf014757 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. >>>>>> >>>>>> Tony Richardson >>>>>> >>>>> >>>>> 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. >>>> >>>> Ken >>>> -- >>> >>> Hi Ken, >>> I rebuilt and uploaded a test version 2.6-6 only for 64bit >>> try to see if something change >>> >>> Regards >>> Marco >>> >> >> 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) > > Ken > -- can you check with cat /proc/self/maps Usually I see locale.nls loaded verylow 00010000-00020000 rw-s 00000000 0000:0000 0 [win heap 1 default shared] 00030000-0004D000 r--s 00000000 0000:0000 0 00050000-00054000 r--s 00000000 0000:0000 0 00060000-00061000 r--s 00000000 0000:0000 0 00070000-00072000 rw-p 00000000 0000:0000 0 00080000-00149000 r--s 00000000 98EE:C713 281474977436242 /cygdrive/c/Windows/System32/locale.nls 00150000-00152000 rw-p 00000000 0000:0000 0 [win heap 0 default grow] 00152000-00182000 ===p 00002000 0000:0000 0 [win heap 0 default grow] the program itself 100400000-100401000 r--p 00000000 D603:FB6E 281474976713960 /usr/bin/cat.exe 100401000-100406000 r-xp 00001000 D603:FB6E 281474976713960 /usr/bin/cat.exe 100406000-100407000 rw-p 00006000 D603:FB6E 281474976713960 /usr/bin/cat.exe 100407000-10040C000 r--p 00007000 D603:FB6E 281474976713960 /usr/bin/cat.exe 10040C000-10040F000 rw-p 0000C000 D603:FB6E 281474976713960 /usr/bin/cat.exe 10040F000-100410000 r--p 0000F000 D603:FB6E 281474976713960 /usr/bin/cat.exe 180010000-180020000 rw-s 00000000 0000:0000 0 [procinfo] 180020000-180029000 rw-s 00000000 0000:0000 0 [cygwin-user-shared] 180030000-18003C000 rw-s 00000000 0000:0000 0 [cygwin-shared] loading area for cygwin DLLs 180040000-180041000 r--p 00000000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180041000-180229000 r-xp 00001000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180229000-18022D000 rwxp 001E9000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 18022D000-180266000 rw-p 001ED000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180266000-1802EA000 r--p 00226000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 1802EA000-180322000 rw-p 002AA000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180322000-180331000 r--p 002E2000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180331000-180342000 rw-p 002F1000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180342000-180343000 r--p 00302000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 180343000-180650000 rw-p 00303000 D603:FB6E 1688849860266440 /usr/bin/cygwin1.dll 3CC3A0000-3CC3A1000 r--p 00000000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3A1000-3CC3A8000 r-xp 00001000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3A8000-3CC3A9000 rw-p 00008000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3A9000-3CC3AE000 r--p 00009000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3AE000-3CC3AF000 rw-p 0000E000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3AF000-3CC3B0000 r--p 0000F000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3B0000-3CC3B2000 rw-p 00010000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3CC3B2000-3CC3B4000 r--p 00012000 D603:FB6E 281474976713233 /usr/bin/cygintl-8.dll 3D9690000-3D9691000 r--p 00000000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D9691000-3D96A9000 r-xp 00001000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D96A9000-3D96AA000 rw-p 00019000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D96AA000-3D978F000 r--p 0001A000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D978F000-3D9790000 rw-p 000FF000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D9790000-3D9791000 r--p 00100000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D9791000-3D9793000 rw-p 00101000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 3D9793000-3D9795000 r--p 00103000 D603:FB6E 281474976713163 /usr/bin/cygiconv-2.dll 800000000-800080000 rw-p 00000000 0000:0000 0 [heap] 800080000-820000000 ===p 00080000 0000:0000 0 [heap] and over the Windows DLL 7FF9C0880000-7FF9C0881000 r--p 00000000 98EE:C713 281474977436944 /cygdrive/c/Windows/System32/cryptbase.dll 7FF9C0881000-7FF9C0884000 r-xp 00001000 98EE:C713 281474977436944 /cygdrive/c/Windows/System32/cryptbase.dll 7FF9C0884000-7FF9C0887000 r--p 00004000 98EE:C713 281474977436944 /cygdrive/c/Windows/System32/cryptbase.dll 7FF9C0887000-7FF9C0888000 rw-p 00007000 98EE:C713 281474977436944 /cygdrive/c/Windows/System32/cryptbase.dll Also check that /etc/rebase.db.x86_64 esists FYI, all my dlls are loaded between $ rebase -si | awk '{print $3, $1}'| sort | head 0x000394760000 /usr/lib/qt4/plugins/designer/cygqdeclarativeview.dll 0x000394780000 /usr/lib/qt4/plugins/codecs/cygqtwcodecs.dll 0x000396730000 /usr/lib/python3.6/site-packages/dbus/mainloop/pyqt5.dll 0x000398df0000 /usr/lib/python3.6/site-packages/PIL/_webp.cpython-36m-x86_64-cygwin.dll 0x000399a60000 /usr/libexec/coreutils/libstdbuf.so 0x000399a70000 /usr/lib/zsh/5.8/zsh/zutil.dll 0x000399a80000 /usr/lib/zsh/5.8/zsh/zselect.dll 0x000399a90000 /usr/lib/zsh/5.8/zsh/zpty.dll 0x000399aa0000 /usr/lib/zsh/5.8/zsh/zprof.dll 0x000399ab0000 /usr/lib/zsh/5.8/zsh/zleparameter.dll $ rebase -si | awk '{print $3, $1}'| sort | tail 0x0003ffd50000 /usr/bin/cygFS-6.dll 0x0003ffd70000 /usr/bin/cygFLAC-8.dll 0x0003ffdf0000 /usr/bin/cygFLAC++-6.dll 0x0003ffe10000 /usr/bin/cygEMF-1.dll 0x0003ffe40000 /usr/bin/cygEGL-1.dll 0x0003ffe70000 /usr/bin/cyg4ti2util-0.dll 0x0003ffe90000 /usr/bin/cyg4ti2int64-0.dll 0x0003fff00000 /usr/bin/cyg4ti2int32-0.dll 0x0003fff70000 /usr/bin/cyg4ti2gmp-0.dll 0x0003ffff0000 /usr/bin/cyg4ti2common-0.dll with the obvious exception of cygwin1.dll at 180040000 -- 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