buggnubg - Bugs: bug #36716, Gratuitous doubles saved in...


bug #36716: Gratuitous doubles saved in analysis of incomplete matches

Submitted by:  Guido Flohr <gflohr>
Submitted on:  Sun 24 Jun 2012 03:45:56 PM UTC  
Originator Name:  Guido Flohr Item Group:  Other bug
Category:  Loading and saving of SGF files Release:  0.90-devel
Privacy:  Public Operating System:  All
OS Type:  Any Processor Type:  Any
Severity:  3 - Normal Open/Closed:  Closed
Assigned to:  Philippe Michel <plm> Priority:  5 - Normal
Status:  Fixed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 28 Aug 2012 10:18:57 AM UTC, comment #1:

This is introduced by a work around for another bug. The only way to save the hint-data for a double in the end of a match (or saved position) is to add the double to the match. Not the best way to solve the problem, but I didn't want to mess with the sgf data format. Keep that in mind if you change anything.


Christian Anthon <c_anthon>
Project Administrator
Sun 24 Jun 2012 03:45:56 PM UTC, original submission:

With an up-to-date CVS snapshot:

Start a new match (7-point with Crawford rule enabled). After three complete moves without doubling go to Analyse->Analyse match or session.

The progress bar in the bottom right corner will stop at 2/4 (50%). Save the match to a file and reopen it. For the player on turn a double was saved in the file although that never happened.

I originally came across the bug, when saving and loading a match a couple of times. At one point the resulting SGF file ended with two subsequent doubles of the same player. I cannot reproduce that exact behavior though.

Guido Flohr <gflohr>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by c_anthon (Posted a comment)
  • -email is unavailable- added by plm (Updated the item)
  • -email is unavailable- added by gflohr (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-30 plm Open/ClosedOpen => Closed
        StatusIn Progress => Fixed
    2013-05-12 plm Assigned toNone => plm
        StatusConfirmed => In Progress
    2012-08-27 plm Operating SystemLinux => All
        OS Type64Bit => Any
        Processor TypeIntel => Any
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3