Feb. 3, 2010

I finally fixed a crash bug that affected the engine on Windows when run in UCI mode. Turns out I was allocating aligned memory with _aligned_malloc but not using _aligned_free to free it. That works on Windows XP but not on Vista or Windows 7. Somehow I don't think it's an improvement to Windows to have working code (even if erroneous) start crashing.

Recently I've put some work into the Linux version but now I'm having some difficulty getting that to port to MacOS. Apple has decided not to implement unnamed sempahores, despite this being part of the POSIX standard. So I'm using pthread mutexes, which mostly works, but the optimized release build is crashing. Also some Linux changes also don't compile on back versions of gcc, because they use some new intrinsic functions, but I'm "fixing" that by just requiring a recent gcc.

The next release is delayed a bit by these issues.