"Gerd Lorscheid" <gerd.lorsch...@onlinehome.de> wrote: > Hello, > >I did not care about %3 or anything else. I removed the variable >ProbeCounts, which caused the overflow. It was used for debugging only. >In a second step I cleaned the code from unused stuff not aware that >there >is an external tool scidlet using it. This is removed until scidlet is >removed. >So this problem is solved, but you never know how many others are >sleeping... > > Gerd > > > > >-----Ursprüngliche Nachricht----- >Von: Joost 't Hart [mailto:joost.t.h...@planet.nl] >Gesendet: Montag, 3. Januar 2011 23:14 >An: Steven >Cc: Scid >Betreff: Re: [Scid-users] PGN window unstable > >On 01/03/2011 10:56 PM, Steven wrote: > >Hi, > >> Gerd, >> >> Have the recent changes fixed the PGN instability issue ? > >Yes. They were caused by a (debug-only) buffer overflow in the >engine.cpp code. > >> Joost wrote: >>> Yet what surprised me is that flag values> 3 really >>> could be >>> meaningless. Note that they are not taken into account in >>> the switch >>> statement to follow. Hence I wonder what is going on in the >>> hash >>> machinery itself. Including why the closing tte_ScoreFlag() >>> operation in >>> ProbeHash() masks the hash flag with 0x07. >>> I mean, it might as well be that this mask value should >>> actually be >>> equal to 0x03.... This would render a meaningful value and >>> explain the >>> buffer size of 4 uints at the same time! >> I had the same first impression , but Gerd hasn't changed this >> line : engine.cpp: >> >> inline scoreFlagT tte_ScoreFlag (transTableEntryT * tte) >> { return (tte->flags& 7); } >> >> Isn't it meant to be >> >> { return (tte->flags& 3); } > >My suggestion was probably wrong. My current feeling is that values > 3 > >simply denote cache misses - this I concluded from somewhat more recent > >crafty code, which includes some helpful comments. > >> Alex, i think your recent cvs commit *comments* are erroneous. >> The engine.cpp changes are not fixes to scidlet, >> but Scid's built-in engine, which is different. > >The comments are OK. The engine.cpp code is used for both the internal >engine and scidlet. Gerd's original fix to "the pgn stability issue" >broke scidlet's build. > >> Gerd seems to be responsible > >Is this what you feel, Gerd? :-) > >> for some quite detailed >> technical programming. Perhaps he should have CVS write >> permissions ?? That way he can fix all his bugs > >lol. > >> easily enough ;> > >Do agree, nevertheless. > >Cheers, >Joost. > >> Steve > > >---------------------------------------------------------------------------- >-- >Learn how Oracle Real Application Clusters (RAC) One Node allows >customers >to consolidate database storage, standardize their database >environment, >and, >should the need arise, upgrade to a full multi-node Oracle RAC database > >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Scid-users mailing list >Scid-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/scid-users > > >------------------------------------------------------------------------------ >Learn how Oracle Real Application Clusters (RAC) One Node allows >customers >to consolidate database storage, standardize their database >environment, and, >should the need arise, upgrade to a full multi-node Oracle RAC database > >without downtime or disruption >http://p.sf.net/sfu/oracle-sfdevnl >_______________________________________________ >Scid-users mailing list >Scid-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/scid-users
Good morning! Concerning the engine: Steve points to a valid issue. Scid has actually 2 engines. One internally, that is used for move suggestions and Scidlet, that can be seen as a real engine. On discussing engine code one must not forget the internal engine, which seems vital. In this regard, Steve is correct that my cvs comment was not complete. Cu Alexander -- Kind regards, Alexander Wagner ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users