bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Gnubg crashes


From: Nardy Pillards
Subject: Re: [Bug-gnubg] Gnubg crashes
Date: Sat, 11 Oct 2003 23:56:17 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11 Oct 2003 at 21:22, Joern Thyssen wrote:

> 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

play.c does not compile.

Here's the last part of the display:

play.c:3196: nested function `ClearMatch' declared `extern'
play.c:3225: nested function `FreeMatch' declared `extern'
play.c:3231: nested function `SetMatchDate' declared `extern'
play.c:3241: nested function `CommandNewMatch' declared `extern'
play.c:3314: nested function `CommandNewSession' declared `extern'
play.c:3395: nested function `ChangeGame' declared `extern'
play.c:3468: nested function `CommandFirstMove' declared `extern'
play.c:3474: nested function `CommandFirstGame' declared `extern'
play.c:3654: nested function `CommandNext' declared `extern'
play.c:3694: nested function `CommandPlay' declared `extern'
play.c:3806: nested function `CommandPrevious' declared `extern'
play.c:3879: nested function `CommandRedouble' declared `extern'
play.c:3966: nested function `CommandReject' declared `extern'
play.c:3977: nested function `CommandResign' declared `extern'
play.c:4126: nested function `CommandRoll' declared `extern'
play.c:4282: nested function `CommandTake' declared `extern'
play.c:4337: nested function `SetMatchID' declared `extern'
play.c:4522: nested function `FixMatchState' declared `extern'
play.c:4547: nested function `getCurrentMoveRecord' declared `extern'
play.c:4678: nested function `OptimumRoll' declared `extern'
play.c:4763: nested function `getFinalScore' declared `extern'
play.c:4786: parse error at end of input
play.c:112: warning: `CheatDice' declared `static' but never defined
C:\MINGW\BIN\MINGW3~4.EXE: *** [play.o] Error 1




- --
Louis Nardy Pillards

"It's better to light a candle, than to curse the darkness"


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 -- QDPGP 2.70
Comment: http://www.gnubg.org/win32

iQA/AwUBP4h8gTPEk1cebYRtEQJPLgCg0122bfVvtPMi6XhTzkGY8ICO11sAoIHg
MHo4GBJiBMljuuvOgUVHJAP3
=TikG
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]