[0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
[0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
So far I haven't found a reliable way to reproduce other than to play for 5-20 minutes. With the same saves / mods on Windows, it seems to behave totally fine. It doesn't seem to matter what I do, it eventually segfaults.
- Attachments
-
- factorio-current.log
- (3.28 MiB) Downloaded 103 times
Re: [0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
Post the save please.
Re: [0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
Save attached, sorry about that. I was pretty sure I had.
- Attachments
-
- _autosave2.zip
- (17.3 MiB) Downloaded 98 times
Re: [0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
Thanks for the report however until someone finds a way to reproduce this every time there's nothing I can do. I suspect there's some fault in the Mac compiler when it comes to building Lua since I've never seen or heard of this on Windows but I can't verify because nobody is able to reproduce it.
If you want to get ahold of me I'm almost always on Discord.
- TruePikachu
- Filter Inserter
- Posts: 978
- Joined: Sat Apr 09, 2016 8:39 pm
- Contact:
Re: [0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
I can actually state that there might be a bug in the Lua compile/link steps for Windows as well. I was doing some disassembly of mod-code-related functions (mainly related to `LuaHelper::packageRequire`), and in some inlined Lua functions (IIRC they were related to getting function upvalues) there were references to the wrong register in an unexecuted code path that would have caused a segfault. Notably, I saw a correct reference in one instance of inlining the function and an incorrect reference probably one Factorio-source-code-line down.Rseding91 wrote: Mon Jan 07, 2019 4:19 am Thanks for the report however until someone finds a way to reproduce this every time there's nothing I can do. I suspect there's some fault in the Mac compiler when it comes to building Lua since I've never seen or heard of this on Windows but I can't verify because nobody is able to reproduce it.
Re: [0.16.51][mac] Crash: "LuaContext::clearTemporaryStateIncremental()"
Well, until someone knows of a way to reproduce this I can't verify anything. Lua is linked no differently than any of the other parts of Factorio.
If you want to get ahold of me I'm almost always on Discord.