bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] strange crash


From: Thomas A. Moulton
Subject: [Bug-gnubg] strange crash
Date: Sun, 02 Jan 2011 13:16:26 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

set gnubgid 3wYAANjsGwEIAA:MAFpACAAAAAA
hint 1

in my local build gives a crash

(gdb) where
#0  MakeInt (pbc=<value optimized out>, nPosID=3272738968,
    arProb=<value optimized out>, arGammonProb=0xbfeb9bd0, ar=0xbfeb9e10,
    ausProb=0x0, ausGammonProb=0x0) at bearoff.c:834
#1  GetDistCompressed (pbc=<value optimized out>, nPosID=3272738968,
    arProb=<value optimized out>, arGammonProb=0xbfeb9bd0, ar=0xbfeb9e10,
    ausProb=0x0, ausGammonProb=0x0) at bearoff.c:1145
#2  ReadBearoffOneSidedExact (pbc=<value optimized out>, nPosID=3272738968,
    arProb=<value optimized out>, arGammonProb=0xbfeb9bd0, ar=0xbfeb9e10,
    ausProb=0x0, ausGammonProb=0x0) at bearoff.c:1234
#3  0x0805c73f in BearoffDist (pbc=0x9a93930, nPosID=3272738968,
    arProb=0xbfeb9cd0, arGammonProb=0xbfeb9bd0, ar=0xbfeb9e10, ausProb=0x0,
    ausGammonProb=0x0) at bearoff.c:1261
#4  0x0805dae2 in BearoffEvalOneSided (pbc=<value optimized out>,
    anBoard=<value optimized out>, arOutput=<value optimized out>)
    at bearoff.c:409
#5  0x0805e013 in BearoffEval (pbc=0x9a93930, anBoard=0xbfeba4d4,
    arOutput=0xbfeba5d4) at bearoff.c:509
#6  0x0806a589 in EvaluatePositionFull (nnStates=<value optimized out>,
    anBoard=0xbfeba4d4, arOutput=<value optimized out>, pci=0xbfeba59c,
    pec=0x817f8a4, nPlies=0, pc=CLASS_BEAROFF_OS) at eval.c:5756
#7  0x0806a729 in EvaluatePositionCacheNoLocking (nnStates=0x856c960,
    anBoard=<value optimized out>, arOutput=<value optimized out>,
    pci=0xbfeba59c, pecx=0x817f8a4, nPlies=0, pc=CLASS_BEAROFF_OS)
    at eval.c:5793
#8  0x0806af58 in EvaluatePositionCubeful4NoLocking (
    nnStates=<value optimized out>, anBoard=0xbfeba4d4,
    arOutput=<value optimized out>, arCubeful=0xbfeba49c,
    aciCubePos=0xbfeba59c, cci=1, pciMove=0xbfeba59c, pec=0x8180d64, nPlies=0,
    fTop=0) at eval.c:6385
#9  0x08068f60 in EvaluatePositionCubeful3NoLocking (
    nnStates=<value optimized out>, anBoard=<value optimized out>,
    arOutput=<value optimized out>, arCubeful=0xbfeba49c,
    aciCubePos=0xbfeba59c, cci=1, pciMove=0xbfeba59c, pec=0x8180d64, nPlies=0,
    fTop=0) at eval.c:6581
#10 0x08069126 in GeneralEvaluationEPliedCubefulNoLocking (
    nnStates=<value optimized out>, arOutput=0xbfeba5d4, anBoard=0xbfeba4d4,
    pci=0xbfeba59c, pec=0x8180d64, nPlies=0) at eval.c:6173
#11 GeneralEvaluationEPliedNoLocking (nnStates=<value optimized out>,
    arOutput=0xbfeba5d4, anBoard=0xbfeba4d4, pci=0xbfeba59c, pec=0x8180d64,
    nPlies=0) at eval.c:6195
#12 0x080692c2 in ScoreMoveNoLocking (nnStates=0x856c960, pm=0x9ca2f88,
    pci=0xbfebabac, pec=0x8180d64, nPlies=0) at eval.c:5829
#13 0x08069485 in ScoreMovesNoLocking (pml=0xbfebac00,
    pci=<value optimized out>, pec=<value optimized out>, nPlies=0)
    at eval.c:5876
#14 0x08069d8d in FindnSaveBestMovesNoLocking (pml=0xbfebac00, nDice0=2,
    nDice1=2, anBoard=0x81800c0, auchMove=0x0, rThr=0.0399999991,
    pci=0xbfebabac, pec=0x8180d64, aamf=0x8181560) at eval.c:6029
#15 0x080761c2 in asyncFindMove (pfd=0xbfebabe4) at gnubg.c:5434
#16 0x08077615 in RunAsyncProcess (fn=0x8076170<asyncFindMove>,
    data=0xbfebabe4, msg=0xb764b022<Address 0xb764b022 out of bounds>)
    at gnubg.c:5505
#17 0x0807b5f0 in hint_move (sz=0x9b356b6 "", show=1) at gnubg.c:2295
#18 0x0807b85c in CommandHint (sz=0x9b356b5 "1") at gnubg.c:2374
#19 0x0807ac99 in HandleCommand (sz=0x9b356b5 "1", ac=0x8185d00)
    at gnubg.c:1167
#20 0x0807cc56 in ProcessInput (sz=0x9b5ad10 "hint 1") at gnubg.c:3551
#21 0x002533a2 in rl_callback_read_char () from /lib/libreadline.so.6
#22 0x008e9e62 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x00b88e5b in ?? () from /lib/libglib-2.0.so.0
#24 0x00b41855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00b45668 in ?? () from /lib/libglib-2.0.so.0
#26 0x00b45ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#27 0x003931d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x080f183b in RunGTK (pwSplash=0x0, commands=0x0, python_script=0x0,
    match=0x0) at gtkgame.c:3634
#29 0x0807fae0 in main (argc=1, argv=0xbfebc664) at gnubg.c:4825
(gdb)

It may be a library problem, as the code runs withe same patches for Ingo

any suggestions?

Later I will rebuild mainline source and see what I get

I tried it with the ubuntu 10.10 binary and it is fine.

I must have a missing -dev package or something

tom






reply via email to

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