Page 1 of 1

[Solved again] Logistics 0.16.3: Unexpected error

Posted: Sat Dec 30, 2017 3:49 pm
by Enidras
Hello.

I'm here to report a crash caused by the Logistics mod v 0.16.3.
It occurs with either the 0.16.8 or the 0.16.9 version of Factorio, and by either loading a save or generating a new map. The previous logistic mod version worked with the 0.16.8, i couldn't test with 0.16.9.

Here's the crash log, if it can help.

Code: Select all

183.991 Checksum for script C:/Users/Nicolas/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
 186.236 Error CrashHandler.cpp:286: Exception Code: c0000005, Address: 0x000000013fa6952e
ModuleBase: 0x000000013f620000, ImageSize: 012e5000, RelativeAddress: 0044952e
 186.236 Error CrashHandler.cpp:292: Access Violation: Read at address 0000000000000000
 186.236 Error CrashHandler.cpp:308: Exception Context:
rax=0000000000000000, rbx=0000000000000000, rcx=0000000000000000,
rdx=0000000000000000, rsi=0000000000000000, rdi=000000000e62f070,
rip=000000013fa6952e, rsp=000000000e62ee50, rbp=0000000000000000,
 r8=0000000000000000,  r9=0000000000000000, r10=0000000140566ca8,
r11=000000000e62f0e0, r12=00000000446d5380, r13=00000000447edef0,
r14=00000000448c4b08, r15=0000000000000001
 186.236 Crashed in E:\Jeux\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x000000013f620000 - 0x0000000140905000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-a5kdj3\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-a5kdj3\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-a5kdj3\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-a5kdj3\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-a5kdj3\src\util\crashhandler.cpp (334): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007767BC10)
000000007767BC10 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077880108)
0000000077880108 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077817958)
0000000077817958 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007782812D)
000000007782812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007781855F)
000000007781855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007784BCB8)
000000007784BCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-a5kdj3\src\logistics\logisticpointfilters.cpp (176): LogisticPointFilters::setLogisticFilter
c:\cygwin64\tmp\factorio-a5kdj3\src\logistics\logisticpoint.cpp (307): LogisticPoint::setLogisticFilter
c:\cygwin64\tmp\factorio-a5kdj3\src\logistics\logisticpoint.cpp (350): LogisticPoint::setLogisticFilters
c:\cygwin64\tmp\factorio-a5kdj3\src\entity\logisticcontainer.cpp (371): LogisticContainer::copyEntitySettings
c:\cygwin64\tmp\factorio-a5kdj3\src\blueprint\blueprintentities.cpp (284): BlueprintEntities::addEntity
c:\cygwin64\tmp\factorio-a5kdj3\src\blueprint\blueprintentities.cpp (363): BlueprintEntities::setupEntities
c:\cygwin64\tmp\factorio-a5kdj3\src\blueprint\blueprint.cpp (256): Blueprint::clone
c:\cygwin64\tmp\factorio-a5kdj3\src\blueprint\blueprintlibrary.cpp (584): BlueprintLibrary::applyTransferBlueprintData
c:\cygwin64\tmp\factorio-a5kdj3\src\gameactionhandler.cpp (3268): GameActionHandler::transferBlueprintData
c:\cygwin64\tmp\factorio-a5kdj3\src\gameactionhandler.cpp (263): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-a5kdj3\src\input\inputhandler.cpp (54): InputHandler::flushActions
c:\cygwin64\tmp\factorio-a5kdj3\src\gameactionhandler.cpp (305): GameActionHandler::update
c:\cygwin64\tmp\factorio-a5kdj3\src\mainloop.cpp (979): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-a5kdj3\src\mainloop.cpp (852): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-a5kdj3\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000775F59CD)
00000000775F59CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007782A561)
000000007782A561 (ntdll): (filename not available): RtlUserThreadStart
 188.185 Error CrashHandler.cpp:128: Map tick at moment of crash: 2
 188.185 Error Util.cpp:67: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
 190.849 Creating crash dump.
 190.945 CrashDump success
Attached WeTransfer files::
-Save "Angelbobv0.16", not working as long as bob's logistics is enabled
-Save "Angelbobv0.16b", working with or without bob's logistics
-Crash log with most mods enabled incl bob's logistics, on loading save "Angelbobv0.16"
-Crash log with only bob's logistics and bob's function library on new game

Factorio Bug Reports submission

Thanks for this awesome mod!

Edit: Indeed, the problem was due the new filter in requester chests not updating in existing blueprints, it will be fixed in the next game update.
If you have blueprints with modded logistic chests, you first have to deactivate the logistics mod so that your save updates without crashing, save-quit and reload with the mod enabled. Afaik this concern saves dating before 0.16.9
Thanks to the devs!

Re: [Crash Report] Logistics 0.16.3: Unexpected error

Posted: Sat Dec 30, 2017 8:00 pm
by bobingabout
there's a 0.16.10 now too.

I'll take a look, but if 0.16.2 of Logistics worked, and 0.16.3 doesn't, I can't really see anything that changed that should affect this.
0.16.1 WON'T work with 0.16.7 or newer anyway.

Re: [Crash Report] Logistics 0.16.3: Unexpected error

Posted: Sat Dec 30, 2017 8:08 pm
by bobingabout
and now a 0.16.11.

I haven't seen the error yet, but then I've just been updating things.

Re: [Crash Report] Logistics 0.16.3: Unexpected error

Posted: Sun Dec 31, 2017 1:55 am
by Enidras
I deleted the mod and reinstalled it, it seems to work now, also with the 0.16.10.
Maybe the download corrupted it when i updated it first...

Anyway sorry for the inconvenience and thanks for the great mods!

Re: [Crash Report] Logistics 0.16.3: Unexpected error

Posted: Sun Dec 31, 2017 8:23 pm
by bobingabout
Enidras wrote:I deleted the mod and reinstalled it, it seems to work now, also with the 0.16.10.
Maybe the download corrupted it when i updated it first...

Anyway sorry for the inconvenience and thanks for the great mods!
I have heard that happen before.

Re: [Solved] Logistics 0.16.3: Unexpected error

Posted: Tue Jan 02, 2018 6:10 pm
by Enidras
Hi again.

Well i was wrong, the problem is not solved. For some reason, i can load my current save with the logistics mod enabled, but i can't load any other save, neither even create a new game. The saves/generation loads but the game crashes like 1 second after i spawn.

However, i'm starting to think the problem is more related to the game code than yours, i'll also submit the problem to the Factorio team.

Thanks, and happy new year :)

Re: [Solved again] Logistics 0.16.3: Unexpected error

Posted: Wed Jan 03, 2018 3:05 am
by bobingabout
I just did a test to make sure.

new game, everything loads and doesn't crash.

obviously my options in a new game are limited, the Shift + E to configure an inserter works as expected, however there is an issue with using the pre-place GUI, it seems to want to assume that the drop location is of the orientation, and doesn't get rotated as it would if you used the editing GUI, so you can create near inserters by reversing the pickup and drop locations, etc.