https://bugs.winehq.org/show_bug.cgi?id=48891
--- Comment #10 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Damjan Jovanovic from comment #8)
To reproduce:
Install Cygwin.
cd cygwin/bin
wineconsole --backend=curses bash.exe
then run this in there:
./ls.exe
*** fatal error - cygheap base mismatch detected - 0x9C7408/0x917408.
This error is FreeBSD-specific, possibly a result of commit e5f6637eece2b9d5b42b3f99da3627d7bb140a7e.
On Linux Cygwin gets quite far actually: $ wineconsole (starts in separate window. Continue in that window.) C:\cygwin\bin>bash (prompt changes to bash:) bash-4.4$ ./ls.exe (prints out file listing, and exits to wineconsole) ("fixme:console:GetConsoleProcessList (0xdeadbeef,0): stub" printed in Linux's bash, the one wineconsole was started from) C:\cygwin\bin>
So on Linux, Cygwin's bash does seem to work, but it can only run a single command before exiting, possibly due to that GetConsoleProcessList() stub.