[0.16.7] Crash in LightRenderer::loadLights

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
AlcatrazIV
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Dec 27, 2017 9:53 pm
Contact:

[0.16.7] Crash in LightRenderer::loadLights

Post by AlcatrazIV »

Was placing belts (by hand) when the game crashed. Full log, last autosave, and zipped mods directory are attached.

I continued playing this save. About thirty minutes in, and it didn't crash again so far, so this seems to be a sporadic issue.

Stacktrace:

Code: Select all

16081.422 Error CrashHandler.cpp:419: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-azpuox\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-azpuox\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-azpuox\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-azpuox\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-azpuox\src\util\crashhandler.cpp (423): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (299): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF655E87934)
00007FF655E87934 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0EFCA07D)
00007FFB0EFCA07D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0EF39C58)
00007FFB0EF39C58 (ntdll): (filename not available): RtlLookupFunctionEntry
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0EFC90FE)
00007FFB0EFC90FE (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-azpuox\src\graphics\lightrenderer.cpp (88): LightRenderer::loadLights
c:\cygwin64\tmp\factorio-azpuox\src\graphics\lightrenderer.cpp (58): LightRenderer::prepare
c:\cygwin64\tmp\factorio-azpuox\src\graphics\gamerenderer.cpp (148): GameRenderer::prepareJob
c:\cygwin64\tmp\factorio-azpuox\src\graphics\gamerenderer.cpp (129): GameRenderer::prepare
c:\cygwin64\tmp\factorio-azpuox\src\gameview.cpp (941): GameView::prepareRender
c:\cygwin64\tmp\factorio-azpuox\src\mainloop.cpp (792): MainLoop::prepare
c:\cygwin64\tmp\factorio-azpuox\src\mainloop.cpp (526): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-azpuox\src\mainloop.cpp (331): MainLoop::run
c:\cygwin64\tmp\factorio-azpuox\src\main.cpp (1030): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (283): __scrt_common_main_seh
Attachments
mods.zip
(16.37 KiB) Downloaded 46 times
_autosave1.zip
(12.98 MiB) Downloaded 43 times
factorio-current.log
(42.18 KiB) Downloaded 50 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.16.7] Crash in LightRenderer::loadLights

Post by kovarex »

This looks quite random. The code in this part haven't been touched in a long time. To be sure I loaded your save with the mod in debug mode and checked its consistency and everything seems to be fine.
So only explanation I can think of is either random hardware bug, or some other (threading?) issue.
I'm moving this to pending.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14776
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.7] Crash in LightRenderer::loadLights

Post by Rseding91 »

I've seen this report several times now but nobody has any consistent way to reproduce it and as Kovarex said that code hasn't changed in a *long* time. Not that there can't be a bug in it but without some way to reproduce the crash (or a crash dump) there's not much we can do.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”