Moderator: Andres Valverde
Alessandro Scotti wrote:Hi Roger,
I've checked the source file and at a first glance it seems it could be a buffer overrun problem. There is an easy way to tell. I have increased the buffer by a good amount and recompiled the program:
http://www.ascotti.org/programming/chess/zip/winboard_roger.zip
Can you see if this solves your problem? If not, I need to know the size of your INI file to start looking in the proper places. (If you can just measure the size of the "firstchessprogram" part and it exceeds 20000 characters then it's probably the above overflow.)
Hi Roger,
I've checked the source file and at a first glance it seems it could be a buffer overrun problem. There is an easy way to tell. I have increased the buffer by a good amount and recompiled the program:
http://www.ascotti.org/programming/ches ... _roger.zip
Can you see if this solves your problem? If not, I need to know the size of your INI file to start looking in the proper places. (If you can just measure the size of the "firstchessprogram" part and it exceeds 20000 characters then it's probably the above overflow.)
Hello Alessandro,
Fantastic service!
I will check this when I get home. Perhaps Guenther could have a look at it in the meantime....
Whether it works or not, your willingness to compile something this quickly is commendable.
Later.
Guenther Simon wrote:In my test ini file there was always a corruption after a bit more
than 20.000 chars (incl. spaces) in a section part of the engine entries.
I see though that the corruption now takes place after around 30.000
chars.
May be with a 40.000 limit even the nerdest WB freaks will be happy
for a while
...
(Soon I will start Kiwi 0.6a-beta in my new test environment)
Alessandro Scotti wrote:Guenther Simon wrote:In my test ini file there was always a corruption after a bit more
than 20.000 chars (incl. spaces) in a section part of the engine entries.
I see though that the corruption now takes place after around 30.000
chars.
May be with a 40.000 limit even the nerdest WB freaks will be happy
for a while
...
(Soon I will start Kiwi 0.6a-beta in my new test environment)
Yup, 30000 is the new limit I set, but no problem at all to recompile with 40000!
I will put Kiwi 0.6 final on the site in a few hours, I hope it makes it for the tournament, otherwise 0.6 beta will do just fine!
Hello Alessandro,
I still seem to have a problem. The statistics for the engine part of my ini file is 26052 characters. The details are below. I am still having the corruption right about the R part of the ini file (Ruffian).
Perhaps I need a really massive buffer limit?
Thanks for your efforts...
Very Happy
Awaiting the 60,000 limit which will make this nerdy Winboard freak happy.
Later.
Different words/items counted: 651
Total Words: 3243
Total Punctuation: 1043
Total Other Text: 775
Total Characters: 26052
Total Paragraphs: 344
c:\program files\winboard
c:\progra~1\winboa~1\
Dan Honeycutt wrote:Hi Roger
I knew you were an engine freak, but this goes beyond what I could have imagined. I wonder if "chess engine addiction" is a recognized medical condition.
Best
Dan H.
Roger Brown wrote:I know it is so wrong but I cannot help myself. I just have to have them. Can you suggest how I may be helped?
Dann Corbit wrote:I collect the pro engines.
I collect the amateur engines.
I guess that this hobby is a bit less addictive than crack cocaine, and also not quite as expensive. Or do I have it reversed?
Here is an actual SAT question:
"A moth is to a flame as:"
A. Dann Corbit is to a chess engine with source code
B. Dann Corbit is to a chess engine with source code
C. Dann Corbit is to a chess engine with source code
D. Dann Corbit is to a chess engine with source code
They should all be so easy.
Return to Winboard and related Topics
Users browsing this forum: No registered users and 25 guests