It is the forum software, here is the last part of debug.hgm wrote:Just to be sure:
Is the debug from the last crash posted completely, or did the forum software clip off the end because it thought the posting was too long?
The other two seem to end in an incompletely printed line, which was supposed to print input it received from the (first or second) engine. That strongly suggests there is some memory corruption in what it tries to print. There could be a buffer overflow somewhere. What it tries to print should in itself be pretty innocent (a features command received from the engine).
I am afraid this will be pretty hard to find. It seems to crash while busy executing an fprintf. That can happen if the fprintf would somehow try to follow invalid pointers, e.g. with a %s format pointing to an invalid memory location that causes a segfault. But the strings it is in the middle of printing should not contain a %s there. In fact they already are the result of following a pointer for a %s format. It is hard to see how printing such a string could run into invalid memory, as just before that string must have been written in the same memory, when received from the engine. So if it was invalid, it should have segfaulted there, before even starting to print any of it.
Do you ever have any crashes when you run with only 4 instances on this tourney. (After 3 instances crashed, the remaining ones seem to go on pretty long.) And if you would add two more participants, so that a cycle last six games, would only the 7th instance crash? If this would be the case, it suggests that there somehow is a problem in starting a new cycle.
Code: Select all
4349174 <second: # moves_to_go = 30
4349174 <second: # TimeLeft=45130.00ms. CT=4513ms, MT=2256.00ms AT=1436.00ms.
4349174 <second: 2 -1965 0 39 e1d2 e2e1q d2c2
4349174 <second: 3 -1615 0 410 e1f2 e2e1q f2g2 a4b4
4349174 <second: 4 -1634 0 1267 e1f2 e2e1q f2g2 b5c6 g2h3 a4b4
4349190 <second: 5 -1648 1 4377 e1f2 e2e1q f2g2 e1e3 g2h2 a4b4
4349190 <second: 6 -29990 1 15716 e1f2 e2e1q f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4349206 <second: 7 -29990 3 30513 e1f2 e2e1q f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4349221 <second: 8 -29990 4 53663 e1f2 e2e1q f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4349268 <second: 9 -29990 9 98441 e1f2 e2e1q f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350284 <second: 10 -29990 111 1378768 e1f2 e2e1q f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350612 <second: move e1f2
4350612 >first : time 3876
4350612 >first : otim 4370
book hit = (NULL)
4350612 >first : usermove 4350612 >first : e1f2
silence
4350612 <first : 1 +9991 0 21 e1=Q+ Kxg2 Qe3
4350612 <first : 1 +0 0 0 +Mate_5
4350612 <first : 2 +9991 0 42 e1=Q+ Kxg2 Qe3
4350612 <first : 2 +0 0 0 +Mate_5
4350612 <first : 3 +9991 0 63 e1=Q+ Kxg2 Qe3
4350612 <first : 3 +0 0 0 +Mate_5
4350612 <first : 4 +9991 0 84 e1=Q+ Kxg2 Qe3
4350612 <first : 4 +0 0 0 +Mate_5
4350612 <first : 5 +9991 0 105 e1=Q+ Kxg2 Qe3
4350612 <first : 5 +0 0 0 +Mate_5
4350612 <first : 6 +9991 0 362 e1=Q+ Kxg2 Qe3
4350612 <first : 6 +0 0 0 +Mate_5
4350612 <first : 7 +9991 0 628 e1=Q+ Kxg2 Qe3
4350612 <first : 7 +0 0 0 +Mate_5
4350612 <first : 8 +9991 0 631 e1=Q+ Kxg2 Qe3
4350612 <first : 8 +0 0 0 +Mate_5
4350612 <first : 8 +9991 0 1050 e1=Q+ Kxg2 Qe3
4350612 <first : 8 +0 0 0 +Mate_5
4350612 <first : 9 +9991 0 1053 e1=Q+ Kxg2 Qe3
4350612 <first : 9 +0 0 0 +Mate_5
4350612 <first : 9 +9991 0 2487 e1=Q+ Kxg2 Qe3
4350612 <first : 9 +0 0 0 +Mate_5
4350612 <first : 10 +9991 0 2490 e1=Q+ Kxg2 Qe3
4350612 <first : 10 +0 0 0 +Mate_5
4350612 <first : 10 +9991 0 5864 e1=Q+ Kxg2 Qe3
4350612 <first : 10 +0 0 0 +Mate_5
4350612 <first : 11 +9991 0 5867 e1=Q+ Kxg2 Qe3
4350612 <first : 11 +0 0 0 +Mate_5
4350612 <first : 11 +9991 0 11270 e1=Q+ Kxg2 Qe3
4350612 <first : 11 +0 0 0 +Mate_5
4350612 <first : 11 +9991 0 11270 e1=Q+ Kxg2 Qe3
4350612 <first : move e2e1q
4350612 >second: time 4370
4350612 >second: otim 3876
book hit = (NULL)
4350612 >second: e2e1q
silence
4350628 <second: # moves_to_go = 29
4350628 <second: index i has value equal to 0
4350628 <second: # TimeLeft=43700.00ms. CT=4370ms, MT=2185.00ms AT=1437.00ms.
4350628 <second: 2 -1632 0 92 f2g2
4350628 <second: 2 -1615 0 139 f2g2 a4b4
4350628 <second: 3 -1634 1 555 f2g2 b5c6 g2h3 a4b4
4350628 <second: 4 -1658 1 2463 f2g2 e1e3 g2h1 a4b4
4350628 <second: 5 -29992 1 9235 f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350628 <second: 6 -29992 1 20223 f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350643 <second: 7 -29992 3 35753 f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350643 <second: 8 -29992 3 52842 f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4350659 <second: 9 -29992 4 94322 f2g2 e1e3 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4352049 <second: move f2g2
4352049 >first : time 3876
4352049 >first : otim 4226
book hit = (NULL)
4352049 >first : usermove 4352049 >first : f2g2
silence
4352049 <first : 1 +2251 0 158 Qe3
4352049 <first : 2 +9993 0 405 Qe3 Kh1 Bc6+
4352049 <first : 2 +0 0 0 +Mate_4
4352049 <first : 3 +9993 0 650 Qe3 Kh1 Bc6+
4352049 <first : 3 +0 0 0 +Mate_4
4352049 <first : 4 +9993 0 895 Qe3 Kh1 Bc6+
4352049 <first : 4 +0 0 0 +Mate_4
4352049 <first : 5 +9993 0 1140 Qe3 Kh1 Bc6+
4352049 <first : 5 +0 0 0 +Mate_4
4352049 <first : 6 +9993 0 1660 Qe3 Kh1 Bc6+
4352049 <first : 6 +0 0 0 +Mate_4
4352049 <first : 7 +9993 0 2210 Qe3 Kh1 Bc6+
4352049 <first : 7 +0 0 0 +Mate_4
4352049 <first : 8 +9993 0 2213 Qe3 Kh1 Bc6+
4352049 <first : 8 +0 0 0 +Mate_4
4352049 <first : 8 +9993 0 2854 Qe3 Kh1 Bc6+
4352049 <first : 8 +0 0 0 +Mate_4
4352049 <first : 9 +9993 0 2857 Qe3 Kh1 Bc6+
4352049 <first : 9 +0 0 0 +Mate_4
4352049 <first : 9 +9993 0 4428 Qe3 Kh1 Bc6+
4352049 <first : 9 +0 0 0 +Mate_4
4352049 <first : 9 +9993 0 4428 Qe3 Kh1 Bc6+
4352049 <first : move e1e3
4352049 >second: time 4226
4352049 >second: otim 3876
book hit = (NULL)
4352049 >second: e1e3
silence
4352065 <second: # moves_to_go = 28
4352065 <second: # TimeLeft=42260.00ms. CT=4226ms, MT=2113.00ms AT=1437.00ms.
4352065 <second: 2 -1648 0 102 g2h2
4352065 <second: 2 -1648 0 141 g2h2 a4b4
4352065 <second: 3 -29994 1 671 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4352065 <second: 4 -29994 1 797 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4352065 <second: 5 -29994 1 1039 g2h1 b5c6 h1h2 e3f2 h2h3 c6d7
4352065 <second: move g2h1
4352065 >first : time 3876
4352065 >first : otim 4224
book hit = (NULL)
4352065 >first : usermove 4352065 >first : g2h1
silence
4352065 <first : 1 +9995 0 46 Bc6+ Kh2 Qf2+
4352065 <first : 1 +0 0 0 +Mate_3
4352065 <first : 2 +9995 0 91 Bc6+ Kh2 Qf2+
4352065 <first : 2 +0 0 0 +Mate_3
4352065 <first : 3 +9995 0 136 Bc6+ Kh2 Qf2+
4352065 <first : 3 +0 0 0 +Mate_3
4352065 <first : 4 +9995 0 181 Bc6+ Kh2 Qf2+
4352065 <first : 4 +0 0 0 +Mate_3
4352065 <first : 5 +9995 0 226 Bc6+ Kh2 Qf2+
4352065 <first : 5 +0 0 0 +Mate_3
4352065 <first : 6 +9995 0 610 Bc6+ Kh2 Qf2+
4352065 <first : 6 +0 0 0 +Mate_3
4352065 <first : 7 +9995 0 995 Bc6+ Kh2 Qf2+
4352065 <first : 7 +0 0 0 +Mate_3
4352065 <first : 7 +9995 0 995 Bc6+ Kh2 Qf2+
4352065 <first : move b5c6
4352065 >second: time 4224
4352065 >second: otim 3876
book hit = (NULL)
4352065 >second: b5c6
silence
4352065 <second: # moves_to_go = 27
4352065 <second: # TimeLeft=42240.00ms. CT=4224ms, MT=2112.00m