Yes my stack slots are set to nil. Wim Couwenberg wrote:
do you use lua_checkstack to make sure that there is room enough on the stack? Are the collected stack slots set to nil?