[Top][All Lists]

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

Re: [Bug-gnubg] Fwd: Bug#396445: gnubg: segfault adding match to postgre

From: Russ Allbery
Subject: Re: [Bug-gnubg] Fwd: Bug#396445: gnubg: segfault adding match to postgres database
Date: Fri, 10 Nov 2006 10:16:26 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

Christian Anthon <address@hidden> writes:

> Hi Russ,
> could you tell us what the code looks like around the failing line

>> | #5  0x00000000005078f0 in PyGameStats (sc=0xd91380, fIsMatch=0, nMatchTo=7)
>> |     at gnubgmodule.c:1558

> since I don't know what revision of gnubgmodule.c you have.

> In my version it says,

> PyObject* d =
>       Py_BuildValue("{s:f,s:f,s:f,s:f,s:f}",
>                     "luck", sc->arLuck[side][0],
>                     "luck-cost", sc->arLuck[side][1],
>                      "actual-result", sc->arActualResult[side],
>                      "luck-adjusted-result", sc->arLuckAdj[side]);

> and clearly Py_BuildValue expects five argument pairs, but only receives
> four.

Aha!  Yup, same problem here.

Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>

reply via email to

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