# gitk crashing on Windows.

5 messages from 2008-07-28 to 2008-07-29. Participants: Jurko Gospodnetić, Eric Raible, Steffen Prohaska, Dmitry Potapov.
Thread: https://gitlist.dev/t/14720

## Jurko Gospodnetić, 2008-07-28 14:58

Subject: gitk crashing on Windows.
Message-ID: <g6kmqf$q9p$1@ger.gmane.org>
URL: https://gitlist.dev/e/g6kmqf%24q9p%241%40ger.gmane.org

```
   Hi.

   When you run gitk from a git repository on Windows it starts up and 
starts updating its 'Row X/Y' output labels. This lasts for a few 
seconds but if you terminate the application before this updating is 
complete you get a Windows message stating:

   'Wish Application has encountered a problem and needs to close. We 
are sorry for the inconvenience.'

   and the standard 'Send Error Report'/'Don't Send' buttons.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić

```

## Eric Raible, 2008-07-28 16:29

Subject: Re: gitk crashing on Windows.
Message-ID: <loom.20080728T162025-946@post.gmane.org>
URL: https://gitlist.dev/e/loom.20080728T162025-946%40post.gmane.org
In-Reply-To: <g6kmqf$q9p$1@ger.gmane.org>

```
Jurko Gospodnetić <jurko.gospodnetic <at> docte.hr> writes:

> 
>    Hi.
> 
>    When you run gitk from a git repository on Windows it starts up and 
> starts updating its 'Row X/Y' output labels. This lasts for a few 
> seconds but if you terminate the application before this updating is 
> complete you get a Windows message stating:
> 
>    'Wish Application has encountered a problem and needs to close. We 
> are sorry for the inconvenience.'
> 
>    and the standard 'Send Error Report'/'Don't Send' buttons.
> 
>    Hope this helps.
> 
>    Best regards,
>      Jurko Gospodnetić

Though I can't find the relevant commit at the moment
I believe that this is one already fixed in the latest
from git://repo.or.cz/git/mingw/4msysgit.git.

- Eric

```

## Steffen Prohaska, 2008-07-28 19:18

Subject: gitk crashes when quitting gitk while it is is reading commits (was Re: gitk crashing on Windows.)
Message-ID: <E7C7B8BA-6050-40DE-917C-200EAE9CA6E8@zib.de>
URL: https://gitlist.dev/e/E7C7B8BA-6050-40DE-917C-200EAE9CA6E8%40zib.de
In-Reply-To: <loom.20080728T162025-946@post.gmane.org>

```

On Jul 28, 2008, at 6:29 PM, Eric Raible wrote:

> Jurko Gospodnetić <jurko.gospodnetic <at> docte.hr> writes:
>
>>   When you run gitk from a git repository on Windows it starts up and
>> starts updating its 'Row X/Y' output labels. This lasts for a few
>> seconds but if you terminate the application before this updating is
>> complete you get a Windows message stating:
>>
>>   'Wish Application has encountered a problem and needs to close. We
>> are sorry for the inconvenience.'
>>
>>   and the standard 'Send Error Report'/'Don't Send' buttons.
>>
>>   Hope this helps.
>>
>>   Best regards,
>>     Jurko Gospodnetić
>
> Though I can't find the relevant commit at the moment
> I believe that this is one already fixed in the latest
> from git://repo.or.cz/git/mingw/4msysgit.git.

I don't think so.  The error Jurko reported might be the same error
that was reported earlier and filed as issue 125:

http://code.google.com/p/msysgit/issues/detail?id=125

I don't think the problem is Windows-specific.  At least on Mac I am
seeing similar problems.  When I hit CTRL-q while gitk is still reading
the commits, it crashes with as segfault.

	Steffen

```

## Eric Raible, 2008-07-28 20:31

Subject: Re: gitk crashes when quitting gitk while it is is reading commits (was Re: gitk crashing on Windows.)
Message-ID: <279b37b20807281331t46866e92s72b0c5a6311cf2db@mail.gmail.com>
URL: https://gitlist.dev/e/279b37b20807281331t46866e92s72b0c5a6311cf2db%40mail.gmail.com
In-Reply-To: <E7C7B8BA-6050-40DE-917C-200EAE9CA6E8@zib.de>

```
On Mon, Jul 28, 2008 at 12:18 PM, Steffen Prohaska <prohaska@zib.de> wrote:

> I don't think so.  The error Jurko reported might be the same error
> that was reported earlier and filed as issue 125:
>
> http://code.google.com/p/msysgit/issues/detail?id=125

I agree - sounds the same.

> I don't think the problem is Windows-specific.  At least on Mac I am
> seeing similar problems.  When I hit CTRL-q while gitk is still reading
> the commits, it crashes with as segfault.
>
>        Steffen

I also agree that it easily could be a generic problem.
But the fact remains that it used to reliably crash on me,
and no longer does with more recent source.

But I still can't find a relevant commit, which makes me
feel like I'm a) still a complete git newbie, or b) imagining
the whole thing.

- Eric

```

## Dmitry Potapov, 2008-07-29 13:15

Subject: Re: gitk crashes when quitting gitk while it is is reading commits (was Re: gitk crashing on Windows.)
Message-ID: <20080729131550.GA7008@dpotapov.dyndns.org>
URL: https://gitlist.dev/e/20080729131550.GA7008%40dpotapov.dyndns.org
In-Reply-To: <E7C7B8BA-6050-40DE-917C-200EAE9CA6E8@zib.de>

```
On Mon, Jul 28, 2008 at 09:18:35PM +0200, Steffen Prohaska wrote:
> 
> I don't think the problem is Windows-specific.  At least on Mac I am
> seeing similar problems.  When I hit CTRL-q while gitk is still reading
> the commits, it crashes with as segfault.

On Linux, when I hit CTRL-q (after a few attempts), I got this:

invalid command name ".tf.histframe.pwclist.canv"
    while executing
"$canv yview"
    (procedure "drawvisible" line 5)
    invoked from within
"drawvisible"
    (procedure "layoutmore" line 14)
    invoked from within
"layoutmore"
    (procedure "chewcommits" line 5)
    invoked from within
"chewcommits"
    ("eval" body line 1)
    invoked from within
"eval $script"
    (procedure "dorunq" line 9)
    invoked from within
"dorunq"
    ("after" script)
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  8 (X_MapWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  2453
  Current serial number in output stream:  2456


Dmitry

```
