Solved it. It had to do with a function that I was calling from HandleGlkEvent (which is why it affected everything I did).
I didn’t see the problem because the compiler didn’t give me an error on the function being missing but the VM choked because it didn’t exist.
This relates to my other thread about routine names (Inform6: Object routine names and non-object routine names) so I’ll look there for further discussion.