www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/15:14:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: David Eisner <deisner AT gmail DOT com>
Date: Wed, 1 Sep 2010 15:13:53 -0400
Message-ID: <AANLkTikuMb2B1Q26T1Cq5ft-urZ0jjrbS2oXWJ74bZuZ@mail.gmail.com>
Subject: gitk problem with cygwin.dll v1.7.7-1
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Whenever I do this:

1. Launch gitk from a cygwin bash shell (either using cygwin.bat or
with mintty),
2. Exit the cygwin bash shell, and then
3. Pick File > Reload from the gitk menu,

I get the following error dialog:

  Error parsing revisions: 1 [main] git 5724 C:\cygwin\bin\git.exe:***
  fatal error- couldn't initialize fd 0 for /dev/tty0
  Stack trace:
  Frame Function Args
  00223908 6102749B (00223908, 00000000, 00000000, 00000000)
  002238F8 6102749B (61177B80, 00008000, 00000000, 61179977)
  00224C28 61004AFB (611A1670, 00000000, 6123ABAC, 00010000)
  End of stack trace

[This is hand-corrected OCR from a screen capture so it might be slightly o=
ff.]

Version information:

  Vista Enterprise SP2 32-bit
  $ cygcheck -c cygwin git gitk
  Cygwin Package Information
  Package              Version        Status
  cygwin               1.7.7-1        OK
  git                  1.7.1-1        OK
  gitk                 1.7.1-1        OK

I believe the upgrade to the 1.7.7-1 dll is somehow related to the
onset of the problem.

Not an apples to apples comparison, but when I try the same thing on a
Windows 7 Enterprise 64-bit machine with cygwin 1.7.5-1 (same versions
of git and gitk), I don't have this problem.

On a (perhaps) related note: I'm not in the habit of exiting the
shell.  But what now happens (sometimes) is that when I switch focus
from the gitk window to the cygwin shell window and begin typing, I
see only the first character of what I typed, and then "logout", at
which point the window is unresponsive to commands.  It still echoes
what I type, but with no prompt or apparent side effects.

That is, suppose gitk has focus.  I decide to type "git branch" in the
cygwin shell.  I click the title bar of the cygwin shell, start typing
"git .." and see this instead:

  $glogout

Then I have to kill the window, and start a new shell.

It could be BLODA, I suppose, but at first gloss I don't see any
unusual DLLs loaded when examining the wish84.exe process in
Sysinternals Process Explorer.

-David

--=20
David Eisner=A0 =A0=A0 http://cradle.brokenglass.com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019