I found a bug in frenzee.
It happens in about 1/20 games, and it will cause a crash.
The error is in collecting the PV.
When extending the search the depth might temporarely go below 0, and if at that position there is a PV move, then pv[depth].move=themove will cause a crash
Usually this happens in winning positions (argh).
I could use a good suggestion on how to fix this.
Building the PV from the hash is a possibility, are there others?
Thanks,
-S.
