buggnubg - Bugs: bug #25886, hint crashes gnubg -t

 
 

bug #25886: hint crashes gnubg -t

Submitted by:  Philippe Michel <plm>
Submitted on:  Mon 16 Mar 2009 05:00:09 PM UTC  
 
Originator Name: Philippe MichelItem Group: Crash error
Category: OtherRelease: 0.90-devel
Privacy: PublicOperating System: FreeBSD
OS Type: NoneProcessor Type: None
Severity: 3 - NormalOpen/Closed: Closed
Assigned to: NonePriority: 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.

 

Mon 16 Mar 2009 07:56:54 PM UTC, comment #1:

pci=0x0 doesn't look good...

It will be taken care of

"The rollout command takes no arguments and only rollouts the current position"

doesn't work that way any more. I'll work on a better error message.

Christian Anthon <c_anthon>
Project Administrator
Mon 16 Mar 2009 05:00:09 PM UTC, original submission:

After setting a double position in the CLI with set matchid and set board, hint crashes gnubg.

#0 GetDPEq (pfCube=0x0, prDPEq=0xbfbfcde0, pci=0x0) at eval.c:4531
4531 if ( ! pci->nMatchTo ) {
[New Thread 0x28f01100 (LWP 100101)]

pci=0x0 doesn't look good...

(gdb) where
#0 GetDPEq (pfCube=0x0, prDPEq=0xbfbfcde0, pci=0x0) at eval.c:4531
#1 0x08063392 in FindCubeDecision (arDouble=0xbfbfcdd4, aarOutput=0x854db40,
pci=0x0) at eval.c:4487
#2 0x08070941 in OutputCubeAnalysis (aarOutput=0x854db40,
aarStdDev=0x854db78, pes=0x0, pci=0x0) at format.c:860
#3 0x0807b686 in hint_double (show=1, did_double=-1) at gnubg.c:2318
#4 0x0807b8fc in CommandHint (sz=0x293aa6bc "") at gnubg.c:2431
#5 0x08077336 in HandleCommand (sz=0x293aa6bc "", ac=0x816916c)
at gnubg.c:1281
#6 0x08078bb2 in run_cl () at gnubg.c:4442
#7 0x0807a6bc in main (argc=0, argv=0xbfbfe8e8) at gnubg.c:4992

It doesn't happen with checker play positions or from the GUI (but the latter has other problems : hint then rollout =cube gives "The rollout command takes no arguments and only rollouts the current position". Probably the CLI will fail this way too once the crash is fixed.

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 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Mar 2009 04:57:43 PM UTCc_anthonOpen/ClosedOpen=>Closed
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1