Search found 208 matches

by Fulvio
Sat Jan 02, 2021 1:25 pm
Forum: Computer Chess Club: General Topics
Topic: OM GOLEM database with 30 mio games
Replies: 15
Views: 1071

Re: OM GOLEM database with 30 mio games

Dann Corbit wrote:
Fri Jan 01, 2021 5:05 pm
There are other limits as well like the number of players. (Unless that has been repaired).
Yes, the current maximum number of players is 268 millions (2^28).
by Fulvio
Fri Jan 01, 2021 4:51 pm
Forum: Computer Chess Club: General Topics
Topic: OM GOLEM database with 30 mio games
Replies: 15
Views: 1071

Re: OM GOLEM database with 30 mio games

Ozymandias wrote:
Fri Jan 01, 2021 3:51 pm
This limit is still there:
Scid only allocates three bytes for some data fields. This means si4's maximum number of games is 16,777,214.
si4 is the SCID index version 4 file.
That limit doesn't apply to PGNs or in memory databases like the "clipbase".
by Fulvio
Fri Jan 01, 2021 1:01 pm
Forum: Computer Chess Club: General Topics
Topic: OM GOLEM database with 30 mio games
Replies: 15
Views: 1071

Re: OM GOLEM database with 30 mio games

Dann Corbit wrote:
Thu Dec 31, 2020 1:28 am
Scid can never hold that many games.
SCID's "clipbase" can easily hold 30 million games, probably 8GB of RAM are enough.
by Fulvio
Sun Dec 20, 2020 8:50 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

- the situation should be "reachable". Just to avoid further confusion, do we all agree that GUIs like Chessbase have been running smoothly for decades without worrying about that? Before starting to solve the "problem", it wouldn't be better to find at least one position of that type that crash th...
by Fulvio
Sun Dec 20, 2020 8:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

Note that is entirely the same as the Stockfish/GUI case. ld is supposed to process valid .o files (produced by a c-compiler or perhaps assembler). So it would be "within specs" if it does just that and crashes on everything else. Not even close. Nobody ever claimed that it's ok for a program like ...
by Fulvio
Sat Dec 19, 2020 7:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

it accepts rnbqkbnr/ppppppN1/3N1N2/8/8/8/PPPPPPP1/R1BQKB1R b - - 0 1 That's mate and it is also considered valid by Stockfish. This is what it is considered invalid (plus max 16 pieces for each side): https://github.com/benini/scid/blob/github/src/position.cpp#L1580 If you want to exclude positions...
by Fulvio
Sat Dec 19, 2020 4:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

It also depends on the language you can/want use. c++ isn't so good for internet development, but I can point you to the SCID's code: https://github.com/benini/scid/blob/github/src/position.cpp#L2665 https://github.com/benini/scid/blob/github/gtest/test_position.cpp#L270 That doesn't test semantics...
by Fulvio
Sat Dec 19, 2020 2:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

You have not answered my question. I repeat. Do you think it would be ok for ld to crash when encountering an unknown file format? A simple yes or no is sufficient. Your question has been answered many times: Stockfish requires valid input, otherwise it's behavior is undefined. I can post another l...
by Fulvio
Sat Dec 19, 2020 2:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

It also appears to be rudimentary, e.g. doesn't test if both sides are in check: https://github.com/ornicar/scalachess/blob/master/src/main/scala/variant/Variant.scala#L172 It also depends on the language you can/want use. c++ isn't so good for internet development, but I can point you to the SCID'...
by Fulvio
Sat Dec 19, 2020 1:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Position Causes Stockfish and Komodo To Crash
Replies: 135
Views: 10616

Re: Position Causes Stockfish and Komodo To Crash

Good engineering is not about right and wrong, good or evil; it is about building things that works as expected. Exactly. And regardless of what you say, people do not expect software to crash on invalid input, except in some very specific circumstances. People? The product should meet the specific...