On 14/09/2013 3:32 PM, Russ Allbery wrote: > Steps to reproduce in 1.02.000: > > 1. Start a new match > 2. Resign after a few moves > 3. Select (in the GUI) the previous game to see the history > 4. Select the resignation move > 5. Press Ctrl-H for a hint > > gnubg pops up a dialog box that's empty except for an info icon and the > Close button and displays the following error: > I can confirm this. It is a use case that hadn't been identified before. The short term solution which I can implement is to simply not display hint information on resigns. The fact this bug is just being discovered suggests its not information people are generally looking for. Long term fix could be to suggest appropriate actions (and equities) regarding resigns.
As for why this seems somewhat fixed in 1.02.000 is not because of an actual change in the code, but a change in compiling. In 1.02.000 this Changelog entry now applies: 2013-07-22 Michael Petch <[email protected]> Add a new configure option --enable-gasserts . Previously g_assert macros have been enabled by default. They are now disabled by default. This option is used to enable those macros. g_asserts within the GNUBG code are off by now, the GTK ones are unchanged. So the hard failure that use to exist because of a g_assert is not reached, but a future GTK one is unmasked. Side note: If you want the old behaviour for Debian builds you could add --enable-gasserts to the ./configure process. -- Michael Petch GNU Backgammon Maintainer / Developer OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
