All the view functions crash when called from a procedure set as the open file hook. It might not make sense to use those functions there, but they still shouldn't crash. Mine was calling a helper function that was using views.
Is there a place to post zipped crash examples? I am running across quite a few.