buggnubg - Bugs: bug #21942, show pip gives bogus results

 
 

bug #21942: show pip gives bogus results

Submitted by:  Philippe Michel <plm>
Submitted on:  Thu 03 Jan 2008 09:29:17 PM UTC  
 
Originator Name: Item Group: Other bug
Category: Command line interfaceRelease: 0.16-devel
Privacy: PublicOperating System: All
OS Type: NoneProcessor Type: None
Severity: 3 - NormalOpen/Closed: Closed
Assigned to: Jon Kinsey <Superfly_Jon>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.

 

Sun 06 Jan 2008 11:13:23 PM UTC, comment #1:

Hi Jon can you take a look at this. I traced the problem to the memcpy in ParsePosition, i.e. probably a ConstTanBoard TanBoard mismatch.

Christian Anthon <c_anthon>
Project Administrator
Thu 03 Jan 2008 09:29:17 PM UTC, original submission:

show pip (from the CLI) gives bogus results. Moreover, they change when the command is repeated :

GNU Backgammon Position ID: 4HPkASLQc+QBMA
Match ID : cAkAAAAAAAAA
+13-14-15-16-17-18------19-20-21-22-23-24-+ O: White
| X O O | | O X | 0 points
| X O | | O X |
| X O | | O |
| X | | O |
| | | O |
v| |BAR| | (Cube: 1)
| | | |
| O | | X |
| O X | | X |
| O X | | X | On roll
| O X X | | X X O O | 0 points
+12-11-10--9--8--7-------6--5--4--3--2--1-+ X: Black

(Black) show pip
The pip counts are: Black -2088009630, White -466441028.
(Black) show pip
The pip counts are: Black -2088006590, White -466439492.
(Black) show pip
The pip counts are: Black -2088003566, White -466438340.

This is a very recent regression. Maybe it came with the "Fix const board arrays" changes from Dec 29th ?

Philippe Michel <plm>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to 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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Jan 2008 08:16:07 PM UTCSuperfly_JonOpen/ClosedAccepted=>Closed
      StatusConfirmed=>Fixed
    Sun 06 Jan 2008 11:13:23 PM UTCc_anthonOpen/ClosedOpen=>Accepted
      Assigned toNone=>Superfly_Jon
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1