<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>20382</bug_id>
          
          <creation_ts>2009-06-09 14:29:18 +0400</creation_ts>
          <short_desc>gitk crashes when over ssh -X (BadWindow)</short_desc>
          <delta_ts>2010-07-12 18:43:45 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>git</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>19522</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92778</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-06-09 14:29:18 +0400</bug_when>
    <thetext>git-1.5.5.5-alt1
tcl-8.5.2-alt1
tk-8.5.2-alt1
openssh-5.0p1-alt3
xorg-server-1.4.2-alt10.M41.1

How to reproduce:

$ ssh 0 -l mort -X
mort@0&apos;s password: 
Last login: Tue Jun  9 10:15:30 2009 from localhost.localdomain
[mort@localhost ~]$  cd tmp/tests/
[mort@localhost tests]$  mkdir test-gitk
[mort@localhost tests]$ cd test-gitk/
[mort@localhost test-gitk]$  git init
Initialized empty Git repository in .git/
[mort@localhost test-gitk]$ echo a &gt; a
[mort@localhost test-gitk]$ git add a
[mort@localhost test-gitk]$ git commit -m &apos;Initial.&apos;
Created initial commit 24562b8: Initial.
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 a
[mort@localhost test-gitk]$ gitk
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  7 (X_ReparentWindow)
  Resource id in failed request:  0x74
  Serial number of failed request:  3462
  Current serial number in output stream:  3464
[mort@localhost test-gitk]$ 


In the gitk, I right-clicked on the commit, and went on to add a tag; in the tag dialog I added the tag name, and clicked on the button &quot;Create&quot;.

Result: the tag was created, but gitk crashed. (It seems that such a crash happens every time a window belonging to gitk is closed. The same error messages appear when the main window is closed.)

Expected: gitk doesn&apos;t crash when some of its windows is closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92779</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-06-09 14:30:51 +0400</bug_when>
    <thetext>This doesn&apos;t happen for gitk run immediately in the current X session, and this doesn&apos;t happen when gitk is run under &quot;su - mort&quot;. Only over ssh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92784</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2009-06-09 14:58:24 +0400</bug_when>
    <thetext>A lot of programs do not work under &quot;ssh -X&quot;.
I&apos;m afraid you have to use &quot;ssh -Y&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110532</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2010-07-12 18:43:45 +0400</bug_when>
    <thetext>Thank you for the explanation!
I&apos;m sorry for duplicate posting of this issue.

*** This bug has been marked as a duplicate of bug 19522 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>