[0.18.15][mac] Crash on window losing focus

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
toriningen
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 22, 2020 11:24 pm
Contact:

[0.18.15][mac] Crash on window losing focus

Post by toriningen »

What did you do?
I have been hosting multiplayer LAN game. 2 players, both on macOS. I have switched to primary desktop space from the fullscreen space running Factorio by swiping three fingers to the right. This was not the first time I did this, and this time wasn't any different.
What happened?
The other player told me server is unavailable in a minute. When I swiped back, it had already crashed.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
To keep running in background, like it previously did.
Does it happen always, once, or sometimes?
Once so far.
Attachments
_autosave1.zip
(6.11 MiB) Downloaded 68 times
factorio-current.log
(71.93 KiB) Downloaded 71 times

Loewchen
Global Moderator
Global Moderator
Posts: 8284
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.18.15][mac] Crash on window losing focus

Post by Loewchen »

Code: Select all

   0.001 2020-03-22 01:08:01; Factorio 0.18.15 (build 50411, mac, alpha)
   0.001 Operating system: macOS 10.14.6
   0.001 Program arguments: "/Applications/Factorio.app/Contents/MacOS/factorio" 
   0.001 Read data path: /Applications/Factorio.app/Contents/data
   0.001 Write data path: /Users/toriningen/Library/Application Support/factorio [71211/476902MB]
   0.001 Binaries path: /Applications/Factorio.app/Contents
   0.052 System info: [CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz, 8 cores, RAM: 16384 MB]
   0.052 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmW] [Lang: en]
   0.179 Available displays: 1
   0.180  [0]: Color LCD - {[0,0], 1440x900, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x7bd7f779(0x01)}
   1.363 Initialised OpenGL:[0] NVIDIA GeForce GT 750M OpenGL Engine; driver: 4.1 NVIDIA-12.0.24 355.11.10.50.10.103
   1.364   [Size] Window: 1440x855, Backbuffer: 2880x1710
   1.364   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   1.364   [Version] 4.1
   1.364 Graphics settings preset: high
   1.364   Dedicated video memory size 2048 MB (detected from GeForce GT 750M; VendorID: 0x1022700)
   1.502 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   1.502                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: normal] [Other: STDC] [B:0,C:0,S:100]
   1.839 Loading mod core 0.0.0 (data.lua)
   1.973 Loading mod base 0.18.15 (data.lua)
   2.413 Loading mod base 0.18.15 (data-updates.lua)
   2.581 Checksum for core: 2662968709
   2.581 Checksum of base: 119980786
   2.810 Prototype list checksum: 1713068911
   2.876 Loading sounds...
   3.195 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1584832074
   3.195 Info PlayerData.cpp:75: Cloud player-data.json unavailable
   3.383 Initial atlas bitmap size is 16384
   3.403 Created atlas bitmap 16384x16372 [none]
   3.403 Created atlas bitmap 16384x5972 [none]
   3.403 Created atlas bitmap 8192x3720 [decal]
   3.404 Created atlas bitmap 16384x5088 [low-object]
   3.404 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.404 Created atlas bitmap 16384x5776 [terrain, mipmap, linear-minification, linear-mip-level]
   3.404 Created atlas bitmap 4096x2848 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   3.404 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   3.404 Created atlas bitmap 4096x3104 [mipmap]
   3.404 Created atlas bitmap 4096x2224 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.404 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   3.405 Created atlas bitmap 4096x2652 [alpha-mask]
   3.407 Created atlas bitmap 16384x15376 [shadow, linear-magnification, alpha-mask]
   3.407 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   3.489 Created virtual atlas pages 4096x4096x7
   3.525 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   6.423 Parallel Sprite Loader initialized (threads: 7)
  53.936 Sprites loaded
  54.087 Generated mipmaps (4) for atlas [3] of size 16384x5088   
  54.123 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  57.396 Generated mipmaps (3) for atlas [5] of size 16384x5776   <total: 3270.53, render: 1.03, convert: 0.89, copy: 278.28>
  58.047 Generated mipmaps (3) for atlas [6] of size 4096x2848   <total: 650.35, render: 0.10, convert: 0.05, copy: 649.29>
  58.453 Generated mipmaps (3) for atlas [7] of size 4096x1600   
  58.512 Generated mipmaps (3) for atlas [8] of size 4096x3104   
  58.548 Generated mipmaps (5) for atlas [9] of size 4096x2224   
  58.575 Generated mipmaps (3) for atlas [13] of size 8192x2352   
  58.592 Custom mipmaps uploaded.
  58.707 Generated mipmaps for virtual atlas of size 8192x16384
  58.793 Factorio initialised
  58.796 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=toriningen&token=<private>&apiVersion=2
  59.557 0 packages available to download (experimental updates enabled).
 118.901 Loading level.dat: 4106567 bytes.
 118.901 Info Scenario.cpp:187: Map version 0.18.0-2
 119.141 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
 119.142 Applying migration: Base Mod: 2019-12-12_Factorio_0.18.00.lua
 119.145 Applying migration: Base Mod: 2020-01-27_Factorio_0.18.02.lua
 119.146 Applying migration: Base Mod: 2020-03-18_Factorio_0.18.14.lua
 119.342 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
 368.698 Info AppManager.cpp:297: Saving to _autosave3 (blocking).
 369.044 Info AppManagerStates.cpp:1847: Saving finished
 678.985 Info AppManager.cpp:297: Saving to _autosave1 (blocking).
 679.590 Info AppManagerStates.cpp:1847: Saving finished
 740.895 Info AppManager.cpp:297: Saving to _autosave-repair-assembler (blocking).
 741.628 Info AppManagerStates.cpp:1847: Saving finished
 981.737 Info AppManager.cpp:297: Saving to _autosave2 (blocking).
 982.070 Info AppManagerStates.cpp:1847: Saving finished
1308.513 Info AppManager.cpp:297: Saving to _autosave3 (blocking).
1308.829 Info AppManagerStates.cpp:1847: Saving finished
1603.368 Loading level.dat: 4106567 bytes.
1603.369 Info Scenario.cpp:187: Map version 0.18.0-2
1603.543 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1603.544 Applying migration: Base Mod: 2019-12-12_Factorio_0.18.00.lua
1603.545 Applying migration: Base Mod: 2020-01-27_Factorio_0.18.02.lua
1603.546 Applying migration: Base Mod: 2020-03-18_Factorio_0.18.14.lua
1603.722 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1613.893 Loading level.dat: 4106567 bytes.
1613.893 Info Scenario.cpp:187: Map version 0.18.0-2
1614.047 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1614.047 Applying migration: Base Mod: 2019-12-12_Factorio_0.18.00.lua
1614.048 Applying migration: Base Mod: 2020-01-27_Factorio_0.18.02.lua
1614.050 Applying migration: Base Mod: 2020-03-18_Factorio_0.18.14.lua
1614.222 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1642.550 Loading level.dat: 4106567 bytes.
1642.551 Info Scenario.cpp:187: Map version 0.18.0-2
1642.818 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1642.818 Applying migration: Base Mod: 2019-12-12_Factorio_0.18.00.lua
1642.820 Applying migration: Base Mod: 2020-01-27_Factorio_0.18.02.lua
1642.822 Applying migration: Base Mod: 2020-03-18_Factorio_0.18.14.lua
1643.056 Checksum for script /Users/toriningen/Library/Application Support/factorio/temp/currently-playing/control.lua: 1905836474
1845.810 Info AppManager.cpp:297: Saving to _autosave3 (blocking).
1846.159 Info AppManagerStates.cpp:1847: Saving finished

...

86895.900 Info AppManager.cpp:277: Saving to _autosave1 (non-blocking).
86896.097 Info AsyncScenarioSaver.cpp:144: Saving process PID: 5281
86896.978 Info ChildProcessAgent.cpp:60: Child 5281 exited with return value 0
86896.978 Info AppManager.cpp:278: Saving finished
86905.737 Error CrashHandler.cpp:619: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#1  0x000000010755f442 in Logger::logStacktrace(StackTraceInfo*) + 0x12
#2  0x0000000106b7a589 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) + 0xb9
#3  0x0000000107543744 in CrashHandler::commonSignalHandler(int) + 0x74
#4  0x0000000107542c39 in CrashHandler::SignalHandler(int) + 0x9
#5  0x00007fff7b45eb5d in _sigtramp + 0x1d
#6  0x00007fff4a45e79d in gldReadTextureData + 0x104c9
#7  0x00007fff6a361e83 in gpumGetQueryInfo + 0x9e
#8  0x00007fff4a44df2c in gldGetQueryInfo + 0xdf
#9  0x00007fff58fbc8c3 in glQueryCounter_Exec + 0x167
#10 0x0000000106b94717 in GraphicsInterfaceOpenGL::queryTimestamp(unsigned long) + 0x37
#11 0x0000000106b92b9a in GraphicsInterfaceOpenGL::startTimingNewFrame() + 0x2a
#12 0x0000000106b92a36 in GraphicsInterfaceOpenGL::swapBuffers() + 0x2b6
#13 0x0000000106bc6116 in SDLWindow::swap() const + 0x16
#14 0x0000000106aef477 in GlobalContext::swapRenderBuffers() + 0x137
#15 0x00000001070e01a6 in MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode) + 0x1a6
#16 0x0000000106658c82 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::__1::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) + 0x552
#17 0x00000001064f9b2c in main + 0x1208c
Stack trace logging done
86905.765 Error CrashHandler.cpp:190: Map tick at moment of crash: 2610576
86905.765 Error Util.cpp:97: 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.
87007.632 Uploading log file
87007.665 Info SystemUtil.cpp:547: Started /Applications/Factorio.app/Contents/MacOS/factorio; trampoline PID: 5286

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.15][mac] Crash on window losing focus

Post by posila »

Thanks for the report.
Crash occured inside of OpenGL (graphics API), I don't know why OpenGL would crash nor how to prevent it and am not able to reproduce it, so unfortunatelly I am not able to do anything about it.

Post Reply

Return to “1 / 0 magic”