I've been trying to track down a Thayer's Quest crash but the debugger has been flagging the wrong location. It has flagged this spot as the source of the problem:

However, after pulling out my hair, I finally found that the problem is actually here:

Frustrating.. but at least I found it and can move on.