This is the mail archive of the
cygwin
mailing list for the Cygwin project.
mintty fails to start
- From: "Emember MemberUS via cygwin" <cygwin at cygwin dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 19 Jan 2017 15:25:22 +0000 (UTC)
- Subject: mintty fails to start
- Authentication-results: sourceware.org; auth=none
- References: <2145564667.803491.1484839522957.ref@mail.yahoo.com>
- Reply-to: Emember MemberUS <ememberus at yahoo dot com>
- Reply-to: Emember MemberUS <ememberus at yahoo dot com>
This is a minor issue and probably not typical, but could be of interest to cygwin developers/maintainers.
Problem:
After building a 3-party cross-toolchain (unrelated to cygwin), mintty is no longer able to start.
While a few mintty windows that were still open worked ok, any NEW mintty window just flashed and immediately closed itself.
Solution:
Re-installation of cygwin from scratch is undesirable because current installation already has multiple customizations.
Initial research yielded nothing - no error message, or hint of any kind, and discussion forums offered no clue either.
The cause of the issue happened to be an empty file /bin/bash. It is currently unclear where it came from (could be a side
effect of a build), but it is not part of standard cygwin installation. Once this empty file is deleted, mintty is able to start again.
Suggestion: produce an error message that would help identifying this problem when mintty starts.
NOTE: this issue happens only in cygwin, and only when both files are present: /bin/bash.exe and empty /bin/bash.
If no bash is present, mintty issues a correct error message.
--
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