gitk problem with cygwin.dll v1.7.7-1

David Eisner deisner@gmail.com
Wed Sep 1 19:14:00 GMT 2010


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 off.]

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

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



More information about the Cygwin mailing list