many cygwin shells/tools (tcsh, fish, bash, and zsh) crashing STATUS_ACCESS_VIOLATION

David Dyck david.dyck@gmail.com
Wed Aug 11 14:25:41 GMT 2021


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


More information about the Cygwin mailing list