[ggo-discussion] Re: sgf editor sometimes crashes... at least when editing from game in progress.

  • From: Peter Strempel <zotan@xxxxxx>
  • To: ggo-discussion@xxxxxxxxxxxxx
  • Date: Mon, 9 Dec 2002 16:09:19 +0100

On Sun, Dec 08, 2002 at 02:50:00AM -0000, Michael Camacho wrote:
> 
> This has happened to me a few times with the post-sourceforge releases... I
> sometimes click the 'Edit game' button whilst I'm still playing the game
> itself, usually to read out a sequence very quickly if I'm short on time.
> 
> When the bug appears, instead of the board appearing almost immediately, I
> see a progress bar which says something like "reading sgf file". The bar
> fills up relatively slowly, and then the editing screen appears, but it is
> not drawn properly... much of the window is blank.
> 
> At this point, it is not uncommon for the bug to propagate into the other
> aspects of gGo's operation (i.e. my game window messes up), and I have to
> quit the program and restart it.

The "Edit game" button will save the current IGS game to a temporary file,
which is then reopened from the edit board. This was actually the smoothest
way to copy a game board by using a SGF transfer. Copying the game tree is
somewhat difficult.

However, the edit board runs in an own thread, so even if the loading takes
a second it should not interfer with the normal IGS game thread. When I open
a ~200 moves game in the editor, it takes around 2 seconds on my
relatively slow box to open the position, so I doubt the SGF reading takes
up too much resources.

So far I have not seen the problem you mention myself, and opening some ~250
moves games went ok, I could not reproduce the report. As usual, email me
the .ggo.log file if odd stuff happens, or have a look into it if there is
some longer java error spam (you really cannot miss those).


Somewhat off topic: Some people asked me to remove the edit game feature for
own games as they consider it cheating to have a "scratch-board" in own
games. I thought I leave that option to the user decision if they use it or
not. I personally only use this feature in observed games. Also, some people
might like the feature, and I suppose there is not much sense in removing
the feature, people might run off to another client who does support it. :)

Opinions appreciated.

 Peter

Other related posts: