Jump to content

Function call failed: return value was -100010 (Logic error in code)


Rafael.arom
 Share

Recommended Posts

Function call failed: return value was -100010 (Logic error in code)
Location: wdbg_sym.cpp:987 (dump_sym_base_type)

Call stack:

While generating an error report, we encountered a second problem. Please be sure to report both this and the subsequent error messages.
errno = 13 (Insufficient access rights to open file)
OS error = 0 (no error code was set)

Function call failed: return value was -100010 (Logic error in code)
Location: wdbg_sym.cpp:987 (dump_sym_base_type)

Call stack:

While generating an error report, we encountered a second problem. Please be sure to report both this and the subsequent error messages.
errno = 13 (Insufficient access rights to open file)
OS error = 0 (no error code was set)
Much to our regret we must report the program has encountered an error.

Please let us know at https://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.
You may find paths to these files at https://trac.wildfiregames.com/wiki/GameDataPaths

Details: unhandled exception (Breakpoint)

Location: unknown:0 (?)

Call stack:

(error while dumping stack: No stack frames found)
errno = 13 (Insufficient access rights to open file)
OS error = 126 (No se puede encontrar el módulo especificado.)
 

crashlog.dmp crashlog.txt

Edited by Rafael.arom
Files attached
Link to comment
Share on other sites

Hello @Rafael.arom

Thanks for the report.

It seems the game does not have the permission to create certain files. Could you check your antivirus software?

