bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Best way to use 0.14 weights?


From: Rod Roark
Subject: Re: [Bug-gnubg] Best way to use 0.14 weights?
Date: Mon, 19 Jan 2004 07:52:57 -0800
User-agent: KMail/1.5.4

On Monday 19 January 2004 04:06 am, Joern Thyssen wrote:
> On Sun, Jan 18, 2004 at 02:09:14PM -0800, Rod Roark wrote
> > I've been wanting to fix up ParlorBot with the latest
> > weights database for a while and finally got some time last
> > week.  However trying the latest development code led to my
> > reporting bug #7296 (segmentation fault).  So ParlorBot
> > continues to run 0.13.
> 
> Can you send the backtrace from gdb?

Here you go:

(gnubg) hint
Considering move...
Program received signal SIGSEGV, Segmentation fault.
CopyBytes (aus=0x863f3e0, ac=0x54d028a4 <Address 0x54d028a4 out of bounds>, 
nz=4, ioff=1, nzg=0, ioffg=164)
    at bearoff.c:2070
2070        aus[ ioff + j ] = ac[ i ] | ac[ i + 1 ] << 8;
(gdb) bt
#0  CopyBytes (aus=0x863f3e0, ac=0x54d028a4 <Address 0x54d028a4 out of bounds>, 
nz=4, ioff=1, nzg=0,
    ioffg=164) at bearoff.c:2070
#1  0x080bceab in GetDistCompressed (pbc=0x86d8900, nPosID=0) at bearoff.c:2160
#2  0x080bd067 in ReadBearoffOneSidedExact (pbc=0x86d8900, nPosID=33102, 
arProb=0x0, arGammonProb=0x0,
    ar=0x0, ausProb=0xbfffa4c0, ausGammonProb=0x0) at bearoff.c:2223
#3  0x08077bc4 in MaxTurns (id=33102) at eval.c:2020
#4  0x08077999 in SanityCheck (anBoard=0xbfffac20, arOutput=0xbfffac00) at 
eval.c:1805
#5  0x08078857 in EvaluatePositionFull (anBoard=0xbfffac20, 
arOutput=0xbfffac00, pci=0xbfffabc0,
    pec=0x8227684, nPlies=0, pc=CLASS_RACE) at eval.c:2614
#6  0x08078a7a in EvaluatePositionCache (anBoard=0xbfffac20, 
arOutput=0xbfffac00, pci=0xbfffabc0,
    pecx=0x8227684, nPlies=0, pc=CLASS_RACE) at eval.c:2707
#7  0x08078be7 in EvaluatePosition (anBoard=0xbfffac20, arOutput=0xbfffac00, 
pci=0xbfffabc0, pec=0x0)
    at eval.c:2771
#8  0x0807d401 in EvaluatePositionCubeful4 (anBoard=0xbfffac20, 
arOutput=0xbfffac00, arCubeful=0xbfffab3c,
    aciCubePos=0xbfffabc0, cci=1, pciMove=0xbfffabc0, pec=0xbfffb1d8, nPlies=0, 
fTop=0) at eval.c:5898
#9  0x0807cb97 in EvaluatePositionCubeful3 (anBoard=0xbfffac20, 
arOutput=0xbfffac00, arCubeful=0xbfffab3c,
    aciCubePos=0xbfffabc0, cci=1, pciMove=0xbfffabc0, pec=0xbfffb1d8, nPlies=0, 
fTop=0) at eval.c:5664
#10 0x0807c76b in GeneralEvaluationEPliedCubeful (arOutput=0xbfffac00, 
anBoard=0xbfffac20, pci=0xbfffabc0,
    pec=0xbfffb1d8, nPlies=0) at eval.c:5449
#11 0x0807c7c0 in GeneralEvaluationEPlied (arOutput=0xbfffac00, 
anBoard=0xbfffac20, pci=0xbfffabc0,
    pec=0xbfffb1d8, nPlies=0) at eval.c:5472
#12 0x080796fd in ScoreMove (pm=0x8743538, pci=0xbfffb610, pec=0xbfffb1d8, 
nPlies=0) at eval.c:3323
#13 0x08079824 in ScoreMoves (pml=0xbfffb1e0, pci=0xbfffb610, pec=0xbfffb1d8, 
nPlies=0) at eval.c:3368
#14 0x08079c82 in FindnSaveBestMoves (pml=0xbfffb1e0, nDice0=6, nDice1=6, 
anBoard=0xbfffb360,
    auchMove=0x0, rThr=0, pci=0xbfffb610, pec=0xbfffb1d8, aamf=0x82276a0) at 
eval.c:3550
#15 0x080799bc in FindBestMovePlied (anMove=0x0, nDice0=6, nDice1=6, 
anBoard=0xbfffb360, pci=0xbfffb610,
    pec=0x863f3e0, nPlies=0, aamf=0x82276a0) at eval.c:3440
#16 0x0807ce30 in EvaluatePositionCubeful4 (anBoard=0xbfffb670, 
arOutput=0xbfffb650, arCubeful=0xbfffb58c,
    aciCubePos=0xbfffb610, cci=1, pciMove=0xbfffb610, pec=0x82216a4, nPlies=1, 
fTop=0) at eval.c:5796
#17 0x0807cb97 in EvaluatePositionCubeful3 (anBoard=0xbfffb670, 
arOutput=0xbfffb650, arCubeful=0xbfffb58c,
    aciCubePos=0xbfffb610, cci=1, pciMove=0xbfffb610, pec=0x82216a4, nPlies=1, 
fTop=0) at eval.c:5664
#18 0x0807c76b in GeneralEvaluationEPliedCubeful (arOutput=0xbfffb650, 
anBoard=0xbfffb670, pci=0xbfffb610,
    pec=0x82216a4, nPlies=1) at eval.c:5449
#19 0x0807c7c0 in GeneralEvaluationEPlied (arOutput=0xbfffb650, 
anBoard=0xbfffb670, pci=0xbfffb610,
    pec=0x82216a4, nPlies=1) at eval.c:5472
#20 0x080796fd in ScoreMove (pm=0x8740908, pci=0xbfffbc30, pec=0x82216a4, 
nPlies=1) at eval.c:3323
#21 0x08079824 in ScoreMoves (pml=0xbfffc0a0, pci=0xbfffbc30, pec=0x82216a4, 
nPlies=1) at eval.c:3368
#22 0x08079b9c in FindnSaveBestMoves (pml=0xbfffc0a0, nDice0=2, nDice1=1, 
anBoard=0x8221080, auchMove=0x0,
    rThr=0.0399999991, pci=0xbfffbc30, pec=0x82216a4, aamf=0x8222520) at 
eval.c:3518
#23 0x0806edfb in HintChequer (sz=0x871fa4c "") at gnubg.c:4059
#24 0x0806d0d4 in HandleCommand (sz=0x871fa4c "", ac=0x819793b) at gnubg.c:2900
#25 0x080745a8 in real_main (closure=0x0, argc=3, argv=0xbffff234) at 
gnubg.c:8009
#26 0x080746eb in main (argc=3, argv=0xbffff234) at gnubg.c:8064
#27 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

-- Rod





reply via email to

[Prev in Thread] Current Thread [Next in Thread]