[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Gnubg crashes
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Gnubg crashes |
Date: |
Sat, 11 Oct 2003 21:22:39 +0000 |
User-agent: |
Mutt/1.4.1i |
On Wed, Oct 08, 2003 at 04:43:51PM +0200, Scott Steiner wrote
> Hi,
>
> gnubg is crashing, here is how to reproduce the error:
>
> - open the attached analysed sample match (match is 1 game only)
> - open the game record window
> - browse to the last move (move 52) of player 'user'
> - play the 6-4 roll and bear off 2 checkers
> - gnubg will then play its turn and bear off its last checker and win
> the entire match
> - press 'ok' in the message box where gnubg says it won and you should
> get the following error message:
>
> (gnubg.exe:4294397945): GLib-CRITICAL **: file gmain.c: line 1502
> (g_source_remove): assertion `tag > 0' failed
>
> - gnubg can then only be completely closed
I've committed an ugly fix.
For the developers:
Stein, it's the
gtk_timeout_remove(nClockTimeout);
that causes the glib warning, as nClockTimeout is only generated through
CommandNewGame or CommandNewSession. I'm not sure how to handle this
generally.
Jørn
pgpjqXlMJ9z0g.pgp
Description: PGP signature