I'm also trying to do that quest but keep crashing all the time outside of Riften. Two times I crashed right before killing the dragon, and once while trying to find a way into the city while the guards were busy fighting it. Very annoying. I can't play like this.
Yeah, sounds pretty much the same as me, 90% of the crashes I've had are in or around Riften, specifically though, the Ratways give me a mostly repeatable crash.