Web lists-archives.com

Re: bash shell gets aborts under latest Windows 10 updates as of 4/2/17




On 4/2/2017 2:53 PM, gavin bowlby via cygwin wrote:

I see the following when trying to open a Cygwin bash shell on my Win10 PC after applying updates today, 4/2/2017; I didn't see this before the latest Win10 update:

       0 [main] bash 11884 child_info_fork::abort: C:\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xFA0000) != child(0xE80000)
-bash: fork: retry: No child processes

I believe this is a classic case where rebasing is required. See https://stackoverflow.com/questions/33125842/what-does-rebaseall-in-cygwin-do for details. Sometimes the problem can be fixed by rebooting and starting a Cygwin app (e.g., Bash) very soon after boot (so that the DLLs get loaded at their preferred addressed), but that is a temporary workaround.

You can rebase all the DLLs as follows:

- Terminate _all_ Cygwin apps (don't forget about daemons like sshd).
- Open a Command Prompt.
- Run "ash" (a shell included with Cygwin).  Do not run "bash".
- Enter command "rebaseall".
- I usually follow this with a reboot, but that may not be necessary.

Hope this helps.
--
Fran


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple