bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Crash during play


From: Jim Segrave
Subject: Re: [Bug-gnubg] Crash during play
Date: Fri, 29 Nov 2002 11:47:32 +0100
User-agent: Mutt/1.4i

On Fri 29 Nov 2002 (09:41 +0000), Joern Thyssen wrote:
> On Fri, Nov 29, 2002 at 10:36:12AM +0100, Nardy Pillards wrote
> > > Since it crashes on race positions there might be a problem with the new
> > > bearoff databases (gnubg uses bearoff databases for calculating bg
> > > chances; also multiple ply may reach bearoff database).
> > >
> > > Has anybody been able to reproduce the problem on un*x? Especially
> > > interesting is Jim's BSD since the memory handling is different on those
> > > boxses, so any possible memory problem would be more likely to show up
> > > there.
> > 
> > > J?rn
> > 
> > The Windows builds crash:
> > - Race position during game play
> 
> Does it crash on bearoff positions?

Holger posted a game which he reports crashes which is in the bearoff
stage on one side - gnubg is bearing off, holger has just come in from
the bar. I think the other posted crashing match was also bearing off
on at least one side.

I'm very curious if br1.c on Windows has the complete database. If the
Windows environment has a grep which supports the -n option, then it
would be interesting to do:

address@hidden:/home/jes/gnubg% grep -n '[{}]' br1.c
31:static unsigned char acBearoff1[] = { 
183256:};
183260:BearoffInitBuiltin ( void ) {
183264:  if ( ! ( pbc = (bearoffcontext *) malloc ( sizeof (
bearoffcontext ) ) ) ) {
183268:  }
183286:}

This tells me that the bearoff database starts on line 31 of the file
and ends on line 183256. Could Nardy or Holger try this and see if the
array is the same size - the difference between the line numbers for
the open and close braces should be the same. I'm just very puzzled by
the reported odd behaviour when building br1.c and I'd like to be sure
that the full database is present.

-- 
Jim Segrave           address@hidden




reply via email to

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