Page 1 of 1

[0.15.19] Game Crash on Mutiplayer Blueprint View-Deletion

Posted: Sat Jun 10, 2017 10:00 pm
by jsharkey13
In multiplayer games, the game crashes for player X (on both Mac and Windows) if player X is mousing over (viewing details of) a blueprint owned by player Y in the shared library whilst player Y deletes it from their blueprint library. It does the same thing for blueprint books too. If player X has the blueprint open, the game does not crash; nor does it crash if player X is merely viewing the library. The crash only occurs when the mouseover preview is open.

It is map and time independent, and reproducable every time. This was on a map running on a headless server, which may make a difference.
Screen before crash
Screen before crash
factorio.PNG (639.75 KiB) Viewed 3047 times
If player X gets to the screen above, and player Y then deletes the "Copper Wire" blueprint whilst the preview is open, the game crashes for player X.

The stacktrace for player X:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-ikuvwx\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-ikuvwx\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-ikuvwx\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-ikuvwx\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-ikuvwx\src\util\crashhandler.cpp (235): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (117): `thread_start<unsigned int (__cdecl*)(void * __ptr64)>'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF64C0B84F8)
00007FF64C0B84F8 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA708CAB9D)
00007FFA708CAB9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA70869913)
00007FFA70869913 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA708C9CBA)
00007FFA708C9CBA (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-ikuvwx\src\gui\blueprintwidget.cpp (38): BlueprintWidget::paintComponent
c:\cygwin64\tmp\factorio-ikuvwx\libraries\agui\src\agui\widget.cpp (1148): agui::Widget::_recursivePaintChildren
c:\cygwin64\tmp\factorio-ikuvwx\libraries\agui\src\agui\widget.cpp (1163): agui::Widget::_recursivePaintChildren
c:\cygwin64\tmp\factorio-ikuvwx\libraries\agui\src\agui\widget.cpp (1160): agui::Widget::_recursivePaintChildren
c:\cygwin64\tmp\factorio-ikuvwx\libraries\agui\src\agui\widget.cpp (1163): agui::Widget::_recursivePaintChildren
c:\cygwin64\tmp\factorio-ikuvwx\libraries\agui\src\agui\gui.cpp (998): agui::Gui::render
c:\cygwin64\tmp\factorio-ikuvwx\src\graphics\guirenderer.cpp (35): GuiRenderer::prepare
c:\cygwin64\tmp\factorio-ikuvwx\src\mainloop.cpp (733): MainLoop::prepare
c:\cygwin64\tmp\factorio-ikuvwx\src\mainloop.cpp (490): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-ikuvwx\src\mainloop.cpp (299): MainLoop::run
c:\cygwin64\tmp\factorio-ikuvwx\src\main.cpp (1008): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (253): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA6E3C8364)
00007FFA6E3C8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA708870D1)
00007FFA708870D1 (ntdll): (filename not available): RtlUserThreadStart
7280.815 Error CrashHandler.cpp:106: Map tick at moment of crash: 20700265
7280.816 Error Util.cpp:80: 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.

Re: [0.15.9] Game Crash on Mutiplayer Blueprint View-Deletion

Posted: Sat Jun 10, 2017 10:24 pm
by Loewchen
Was this a typo or is it really version 15.9?

Re: [0.15.9] Game Crash on Mutiplayer Blueprint View-Deletion

Posted: Sat Jun 10, 2017 10:33 pm
by jsharkey13
Loewchen wrote:Was this a typo or is it really version 15.9?
Definitely a typo, thank you! (0.15.19)

Re: [0.15.19] Game Crash on Mutiplayer Blueprint View-Deletion

Posted: Mon Jun 12, 2017 5:25 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.15.

Re: [0.15.19] Game Crash on Mutiplayer Blueprint View-Deletion

Posted: Mon Jun 12, 2017 7:13 am
by jsharkey13
Great, thanks! It was such an unlikely set of circumstances required too.

Keep up the incredible work!