>	pyrogenesis.exe!CreateDirectories(const Path & path, unsigned int mode, bool breakpoint) Line 157	C++
 	pyrogenesis.exe!CreateDirectories(const Path & path, unsigned int mode, bool breakpoint) Line 150	C++
 	pyrogenesis.exe!createDateIndexSubdirectory(const Path & parentDir) Line 199	C++
 	pyrogenesis.exe!CReplayLogger::StartGame(JS::MutableHandle<JS::Value> attribs) Line 84	C++
 	pyrogenesis.exe!CGame::StartGame(JS::MutableHandle<JS::Value> attribs, const std::string & savedState) Line 378	C++
 	pyrogenesis.exe!JSI_Game::StartGame(const ScriptInterface & guiInterface, JS::Handle<JS::Value> attribs, int playerID, bool storeReplay) Line 59	C++
 	[Inline Frame] pyrogenesis.exe!std::_C__Invoker_functor::_Call(void(*)(const ScriptInterface &, JS::Handle<JS::Value>, int, bool) &&) Line 330	C++
 	[Inline Frame] pyrogenesis.exe!std::_C_invoke(void(*)(const ScriptInterface &, JS::Handle<JS::Value>, int, bool) &&) Line 330	C++
 	[Inline Frame] pyrogenesis.exe!std::_Apply_impl(void(*)(const ScriptInterface &, JS::Handle<JS::Value>, int, bool) &&) Line 1233	C++
 	[Inline Frame] pyrogenesis.exe!std::apply(void(*)(const ScriptInterface &, JS::Handle<JS::Value>, int, bool) &&) Line 1241	C++
 	[Inline Frame] pyrogenesis.exe!ScriptFunction::call(void *) Line 195	C++
 	pyrogenesis.exe!ScriptFunction::ToJSNative<&JSI_Game::StartGame,0>(JSContext * cx, unsigned int argc, JS::Value * vp) Line 336	C++
 	mozjs78-ps-release.dll!js::InternalCallOrConstruct(JSContext * cx, const JS::CallArgs & args, js::MaybeConstruct construct, js::CallReason reason) Line 585	C++
 	mozjs78-ps-release.dll!InternalCall(JSContext * cx, const js::AnyInvokeArgs & args, js::CallReason reason) Line 648	C++
 	mozjs78-ps-release.dll!js::CallFromStack(JSContext * cx, const JS::CallArgs & args) Line 652	C++
 	mozjs78-ps-release.dll!js::jit::DoCallFallback(JSContext * cx, js::jit::BaselineFrame * frame, js::jit::ICCall_Fallback * stub, unsigned int argc, JS::Value * vp, JS::MutableHandle<JS::Value>) Line 0	C++
 	0ede269d()	Unknown
 	[Frames below may be incorrect and/or missing]	
 	mozjs78-ps-release.dll!js::jit::EnterBaselineInterpreterAtBranch(JSContext * cx, js::InterpreterFrame * fp, unsigned char * pc) Line 187	C++
 	mozjs78-ps-release.dll!Interpret(JSContext * cx, js::RunState & state) Line 2222	C++
 	mozjs78-ps-release.dll!js::RunScript(JSContext * cx, js::RunState & state) Line 465	C++
 	mozjs78-ps-release.dll!js::InternalCallOrConstruct(JSContext * cx, const JS::CallArgs & args, js::MaybeConstruct construct, js::CallReason reason) Line 620	C++
 	mozjs78-ps-release.dll!InternalCall(JSContext * cx, const js::AnyInvokeArgs & args, js::CallReason reason) Line 648	C++
 	mozjs78-ps-release.dll!js::Call(JSContext * cx, JS::Handle<JS::Value> fval, JS::Handle<JS::Value> thisv, const js::AnyInvokeArgs & args, JS::MutableHandle<JS::Value> rval, js::CallReason reason) Line 665	C++
 	mozjs78-ps-release.dll!js::jit::InvokeFunction(JSContext * cx, JS::Handle<JSObject *> obj, bool argc, bool argv, unsigned int) Line 269	C++
 	mozjs78-ps-release.dll!js::jit::InvokeFromInterpreterStub(JSContext * cx, js::jit::InterpreterStubExitFrameLayout * frame) Line 289	C++
 	0ede0dda()	Unknown
 	mozjs78-ps-release.dll!js::jit::MaybeEnterJit(JSContext * cx, js::RunState & state) Line 196	C++
 	mozjs78-ps-release.dll!js::RunScript(JSContext * cx, js::RunState & state) Line 450	C++
 	mozjs78-ps-release.dll!js::InternalCallOrConstruct(JSContext * cx, const JS::CallArgs & args, js::MaybeConstruct construct, js::CallReason reason) Line 620	C++
 	mozjs78-ps-release.dll!InternalCall(JSContext * cx, const js::AnyInvokeArgs & args, js::CallReason reason) Line 648	C++
 	mozjs78-ps-release.dll!js::Call(JSContext * cx, JS::Handle<JS::Value> fval, JS::Handle<JS::Value> thisv, const js::AnyInvokeArgs & args, JS::MutableHandle<JS::Value> rval, js::CallReason reason) Line 665	C++
 	mozjs78-ps-release.dll!JS_CallFunctionValue(JSContext * cx, JS::Handle<JSObject *> obj, JS::Handle<JS::Value> fval, const JS::HandleValueArray & args, JS::MutableHandle<JS::Value> rval) Line 2777	C++
 	pyrogenesis.exe!IGUIObject::ScriptEventWithReturn(const CStr8 & eventName, const JS::HandleValueArray & paramData) Line 417	C++
 	[Inline Frame] pyrogenesis.exe!IGUIObject::ScriptEventWithReturn(const CStr8 &) Line 398	C++
 	[Inline Frame] pyrogenesis.exe!IGUIObject::ScriptEvent(const CStr8 &) Line 388	C++
 	pyrogenesis.exe!IGUIObject::SendEvent(EGUIMessageType type, const CStr8 & eventName) Line 352	C++
 	pyrogenesis.exe!IGUIButtonBehavior::HandleMessage(SGUIMessage & Message) Line 100	C++
 	pyrogenesis.exe!CButton::HandleMessage(SGUIMessage & Message) Line 80	C++
 	pyrogenesis.exe!IGUIObject::SendMouseEvent(EGUIMessageType type, const CStr8 & eventName) Line 366	C++
 	pyrogenesis.exe!CGUI::HandleEvent(const SDL_Event_ * ev) Line 210	C++
 	pyrogenesis.exe!CGUIManager::HandleEvent(const SDL_Event_ * ev) Line 338	C++
 	pyrogenesis.exe!gui_handler(const SDL_Event_ * ev) Line 61	C++
 	pyrogenesis.exe!in_dispatch_event(const SDL_Event_ * ev) Line 63	C++
 	pyrogenesis.exe!PumpEvents() Line 264	C++
 	pyrogenesis.exe!Frame() Line 407	C++
 	pyrogenesis.exe!RunGameOrAtlas(int argc, const char * * argv) Line 687	C++
 	pyrogenesis.exe!SDL_main(int argc, char * * argv) Line 739	C++
 	pyrogenesis.exe!main_getcmdline() Line 74	C
 	[Inline Frame] pyrogenesis.exe!invoke_main() Line 90	C++
 	pyrogenesis.exe!__scrt_common_main_seh() Line 288	C++
 	pyrogenesis.exe!CallStartupWithinTryBlock() Line 363	C++
 	kernel32.dll!76e900f9()	Unknown
 	ntdll.dll!770b7bbe()	Unknown
 	ntdll.dll!770b7b8e()	Unknown

 

Link to comment
Share on other sites

@Rafael.arom In the call stack, replay logging is mentioned, and creation of a date index folder for it. This is usually located in C:\Users\JohnDoe\Documents\My Games\0ad\replays on Windows. Check for excessive subfolders present in the replays folder, directory permissions problem, an incorrect user profile configuration, a broken symlink (made with MKLINK /D), full hard drive, virus protection blocking creation of folders named like 2023-01-06_0001.

How many folders are present in the replays folder already? If there aren't any then it's more likely caused by a permissions problem or excessive virus protection. If there are folders there then it's more likely caused by excessive subfolders. You need to archive some of them elsewhere to make space for new replays to be stored.

If these ideas still don't solve the problem then you can join IRC when I'm online and get more specific troubleshooting help.

Edited by Norse_Harold
Link to comment
Share on other sites

2 hours ago, Stan&#x60; said:

Could you check your antivirus software?

If that tip is too brief for you: you could turn off your antivir temporarily to check if 0AD runs. If it does, you can add exceptions to your antivir for pyrogenisis.exe or the whole 0AD folder; if you don't know how, do an internet search for your antivir + add exception and you will find a guide.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...