X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA355397EC3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1628691986; bh=95VJhQkmfAuE5USUbOU98QEFc9xczcgB1H0fdjr75qo=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=aWAsfYATMV94Zgo/TyDjRjKE74jEGcvpk43MJBV6YlVHnc6M9OGCr0KTFGKm6SV6Y D7qvyuzatHaNF8VD87FEGxAmf3dth5unJC1YdfJS//8SlbAzUUcwwuw5yaBgFjlyxG pa8qTQP4NyellBxFY8lpocM5vzobWBkDtpNwMMXU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4261D383A833 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:cc; bh=Gsc3BmZl8IebrybuphPS87SnZVMGfmLjCtFgrNrrCyg=; b=M1uUGrASZT07nVuBXZ2nZu66oVzeZcFh0WFc1sDPupgNLoQZ5GY4wlt86UG/ok73cY 7NhlvG0hPGk5XIz6gTxfsJrLjVkSOfNn7UvWLVndXbzDF26W7DKf+0vJxNuohPMRzK+r hM4cDOe28a/EYJwWvNo3GSFcFbYLvTB8/8NSgDrN53XTEnMCol5Iz3PxRTCum47X8JNq yeAfpsMOSCK6iea5eBMH56+HPlKg0nzCUDAvTgMhuYD7usEYyX8r5ZwzbA+VjcCozAne 98bwbB9PnPYtdg3CRHdznIbtkPTL08aUMxlebM5pCi7SI0N0UtrFtMvCZMpF+1JmzI/z IQrA== X-Gm-Message-State: AOAM531CYtxph9VCT3lnRq9uYQeF+A92ee3ONchWUoBWrzOPRP3ZXjYH BsdvzvlslzAGocNEvbBOfGjfFK5uhVn8/FhLlbC0NCacHaM= X-Google-Smtp-Source: ABdhPJzpMRfPgZCyE80TzfexDmOJZ5EOHrh029/qsH6k3saeY7HlKo9gSRUJ6z7ObHSoIs0d2QmiSkHo1gZ+20XijUs= X-Received: by 2002:a05:6402:546:: with SMTP id i6mr11841936edx.80.1628691954178; Wed, 11 Aug 2021 07:25:54 -0700 (PDT) MIME-Version: 1.0 References: <0a68361c-0bca-c2d0-e122-ede519e03e01 AT SystematicSw DOT ab DOT ca> <6cfbde9b-16ff-5de0-a040-8dcfb5d54bc3 AT SystematicSw DOT ab DOT ca> <3b947ca2-d86d-90f7-1270-2796e55bbbd6 AT maxrnd DOT com> <08cdda56-2994-ae30-d508-9491ad24422f AT maxrnd DOT com> In-Reply-To: <08cdda56-2994-ae30-d508-9491ad24422f@maxrnd.com> Date: Wed, 11 Aug 2021 07:25:41 -0700 Message-ID: Subject: Re: many cygwin shells/tools (tcsh, fish, bash, and zsh) crashing STATUS_ACCESS_VIOLATION To: Mark Geisert 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: David Dyck via Cygwin Reply-To: David Dyck Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" First, thanks for digging further into this. I'm guessing that I am missing some of the developer pieces that assisted you in deducing from On Tue, Aug 10, 2021 at 10:28 PM Mark Geisert wrote: > > Replying to myself, ahem... > > Mark Geisert wrote: > > You could try downgrading ncurses via Cygwin setup. Best case: things work. Worst > > case: things break but at a different address within the DLL. > > On another branch of this thread David reported that downgrading worked. We still > don't know what the issue with current ncurses is, so I did try the following: > > > Another tack could be for somebody *on a working system* install the debuginfo for > > ncurses, figure out the exception's address *in the ncurses installed locally*, > > run 'more' under gdb after setting a breakpoint at that address. Poke around to > > see what ncurses is doing in that area. Maybe it's acting on a Windows result > > that's busted on the Windows preview. Or something else. Good luck with this > > route :-/. > > Here's the gdb session from my own Windows 10 machine... ... thank you for looking at this in gdb > > That is all the help/damage I can do at this point. > Cheers, > > ..mark I started setup today and observed that the only "pending" actions were a bunch of ncurses installs. I clicked ok ( and enabled source just in case :-) ) and watched the action begin. Uninstall libncurses-devel 6.0-11.20170617 (automatically added) Uninstall libncursesw10 6.0-11.20170617 (automatically added) Uninstall ncurses 6.0-11.20170617 (automatically added) Install libncurses++w10 6.1-1.20190727 Install libncurses++w10-src 6.1-1.20190727 (source) Install libncurses-devel 6.1-1.20190727 Install libncurses-devel-src 6.1-1.20190727 (source) Install libncursesw10 6.1-1.20190727 Install libncursesw10-src 6.1-1.20190727 (source) Install ncurses 6.1-1.20190727 Install ncurses-src 6.1-1.20190727 (source) both bash and more worked ( e.g. bash starts and more doesn't stack dump in this simple case c:\cygwin64>cd bin c:\cygwin64\bin>path c:\cygwin64\bin;%PATH% c:\cygwin64\bin>which which /usr/bin/which c:\cygwin64\bin>more < NUL c:\cygwin64\bin> looking back at the downgrade log I see Uninstall libncursesw10 6.1-1.20190727 (automatically added) Uninstall ncurses 6.1-1.20190727 (automatically added) so I think that I just upgraded to what I had before, not sure if something was corrupted before. I did search for ncurses in the cygcheck.out from before $ ag -i ncurses cygcheck.out 1248: 301k 2019/07/28 c:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2 1249: "cygncursesw-10.dll" v0.0 ts=2019-07-28 09:30 1969:libncursesw10 6.1-1.20190727 OK 2132:ncurses 6.1-1.20190727 OK -- 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