public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hans-Bernhard Bröker" <HBBroeker@t-online.de>
To: cygwin@cygwin.com
Subject: Re: [BUG]: 3.1.4: cmd -> bash -> mintty yields Windows exception
Date: Fri, 21 Feb 2020 18:33:00 -0000	[thread overview]
Message-ID: <fdcd5fd3-09f5-3dff-9c6c-3c7b601f315b@t-online.de> (raw)
In-Reply-To: <d58a6da3-e58b-607c-843b-4b9d0cc2aacb@acm.org>

Am 21.02.2020 um 18:22 schrieb David Rothenberger:
> With cygwin 3.1.4, I get an "exception c0000005" when I perform the
> following actions:
> 
> 1. Use the Windows run box to start a cmd shell
> 2. From there, run "bash". (I'm sure it is the Cygwin bash.)

How did you make sure of that?  The output of "where bash" might 
surprise you.  On this box, e.g., I have:

C:\Users\hbbro>where bash
C:\Windows\System32\bash.exe

C:\Users\hbbro>bash
hbbro@NB5:/mnt/c/Users/hbbro$ uname -a
Linux NB5 4.4.0-18362-Microsoft #476-Microsoft Fri Nov 01 16:53:00 PST 
2019 x86_64 GNU/Linux

But let's assume I did actually start Cygwin bash.

> 3. From there, run "mintty"

C:\Users\hbbro>\cygwin64\bin\bash

hbbro@NB5 /cygdrive/c/Users/hbbro
$ mintty
bash: mintty: command not found

So running "mintty" doesn't actually work at all.  But let's assume I 
start Mintty in a way that actually works in this context:

hbbro@NB5 /cygdrive/c/Users/hbbro
$ /usr/bin/mintty


Works just fine.  Mintty starts up, all is fine.

--
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

  parent reply	other threads:[~2020-02-21 18:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-21 17:22 David Rothenberger
2020-02-21 17:46 ` Marco Atzeri
2020-02-21 18:33 ` Hans-Bernhard Bröker [this message]
2020-02-21 19:05   ` David Rothenberger
2020-02-21 18:41 ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fdcd5fd3-09f5-3dff-9c6c-3c7b601f315b@t-online.de \
    --to=hbbroeker@t-online.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).