MaxCarlson / StuckFish

A UCI chess engine, based on CPW Engine and StockFish.
2 stars 1 forks source link

assertion failed on StuckFish release x64.executable #4

Open yellow-panther opened 7 years ago

yellow-panther commented 7 years ago

rook masks size<> == kSquares , file slider attacks.cpp, line2 8

error indication that is visible every time

Indeed, StuckFish is still in its infancy;)))

MaxCarlson commented 7 years ago

Are you debugging? Assertions should be turned off otherwise. I may have turned them on, and if I did the version you're using likely has very poor performance. They're not meant to used in release versions unless you're debugging.

yellow-panther commented 7 years ago

Well , in this case I just made a double-click with the mouse on the x64 Release executable file of Stuckfish - nothing else. This is a simple test whether an engine is running generally, necessary .dlls are missung, or crashes immediately (.e.g 16 bit) because my i5 quad computer microarchitecture (Ivy-Bridge 22nm) does not support .BMi2 (at least Haswell feature) https://support.microsoft.com/en-us/help/896458/64-bit-versions-of-windows-do-not-support-16-bit-components-16-bit-pro https://en.wikipedia.org/wiki/Bit_Manipulation_Instruction_Sets

I am only a tester, not a programmer, but ChessGUI http://www.chess.hylogic.de/ creates automatically debug-files e.g. during a round robin tournament bezween engines - Arena http://www.playwitharena.com/ > just invoke debug by pressing functional key and save all data

Your current StuckFish includes both .dlls now - and only the black Windows console is opened itself - I will test this version maybe today.

yellow-panther commented 7 years ago

I forgot to tell you that F4 is the right functional key > Arena GUI

MaxCarlson commented 7 years ago

Ahh I see Lion is creating an error file and that's what it says during the game? If that's still present in the latest version let me know and I'll download it and try and recreate. If it's showing these errors in the arena f4 engine debug then I'll probably need to re design how my asserts are handled.

yellow-panther commented 7 years ago

I have deleted the PGN etc. files against Nemorino 3.04 , but Stuckfish 0.1.exe (current download version) has no such assertion errors-otherwise it could not be launched into a GUI like Arena or WinBoard (tick on option "UCI" please during the implementation of UCI-compatible engines like Stuckfish/Nemorino please)

2017-09-22 9:30 GMT+02:00 Maxwell Carlson notifications@github.com:

Ahh I see Lion is creating an error file and that's what it says during the game? If that's still present in the latest version let me know and I'll download it and try and recreate. If it's showing these errors in the arena f4 engine debug then I'll probably need to re design how my asserts are handled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MaxCarlson/StuckFish/issues/4#issuecomment-331372895, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ5qH_yRHOMF3b4eWcAce9lOUUA6TgjMks5sk2IcgaJpZM4PfM0u .