Reproducible crash when downgrading ghost entities (modded, save attached)

Things that has been reported already before.
zysnarch
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Jan 10, 2019 4:26 am
Contact:

Reproducible crash when downgrading ghost entities (modded, save attached)

Post by zysnarch »

Reproducible, see attached save file and follow these steps:

1. Load save file.
2. Create new upgrade planner (Alt+U)
3. Hold right-click for downgrade, select the ghost entities near player (the red circuit factory), and release.
4. Crash.

End of factorio-current.log:

Code: Select all

40025.081 Popped blueprint record (player-index: 0, ID: 98) from book (player-index: 0, ID: 65)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-bbkemg\src\fluid\fluidboxmanager.cpp (594): FluidBoxManager::addNormalFluidBoxesToLayout
c:\tmp\factorio-build-bbkemg\src\fluid\fluidboxmanager.cpp (542): FluidBoxManager::buildRecipeLayout
c:\tmp\factorio-build-bbkemg\src\entity\assemblingmachine.cpp (588): AssemblingMachine::setupFluidBoxesForSimulation
c:\tmp\factorio-build-bbkemg\src\entity\assemblingmachine.cpp (100): AssemblingMachine::fastReplaceSetup
c:\tmp\factorio-build-bbkemg\src\entity\entitywithhealth.cpp (191): EntityWithHealth::makeFastReplaceCopy
c:\tmp\factorio-build-bbkemg\src\upgradedata.cpp (604): UpgradeData::upgradeEntity
c:\tmp\factorio-build-bbkemg\src\upgradedata.cpp (415): UpgradeData::applyToArea
c:\tmp\factorio-build-bbkemg\src\gameactionhandler.cpp (4941): GameActionHandler::upgrade
c:\tmp\factorio-build-bbkemg\src\gameactionhandler.cpp (369): GameActionHandler::actionPerformed
c:\tmp\factorio-build-bbkemg\src\input\inputhandler.cpp (62): InputHandler::flushActions
c:\tmp\factorio-build-bbkemg\src\gameactionhandler.cpp (412): GameActionHandler::update
c:\tmp\factorio-build-bbkemg\src\mainloop.cpp (1343): MainLoop::gameUpdateStep
c:\tmp\factorio-build-bbkemg\src\mainloop.cpp (1203): MainLoop::gameUpdateLoop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\functional (15732480): std::_Func_impl_no_alloc<<lambda_6762a15ad4063ee41df05b87facfc57c>,void>::_Do_call
c:\tmp\factorio-build-bbkemg\src\util\workerthread.cpp (73): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *>,std::default_delete<std::tuple<void (__cdecl SoundLibrary::AsyncLoader::*)(void),SoundLibrary::AsyncLoader *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE41AC26AD)
00007FFE41AC26AD (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE43B2A9F8)
00007FFE43B2A9F8 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
129467.499 Error FluidBoxManager.cpp:594: requestedCount <= prototypes.size() was not true
129467.499 Error CrashHandler.cpp:641: Received 22
Logger::writeStacktrace skipped.
129467.499 Error CrashHandler.cpp:195: Map tick at moment of crash: 4363248
129467.558 Info CrashHandler.cpp:315: Executable CRC: 598517541
129467.558 Error Util.cpp:100: 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.
129472.377 Uploading log file
129473.925 Error CrashHandler.cpp:266: Heap validation: success.
129473.926 Creating crash dump.
Attachments
crash.zip
(6.16 MiB) Downloaded 42 times
zysnarch
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu Jan 10, 2019 4:26 am
Contact:

Re: Reproducible crash when downgrading ghost entities (modded, save attached)

Post by zysnarch »

Further context: specifically the entity causing the crash is the "Electronics assembling machine 2" with the "Advanced circuit substrate" recipe locked. The downgrade of this entity is "Electronics assembling machine 1", which is not capable of crafting this recipe, which I'm guessing is the cause of the crash.

The mods are Seablock Pack along with a handful of QoL mods that I think are irrelevant.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3063
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Reproducible crash when downgrading ghost entities (modded, save attached)

Post by boskid »

Marking this as a duplicate, this issue was fixed in 1.1.86 while your save file is from 1.1.85.
Post Reply

Return to “Duplicates”