bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] bug: gnubg (CLI) crashes when trying to rollout a position


From: Makke
Subject: [Bug-gnubg] bug: gnubg (CLI) crashes when trying to rollout a position
Date: Wed, 24 Jan 2007 20:06:48 +0200


 Hi.

 Im currently running compiled (gnubg-source-rel-0_15_20061120.tar.gz) under Red Hat FC6
and gnubg crashes when Im trying to run a rollout for moves in CLI. Rollouts for cube decisions
work fine.

Here is what Im trying to do:
set matchid QQl1ABAAAAAA
set board Z+6AAQbMbhsgEA
hint
rollout =1 =2 =3

Ill immidiately get a segmentation fault. With or without gnubgautorc. It is the same with all
positions I tried.

gdb output:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208317216 (LWP 7193)]
0x080894c7 in RolloutGeneral (apBoard=0xbf8732a0, apOutput=0xbf873280,
    apStdDev=0xbf873260, aarsStatistics=0x0, apes=0xbf873240, apci=0xbf873220,
    apCubeDecTop=0xbf873200, alternatives=3, fInvert=1, fCubeRollout=0,
    pfProgress=0x80c83c0 <RolloutProgress>, pUserData=0x879caa0)
    at rollout.c:1096
1096        if ((pes->et != EVAL_ROLLOUT) || (prc->nGamesDone == 0)) {

register layout:
┌──Register group: general─────────────────────────────────────────────────────┐
│eax            0x1      1                                                     │
│ecx            0x0      0                                                     │
│edx            0xbf873ed8       -1081655592                                   │
│ebx            0xbf873220       -1081658848                                   │
│esp            0xbf8724f0       0xbf8724f0                                    │
│ebp            0xbf8731a8       0xbf8731a8                                    │
│esi            0xbf8725a0       -1081662048                                   │
│edi            0x0      0                                                     │
│eip            0x80894c7        0x80894c7 <RolloutGeneral+727>                │
│eflags         0x210246 [ PF ZF IF RF ID ]                                    │
│cs             0x73     115                                                   │
│ss             0x7b     123                                                   │
│ds             0x7b     123                                                   │
│es             0x7b     123                                                   │
│fs             0x0      0                                                     │
└──────────────────────────────────────────────────────────────────────────────┘
   │1081        prc = &pes->rc;                                                │
   │1082                                                                       │
   │1083        /* fill out the JSD stuff */                                   │
   │1084        ajiJSD[ alt ].rEquity = ajiJSD[ alt ].rJSD = 0.0f;             │
   │1085        ajiJSD[ alt ].nRank = 0;                                       │
   │1086        ajiJSD[ alt ].nOrder = alt;                                    │
   │1087                                                                       │
   │1088        /* save input cubeinfo */                                      │
   │1089        memcpy ( &aciLocal[ alt ], apci [ alt ], sizeof ( cubeinfo ) );│
   │1090                                                                       │
   │1091        /* Invert cubeinfo */                                          │
   │1092                                                                       │
   │1093        if ( fInvert )                                                 │
   │1094          aciLocal[ alt ].fMove = ! aciLocal[ alt ].fMove;             │
   │1095                                                                       │
  >│1096        if ((pes->et != EVAL_ROLLOUT) || (prc->nGamesDone == 0)) {     │
   └───────────────────────────────────────────────────────────────────────────┘
multi-thre Thread -120831 In: RolloutGeneral           Line: 1096 PC: 0x80894c7

strace:
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x8053fc0, [], SA_NOCLDSTOP}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL}, {0x31e6220, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0x31e61d0, [], SA_RESTART}, 8) = 0
time(NULL)                              = 1169660463
time(NULL)                              = 1169660463
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Compiled with options:
./autogen.sh
./configure --without-board3d --without-gdbm --without-gtk2 --without-python --without-sound --disable-sse
make install

Any help? I can rollout the same position in Windows and Fedora Core 4 (gnubg 0.14.3).

reply via email to

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