similar incident has happened to me as well:
When attempting to log into online kingdom the process stops and I get a "C++ visual library runtime error"
the city in question is human. Was in the process of constructing the second stone wall (the first/inner stone wall was already completed), a few sections had finished being built and then no further sections were being constructed despite having more then sufficient resources. Attempted to re-log to see if that would solve the issue/finish the construction and that was when DoF.exe started crashing. Now unable to log into said city at all.