[16.2] Crash: redmew MP Server on: "ElectricSubNetwork::decrementLampCounts"

This subforum contains all the issues which we already resolved.
Triston
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Dec 14, 2017 4:00 pm
Contact:

[16.2] Crash: redmew MP Server on: "ElectricSubNetwork::decrementLampCounts"

Post by Triston »

Good day -

The redmew Multiplayer server was running a Vanilla, no mods load, looks about 7 hours old, and crashed.

Server is a linux system.

Game crashes even when I downloaded the autosave locally into a Windows 10 environment.

Attached is the save file, most relevant code line seems to be
167.058 Loading script.dat: 175 bytes.
167.060 Checksum for script C:/Users/i2500k/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-6zv5gs\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-6zv5gs\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-6zv5gs\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-6zv5gs\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-6zv5gs\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-6zv5gs\src\energy\electricsubnetwork.cpp (631): ElectricSubNetwork::decrementLampCounts
c:\cygwin64\tmp\factorio-6zv5gs\src\energy\electricsubnetwork.cpp (581): ElectricSubNetwork::removeConnectedEntity
c:\cygwin64\tmp\factorio-6zv5gs\src\energy\electricenergysource.cpp (211): ElectricEnergySource::disconnectNetwork
c:\cygwin64\tmp\factorio-6zv5gs\src\entity\electricpole.cpp (1086): ElectricPole::disconnectEnergySources
c:\cygwin64\tmp\factorio-6zv5gs\src\entity\electricpole.cpp (391): ElectricPole::onDestroy
c:\cygwin64\tmp\factorio-6zv5gs\src\entity\entity.cpp (276): Entity::forceDestroy
c:\cygwin64\tmp\factorio-6zv5gs\src\entity\entity.cpp (812): Entity::mine
c:\cygwin64\tmp\factorio-6zv5gs\src\entity\constructionrobot.cpp (537): ConstructionRobot::update
c:\cygwin64\tmp\factorio-6zv5gs\src\surface\chunk.cpp (575): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-6zv5gs\src\surface\chunk.cpp (624): Chunk::updateEntities
c:\cygwin64\tmp\factorio-6zv5gs\src\surface\surface.cpp (1174): Surface::update
c:\cygwin64\tmp\factorio-6zv5gs\src\map\map.cpp (1222): Map::update
c:\cygwin64\tmp\factorio-6zv5gs\src\game.cpp (153): Game::update
c:\cygwin64\tmp\factorio-6zv5gs\src\scenario\scenario.cpp (822): Scenario::update
c:\cygwin64\tmp\factorio-6zv5gs\src\mainloop.cpp (982): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-6zv5gs\src\mainloop.cpp (849): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-6zv5gs\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,ClientRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __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: 00007FFA9FA81FE4)
00007FFA9FA81FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAA260EF91)
00007FFAA260EF91 (ntdll): (filename not available): RtlUserThreadStart
172.770 Error ElectricSubNetwork.cpp:631: Lamp EntityID (index 162) to decrement doesn't exist or is zero.
Logger::writeStacktrace skipped.
172.770 Error CrashHandler.cpp:128: Map tick at moment of crash: 1490633
172.770 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.
173.812 Creating crash dump.
173.916 CrashDump success
Hope this helps in finding bugs, if there is something different you need on these submissions, please let me know. I attempted to search for ElectricSubNetwork errors and this one appears unique, apologies if duplicate report.
Attachments
_autosave29.zip
ElectricSubNetwork.cpp:631: Lamp EntityID (index 162) to decrement doesn't exist or is zero.
(20.79 MiB) Downloaded 119 times
Loewchen
Global Moderator
Global Moderator
Posts: 9287
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.2] redmew MP Server Crash - Error ElectricSubNetwork

Post by Loewchen »

See as well: viewtopic.php?f=7&t=54775
Post the crash dump as well please.
Triston
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Dec 14, 2017 4:00 pm
Contact:

Re: [16.2] Crash: redmew MP Server on: "ElectricSubNetwork::decrementLampCounts"

Post by Triston »

Dump file attached. Save crashed ~2 seconds after loading
Attachments
factorio-dump-current.dmp
(549.71 KiB) Downloaded 124 times
Triston
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Dec 14, 2017 4:00 pm
Contact:

Re: [16.2] Crash: redmew MP Server on: "ElectricSubNetwork::decrementLampCounts"

Post by Triston »

Confirmed fixed in 16.3 Please close issue.
Post Reply

Return to “Resolved Problems and Bugs”