Page 1 of 1

[0.17.79] (Mac) Crashes repeatedly

Posted: Mon Jan 13, 2020 11:39 am
by redfrog11
I couldnt figure out a pattern. But game crashes randomly during gameplay.
if I save and load again, playing on for an arbirtry time works. and then crashing again.
So no pattern in time to crash.
But sometimes pattern in map location.
But if i walk around some other way, and return to where the game crashes on map, then it works, so no crash.
Couldnt figure out a pattern yet.

Code: Select all

   0.001 2020-01-13 12:30:01; Factorio 0.17.79 (build 47865, mac, alpha)
   0.004 Operating system: macOS 10.15.2
   0.004 Program arguments: "/Applications/factorio.app/Contents/MacOS/factorio" 
   0.004 Read data path: /Applications/factorio.app/Contents/data
   0.004 Write data path: /Users/andreasrueping/Library/Application Support/factorio [370273/476802MB]
   0.004 Binaries path: /Applications/factorio.app/Contents
   0.045 System info: [CPU: Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz, 8 cores, RAM: 8192 MB]
   0.045 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [Native DPI: 0] [Screen: 255] [Special: lmW] [Lang: en]
   0.168 Available displays: 2
   0.168  [0]: DELL U2515H - {[0,0], 2560x1440, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x2b342fcd(0x02)}
   0.168  [1]: Color LCD - {[530,1440], 1680x1050, SDL_PIXELFORMAT_ARGB8888, 60Hz, 0x4280f80(0x01)}
   0.874 Initialised OpenGL:[0] Intel(R) Iris(TM) Plus Graphics 655; driver: 4.1 INTEL-14.3.9
   0.874   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO
   0.874   [Version] 4.1
   0.874 Graphics settings preset: integrated-gpuhigh
   0.874   Dedicated video memory size 1536 MB (detected from Intel(R) Iris(TM) Plus Graphics 655; VendorID: 0x1024500)
   0.976 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 48%] [DXT: high-quality] [Color: 32bit]
   0.976                   [Max threads (load/render): 32/3] [Max texture size: 4096] [Tex.Stream.: 0] [Rotation quality: normal] [Other: sTDC]
   1.140 Loading mod core 0.0.0 (data.lua)
   1.232 Loading mod base 0.17.79 (data.lua)
   1.471 Loading mod base 0.17.79 (data-updates.lua)
   1.583 Checksum for core: 2035938594
   1.583 Checksum of base: 4156627525
   1.731 Prototype list checksum: 2767119397
   1.774 Loading sounds...
   1.879 Info PlayerData.cpp:68: Local player-data.json available, timestamp 1578914668
   1.879 Info PlayerData.cpp:75: Cloud player-data.json unavailable
   1.993 Initial atlas bitmap size is 4096
   1.997 Created atlas bitmap 4096x4084 [none]
   2.001 Created atlas bitmap 4096x4048 [none]
   2.003 Created atlas bitmap 4096x4052 [none]
   2.004 Created atlas bitmap 4096x4088 [none]
   2.006 Created atlas bitmap 4096x4088 [none]
   2.008 Created atlas bitmap 4096x4096 [none]
   2.008 Created atlas bitmap 4096x808 [none]
   2.008 Created atlas bitmap 4096x1952 [decal]
   2.011 Created atlas bitmap 4096x4080 [low-object]
   2.011 Created atlas bitmap 4096x1024 [low-object]
   2.011 Created atlas bitmap 4096x2304 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.013 Created atlas bitmap 4096x4064 [terrain, mipmap, linear-minification, linear-mip-level]
   2.013 Created atlas bitmap 4096x4080 [terrain, mipmap, linear-minification, linear-mip-level]
   2.013 Created atlas bitmap 4096x864 [terrain, mipmap, linear-minification, linear-mip-level]
   2.013 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   2.014 Created atlas bitmap 4096x1760 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.014 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.014 Created atlas bitmap 4096x900 [alpha-mask]
   2.016 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
   2.017 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
   2.018 Created atlas bitmap 4096x4084 [shadow, linear-magnification, alpha-mask]
   2.019 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
   2.019 Created atlas bitmap 4096x1104 [shadow, linear-magnification, alpha-mask]
   2.019 Created atlas bitmap 4096x1328 [shadow, mipmap, linear-magnification, alpha-mask]
   2.278 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.503 Parallel Sprite Loader initialized (threads: 5)
   5.869 Sprites loaded
   5.933 Generated mipmaps (3) for atlas [8] of size 4096x4080   
   5.948 Generated mipmaps (3) for atlas [9] of size 4096x1024   
   5.978 Generated mipmaps (3) for atlas [10] of size 4096x2304   
   6.018 Generated mipmaps (3) for atlas [11] of size 4096x4064   
   6.058 Generated mipmaps (3) for atlas [12] of size 4096x4080   
   6.070 Generated mipmaps (3) for atlas [13] of size 4096x864   
   6.088 Generated mipmaps (3) for atlas [14] of size 4096x1600   
   6.142 Generated mipmaps (5) for atlas [15] of size 4096x1760   
   6.153 Generated mipmaps (3) for atlas [23] of size 4096x1328   
   6.153 Custom mipmaps uploaded.
   6.204 Factorio initialised
   6.213 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=redfrog11&token=<private>&apiVersion=2
   6.789 0 packages available to download (experimental updates disabled).
   9.786 Loading map /Users/andreasrueping/Library/Application Support/factorio/saves/_autosave3.zip: 4503940 bytes.
   9.809 Loading level.dat: 10677091 bytes.
   9.813 Info Scenario.cpp:187: Map version 0.17.79-0
  10.027 Loading script.dat: 328 bytes.
  10.031 Checksum for script /Users/andreasrueping/Library/Application Support/factorio/temp/currently-playing/control.lua: 3265260072
  71.219 Info AppManager.cpp:287: Saving to _autosave1 (blocking).
  71.567 Info AppManagerStates.cpp:1802: Saving finished
  78.049 Info AppManagerStates.cpp:1802: Saving finished
  85.014 Error CrashHandler.cpp:603: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#1  0x00000001033cdef2 in Logger::logStacktrace(StackTraceInfo*) + 0x12
