Bug 19522 - crashes when over ssh -X
Summary: crashes when over ssh -X
Status: CLOSED WONTFIX
Alias: None
Product: Branch 4.1
Classification: Distributions
Component: gitk (show other bugs)
Version: unspecified
Hardware: all Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: qa-4.1@altlinux.org
URL:
Keywords:
: 20382 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-08 00:07 MSD by Ivan Zakharyaschev
Modified: 2010-07-12 18:43 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2009-04-08 00:07:52 MSD
tk-8.5.2-alt1
gitk-1.5.5.5-alt1
openssh-5.0p1-alt3
openssh-server-5.0p1-alt3
xorg-server-1.4.2-alt10.M41.1
(in Desktop 4.1)

How to reproduce:

[imz@localhost ~]$ ssh -X 0
imz@0's password: 
Last login: Tue Apr  7 18:42:59 2009
[imz@localhost ~]$ mkdir tmp/test-gitk
[imz@localhost ~]$ cd tmp/test-gitk
[imz@localhost test-gitk]$ git init
Initialized empty Git repository in .git/
[imz@localhost test-gitk]$ echo a > a.txt
[imz@localhost test-gitk]$ git add a.txt
[imz@localhost test-gitk]$ git commit -m "Initial."
Created initial commit 681640e: Initial.
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 a.txt
[imz@localhost test-gitk]$ gitk
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  38 (X_QueryPointer)
  Resource id in failed request:  0x74
  Serial number of failed request:  2798
  Current serial number in output stream:  2798
[imz@localhost test-gitk]$ 

When it crashed, I tried to select the "Tree" view on the right. (It also crashes in "simpler" cases: run in any directory, even without a "git init".)
Comment 1 Dmitry V. Levin 2009-04-14 01:39:48 MSD
A lot of X11 clients does not work via "ssh -X" nowdays, and tk seems to be one of them.  I'm afraid the only thing I can suggest is to use "ssh -Y" for this software.
Comment 2 Ivan Zakharyaschev 2010-07-12 18:43:45 MSD
*** Bug 20382 has been marked as a duplicate of this bug. ***