title: warning: check_safe_call: could not restore current frame
body: <p>What does the error <code>warning: check_safe_call: could not restore current frame</code> usually indicate? I've read in other places that it's a memory issue. Is it always a memory problem?</p>
  
  <p>I'm getting this error on the device (not the simulator). <code>NSZombieEnabled</code> shows nothing. If I Build and Debug, my debugger window shows nothing. The peak memory isn't that high (3MB). It just crashes with the same error every time after scrolling around a map.</p>
  
  <p>Any ideas how to debug this? Thanks.</p>
  
  <p><strong>Edit:</strong> I added the reason for my crash in an answer below (creating too many SQLite connections). If anyone else gets this error and finds their solution, please post it below. It seems like an error message with multiple causes.</p>