I have a save file at about turn 753 where I research the Castle tech.
Once I click the button - all of my level 3-5 cities automatically create castles
I can click the turn button 1 more time after this and then I can no longer end a turn.
you can access a copy of the 2 turns before crash file as well as crash save from here:
https://docs.google.com/leaf?id=0B5CPi4F4rnzoMzdjNDhkZGEtMDhlNy00MTBlLTllMGMtMjI0ODNjYzJkMjRk&hl=en
This is the link to the debug file
https://docs.google.com/leaf?id=0B5CPi4F4rnzoNzVjMjQ3NjEtY2U4YS00MjAyLTliZDktMDhlNDVjZDc0M2Zl&hl=en