This error message isn't one of mine although no doubt the bug is... It sounds like some code is modifying memory that it shouldn't. This is usually caused by a buffer overflow. You could try increasing the max fleet and ship numbers in the numbers.ini.