Skip to content

Windows RC10 crash/freeze in lua51.dll

Reported here: https://forum.openmw.org/viewtopic.php?p=73830#p73830

Dump and logs: 4356346.rar

Call stack:

Click to expand
>	KERNELBASE.dll!RaiseException()	Unknown
 	lua51.dll!000007feee23a268()	Unknown
 	lua51.dll!000007feee239efc()	Unknown
 	lua51.dll!000007feee2401f8()	Unknown
 	lua51.dll!000007feee264fd0()	Unknown
 	lua51.dll!000007feee2656e4()	Unknown
 	lua51.dll!000007feee264d03()	Unknown
 	lua51.dll!000007feee248b3f()	Unknown
 	lua51.dll!000007feee2186a1()	Unknown
 	[Inline Frame] openmw.exe!sol::basic_table_core<0,sol::basic_reference<0>>::traverse_set_deep(int) Line 264	C++
 	[Inline Frame] openmw.exe!sol::basic_table_core<0,sol::basic_reference<0>>::traverse_set(std::string &&) Line 462	C++
 	[Inline Frame] openmw.exe!sol::table_proxy<sol::basic_table_core<0,sol::basic_reference<0>> &,std::tuple<std::string>>::tuple_set(std::integer_sequence<unsigned __int64,0>) Line 56	C++
 	[Inline Frame] openmw.exe!sol::table_proxy<sol::basic_table_core<0,sol::basic_reference<0>> &,std::tuple<std::string>>::set(sol::basic_object<sol::basic_reference<0>> &&) Line 88	C++
 	[Inline Frame] openmw.exe!sol::table_proxy<sol::basic_table_core<0,sol::basic_reference<0>> &,std::tuple<std::string>>::operator=(sol::basic_object<sol::basic_reference<0>> &&) Line 122	C++
 	openmw.exe!LuaUtil::LuaState::runInNewSandbox(const std::string & path, const std::string & namePrefix, const std::map<std::string,sol::basic_object<sol::basic_reference<0>>,std::less<std::string>,std::allocator<std::pair<std::string const ,sol::basic_object<sol::basic_reference<0>>>>> & packages, const sol::basic_object<sol::basic_reference<0>> & hiddenData) Line 228	C++
 	openmw.exe!LuaUtil::ScriptsContainer::addScript(int scriptId=4, std::optional<sol::basic_function<sol::basic_reference<0>,0>> & onInit={...}, std::optional<sol::basic_function<sol::basic_reference<0>,0>> & onLoad={...}) Line 78	C++
 	openmw.exe!LuaUtil::ScriptsContainer::load(const ESM::LuaScripts & data) Line 384	C++
 	openmw.exe!MWLua::LuaManager::loadLocalScripts(const MWWorld::Ptr & ptr={...}, const ESM::LuaScripts & data={...}) Line 513	C++
 	openmw.exe!MWWorld::LiveCellRefBase::loadImp(const ESM::ObjectState & state={...}) Line 60	C++
 	openmw.exe!`anonymous namespace'::readReferenceCollection<ESM::NpcState,ESM::NPC>(ESM::ESMReader & reader, MWWorld::CellRefList<ESM::NPC> & collection, const ESM::CellRef & cref, const std::map<int,int,std::less<int>,std::allocator<std::pair<int const ,int>>> & contentFileMap, MWWorld::CellStore * cellstore=0x00000000a5c3edd0) Line 205	C++
 	openmw.exe!MWWorld::CellStore::readReferences(ESM::ESMReader & reader={...}, const std::map<int,int,std::less<int>,std::allocator<std::pair<int const ,int>>> & contentFileMap={...}, MWWorld::CellStore::GetCellStoreCallback * callback=0x000000000028e990) Line 944	C++
 	openmw.exe!MWWorld::Cells::readRecord(ESM::ESMReader & reader={...}, unsigned int type=2682016, const std::map<int,int,std::less<int>,std::allocator<std::pair<int const ,int>>> & contentFileMap={...}) Line 473	C++
 	openmw.exe!MWWorld::World::readRecord(ESM::ESMReader & reader={...}, unsigned int type=1096045379, const std::map<int,int,std::less<int>,std::allocator<std::pair<int const ,int>>> & contentFileMap={...}) Line 405	C++
 	openmw.exe!MWState::StateManager::loadGame(const MWState::Character * character=0x0000000002663630, const std::string & filepath) Line 512	C++
 	openmw.exe!MWGui::SaveGameDialog::accept(bool reallySure) Line 302	C++
 	[Inline Frame] openmw.exe!std::_Func_class<void>::operator()() Line 869	C++
 	[Inline Frame] openmw.exe!MyGUI::delegates::DelegateFunction<>::invoke() Line 73	C++
 	openmw.exe!MyGUI::delegates::MultiDelegate<>::operator()() Line 282	C++
 	[Inline Frame] MyGUIEngine.dll!std::_Func_class<void,MyGUI::Widget *>::operator()(MyGUI::Widget * <_Args_0>=0x000000001d7d7330) Line 986	C++
 	[Inline Frame] MyGUIEngine.dll!MyGUI::delegates::DelegateFunction<MyGUI::Widget *>::invoke(MyGUI::Widget *) Line 73	C++
 	MyGUIEngine.dll!MyGUI::delegates::MultiDelegate<MyGUI::Widget *>::operator()(MyGUI::Widget * <args_0>=0x000000001d7d7330) Line 282	C++
 	MyGUIEngine.dll!MyGUI::InputManager::injectMouseRelease(int _absx=761, int _absy=476, MyGUI::MouseButton _id) Line 335	C++
 	openmw.exe!MWInput::MouseManager::mouseReleased(const SDL_MouseButtonEvent & arg={...}, unsigned char id) Line 127	C++
 	openmw.exe!SDLUtil::InputWrapper::capture(bool windowEventsOnly) Line 97	C++
 	openmw.exe!MWInput::InputManager::update(float dt, bool disableControls, bool disableEvents) Line 71	C++
 	openmw.exe!OMW::Engine::frame(float frametime=8.193e-39#DEN) Line 316	C++
 	openmw.exe!OMW::Engine::go() Line 1103	C++
 	openmw.exe!runApplication(int argc=1, char * * argv=0x00000000003e3060) Line 226	C++
 	openmw.exe!wrapApplication(int(*)(int, char * *) innerApplication=0x000000013f2dda99, int argc=1, char * * argv=0x00000000003e3060, const std::string & appName={...}, bool autoSetupLogging=false) Line 326	C++
 	openmw.exe!main(int argc, char * * argv) Line 238	C++
 	[Inline Frame] openmw.exe!invoke_main() Line 78	C++
 	openmw.exe!__scrt_common_main_seh() Line 288	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Exception details:

Unhandled exception at 0x000007FEFD13B87D (KERNELBASE.dll) in openmw-crash.dmp: 0xE24C4A04.

This possibly means nothing if the freeze catcher created the dump when code was 'running'.

Questions for the reporter

Describe the issue as detailed as you can. Below is a list of questions that should be answered in the description (if they apply).

  • Is the problem OpenMW specific or does it also happen in vanilla Morrowind?
  • What is your operating system?
  • What version of OpenMW are you using? If you used a bleeding edge build, state the exact revision used.
  • What version of Morrowind are you using (i.e. retail CD or Steam)? What addons (Tribunal, Bloodmoon) do you have installed? What language is your Morrowind install?
  • Do you use any mods? If so, does the problem also occur in a clean vanilla install without any mods?
  • What are the exact steps to reproduce the problem?
  • What did you expect to happen? What happened instead?
  • Are there any error messages in your openmw.log file? If you're not an OpenMW team member, it's best to upload it.
  • What settings do you use? If you're not an OpenMW team member, it's best to upload your settings.cfg.
  • Where is the in-game location this problem can be observed? Avoid vague statements such as "west of town X". Instead, open the console (` key by default, the key above Tab), click on the problematic object, then use the betacomment (bc) instruction to get useful information about the object that you can copy and paste into the bugreport: