[0.14.21] Mod error dialog rendered behind inventory

Things that has been reported already before.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

[0.14.21] Mod error dialog rendered behind inventory

Post by daniel34 »

If an autosave happens while the inventory is open and that autosave is later loaded with a mod that triggers an error then the error dialog box is rendered behind the inventory window. It is not possible to close the inventory or error message or do anything else, all keypresses are ignored.
factorio-errorbox.png
factorio-errorbox.png (395.23 KiB) Viewed 1148 times
Admittedly this only happens very rarely, as it is not possible to create such a state by saving manually. Pressing ESC to save manually would close the inventory window instead.

Closing Factorio (red [ X ] on the top right) in that state leads to a hard crash if the save was started in multiplayer mode:

Code: Select all

   0.000 2017-01-10 16:56:23; Factorio 0.14.21 (build 25327, win64, alpha)
   0.000 Operating system: Windows 7 Service Pack 1
   0.000 Program arguments: "D:\Games\Factorio\bin\x64\Factorio.exe" 
   0.000 Read data path: D:/Games/Factorio/data
   0.000 Write data path: D:/Games/Factorio
   0.000 Binaries path: D:/Games/Factorio/bin
   0.015 System info: [CPU: AMD Phenom(tm) II X4 955 Processor, 4 cores, RAM: 16382MB]
   0.015 Display options: [FullScreen: 0] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.016 Available display adapters: 1
   0.016  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 750 Ti {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.016 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.049 Initialised Direct3D:[0] NVIDIA GeForce GTX 750 Ti; driver: nvd3dumx.dll 10.18.13.5891
   0.050     Video memory size (dedicated video/dedicated system/shared system/available): 1993/0/2048/4038 MB
   0.071 DSound: Starting _dsound_update thread
   0.071 DSound: Enter _dsound_update; tid=6968
   0.071 Device reset internal.
   0.073 Desktop composition is active.
   0.073 WARNING: You have vsync and desktop composition enabled on Direct3d. Consider disabling vsync to increase performance on some confirgurations.
   0.074 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false]
   0.176 Loading mod core 0.0.0 (data.lua)
   0.186 Loading mod base 0.14.21 (data.lua)
   0.322 Loading mod what-is-it-used-for 1.1.5 (data.lua)
   0.403 Loading mod minimap-autohide 0.9.1 (data.lua)
   0.481 Loading mod YARM 0.7.108 (data.lua)
   0.596 Checksum for core: 1291735968
   0.596 Checksum for mod base: 786624017
   0.596 Checksum for mod what-is-it-used-for: 3913150713
   0.596 Checksum for mod minimap-autohide: 2272918488
   0.596 Checksum for mod YARM: 4206050284
   1.065 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1484063778
   1.065 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   1.351 Initial atlas bitmap size is 16384
   1.354 Created atlas bitmap 16384x5591
   1.847 Created atlas bitmap 4096x968
   1.895 Created atlas bitmap 4096x3652
  13.322 Sprites loaded
  13.322 Convert atlas 4096x968 to: trilinear-filtering 
  13.355 Convert atlas 4096x3652 to: mipmap 
  13.874 Loading sounds...
  15.888 Custom inputs active: 5
  15.888 Info Updater.cpp:749: Downloading https://updater.factorio.com/get-available-versions?username=daniel34&token=<private>&apiVersion=2
  17.066 0 packages available to download (experimental updates enabled).
  17.120 Factorio initialised
  24.261 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  24.261 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
  24.261 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
  24.261 Loading map D:\Games\Factorio\saves\_autosave2.zip
  24.291 Info Scenario.cpp:152: Map version 0.14.21-0
  25.158 Checksum for script D:/Games/Factorio/temp/currently-playing/control.lua: 864172132
  25.160 Checksum for script __what-is-it-used-for__/control.lua: 293016820
  25.162 Checksum for script __minimap-autohide__/control.lua: 3876734717
  25.166 Checksum for script __YARM__/control.lua: 619421599
  25.667 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
  25.667 Hosting game at 0.0.0.0:34197
  25.667 Info ServerMultiplayerManager.cpp:658: mapTick(2088001) changing state from(CreatingGame) to(InGame)
  25.667 Info UDPSocket.cpp:39: Opening socket for broadcast
  25.674 Info GameActionHandler.cpp:2556: MapTick(2088001) processed PlayerJoinGame peerID(0) playerIndex(0) mode(connect)
  25.674 Error MainLoop.cpp:788: Exception at tick 2088001: Error while running event on_tick (ID 0)
__minimap-autohide__/control.lua:96: attempt to index field 'player' (a nil value)
  25.674 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: "Error while running event on_tick (ID 0)
__minimap-autohide__/control.lua:96: attempt to index field 'player' (a nil value)"
  25.675 Info ServerMultiplayerManager.cpp:658: mapTick(2088001) changing state from(InGame) to(Failed)
  32.294 Info ServerMultiplayerManager.cpp:139: Quitting multiplayer connection.
  32.294 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Failed) to(Closed)
  32.296 Error CrashHandler.cpp:230: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-bf8mp7\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-bf8mp7\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-bf8mp7\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-bf8mp7\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-bf8mp7\src\util\crashhandler.cpp (233): 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: 00000001400D3384)
00000001400D3384 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077009D0D)
0000000077009D0D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076FF91AF)
0000000076FF91AF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077031278)
0000000077031278 (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetSymFromAddr64, GetLastError: 126 (Address: 00000000003AD010)
ERROR: SymGetLineFromAddr64, GetLastError: 126 (Address: 00000000003AD010)
ERROR: SymGetModuleInfo64, GetLastError: 1114 (Address: 00000000003AD010)
00000000003AD010 ((module-name not available)): (filename not available): (function-name not available)
f:\dd\vctools\crt\crtw32\stdcpp\thr\mutex.c (100): mtx_do_lock
c:\cygwin64\tmp\factorio-bf8mp7\src\util\taskmanager.cpp (44): TaskManager::removeTask
c:\cygwin64\tmp\factorio-bf8mp7\src\net\servergameupdater.cpp (21): ServerGameUpdater::stop
c:\cygwin64\tmp\factorio-bf8mp7\src\net\servermultiplayermanager.cpp (172): ServerMultiplayerManager::destroy
c:\cygwin64\tmp\factorio-bf8mp7\src\net\servermultiplayermanager.cpp (147): ServerMultiplayerManager::quit
c:\cygwin64\tmp\factorio-bf8mp7\src\net\servermultiplayermanager.cpp (68): ServerMultiplayerManager::~ServerMultiplayerManager
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000013FC9BE44)
000000013FC9BE44 (Factorio): (filename not available): ServerMultiplayerManager::`scalar deleting destructor'
c:\cygwin64\tmp\factorio-bf8mp7\src\globalcontext.cpp (525): GlobalContext::clearResources
c:\cygwin64\tmp\factorio-bf8mp7\src\globalcontext.cpp (574): GlobalContext::~GlobalContext
c:\cygwin64\tmp\factorio-bf8mp7\src\mainloop.cpp (263): MainLoop::run
c:\cygwin64\tmp\factorio-bf8mp7\src\main.cpp (808): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007691652D)
000000007691652D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007700C521)
000000007700C521 (ntdll): (filename not available): RtlUserThreadStart
  37.221 Error Util.cpp:77: 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.
quick links: log file | graphical issues | wiki
Rseding91
Factorio Staff
Factorio Staff
Posts: 15915
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21] Mod error dialog rendered behind inventory

Post by Rseding91 »

This is a known issue that will be worked on at some point. GUI ordering isn't something we do for the most part so we need to implement some system to force order.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Duplicates”