#2  0x0000000102a89269 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) + 0xc9
#3  0x00000001033b4be4 in CrashHandler::commonSignalHandler(int) + 0x74
#4  0x00000001033b40e9 in CrashHandler::SignalHandler(int) + 0x9
#5  0x00007fff63b1742d in _sigtramp + 0x1d
#6  0x0000000103ac392a in SDL_SendKeyboardText + 0x1a
#7  0x00007fff29871802 in -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 0xb8
#8  0x00007fff299f6bfa in -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) flushTextForClient:] + 0xcc
#9  0x00007fff29878ca8 in __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_5 + 0x1e1
#10 0x00007fff29fcfd42 in __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.807 + 0x4a
#11 0x00007fff29878a83 in -[NSTextInputContext tryHandleEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 0x57
#12 0x00007fff29fcfcc8 in __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.804 + 0xed
#13 0x00007fff2afd3ae1 in TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 0xcdf
#14 0x00007fff29fcfbc6 in __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke_3.802 + 0x6e
#15 0x00007fff29fcf959 in __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:]_block_invoke.759 + 0x73
#16 0x00007fff2986ecda in -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherCondition:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuation:] + 0xf5
#17 0x00007fff2986e6de in -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 0x4ed
#18 0x00007fff2986e1a9 in -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 0x69
#19 0x00007fff2986e0a3 in -[NSView interpretKeyEvents:] + 0xd1
#20 0x0000000103b3a6e8 in -[SDLApplication sendEvent:] + 0x68
#21 0x0000000103b3b597 in Cocoa_PumpEvents + 0x107
#22 0x0000000103ac084d in SDL_PollEvent + 0x1d
#23 0x0000000102acd2f8 in WindowHandler::pollEvent(CompactDeque<Event>&, bool) + 0x58
#24 0x0000000102acac46 in SDLWindow::pollEvent(Event&) + 0x26
#25 0x00000001029f5e2c in GlobalContext::nextEvent() + 0x4c
#26 0x0000000102f825bf in MainLoop::processAllegroEvents(bool) + 0x18f
#27 0x0000000102f839d3 in MainLoop::prePrepare() + 0x103
#28 0x0000000102f83006 in MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode) + 0xe6
#29 0x0000000102f80572 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::__1::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) + 0x552
#30 0x000000010243f458 in main + 0x15e68
Stack trace logging done
  85.035 Error CrashHandler.cpp:189: Map tick at moment of crash: 2034694
  85.035 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.
  87.957 Uploading log file
  87.978 Info SystemUtil.cpp:539: Started /Applications/factorio.app/Contents/MacOS/factorio; trampoline PID: 5011

Re: [0.17.79] (Mac) Crashes repeatedly

Posted: Mon Jan 13, 2020 2:53 pm
by Loewchen
Post the logs of other crashes as well please.

Re: [0.17.79] (Mac) Crashes repeatedly

Posted: Fri Feb 07, 2020 5:30 pm
by posila
I don't know why is this happening to you, I was not able to reproduce it, so I tried blind fix for 0.18.5. When that version is released next week, please let me know if it still crashes or not.