Ok i am debugging... in function int LANES_API luaopen_lanes_core( lua_State* L) the line lua_getfield( L, LUA_REGISTRYINDEX, CONFIG_REGKEY); // M LG_configure() settings crahes. Just to let you know. I will continue bug hunting .... :) Ulrich.