Mark Tolley wrote: > After experimenting a bit I stripped all my code down to just > > lua_State *L = luaL_newstate(); > lua_pushliteral(L, "literal"); > lua_error(L); > > and this is still causing a crash. Well, where do you catch the error? You can choose between lua_pcall or C++ try/catch, but you really need to use one of them. An uncaught exception will terminate the process. --Mike