[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] segmentation fault when rolling out
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] segmentation fault when rolling out |
Date: |
Wed, 17 Jul 2002 11:45:29 +0000 |
User-agent: |
Mutt/1.2.5.1i |
On Wed, Jul 17, 2002 at 11:39:05AM +0000, Øystein Johansen wrote
> Hi,
>
> I follow these steps, and get a segfault:
>
> 1. start new game
> 2. When it's my turn to move, I press 'Hint' and get the hint dialog.
> 3. I select the top 2 candidates in the move list.
> 4. I press 'Rollout'
> 5. The rollout window pops up, and the moves roll out
> 6. Then I press the 'OK' button in the rollout window, after the
> rollouts have completed.
>
> Ta ta.... Segementation fault.
Ahem, a minor bug...
I'm working on a number of updates. I'll check in soon -- hopefully before
today's stage of Tour de France starts, as I don't have wireless LAN so
I can commit code sitting in front of the telly :-)
If you're impatient, change
if ( phd->pml->cMoves )
*phd->piHighlight = ai [ *phd->piHighlight ];
to
if ( phd->piHighlight && phd->pml->cMoves )
*phd->piHighlight = ai [ *phd->piHighlight ];
in MoveListRollout.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)