[0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

This subforum contains all the issues which we already resolved.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

[0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

Post by Atoms »

Was playing multiplayer game, all was good, until 0.15.4 came out, server upgraded, me too. after joining same game it crashes:

Code: Select all

   0.001 2017-04-29 22:30:22; Factorio 0.15.4 (build 29262, win64, steam)
   0.001 Operating system: Windows 10 (version 1607) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Atoms/AppData/Roaming/Factorio
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.008 System info: [CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 4 cores, RAM: 8119MB]
   0.008 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.009 Available display adapters: 1
   0.009  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 750 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.009 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.052 Initialised Direct3D:[0] NVIDIA GeForce GTX 750 Ti; driver: nvd3dumx.dll 21.21.13.7878
   0.055     Video memory size (dedicated video/dedicated system/shared system/available): 2017/0/4059/4088 MB
   0.081 DSound: Starting _dsound_update thread
   0.081 DSound: Enter _dsound_update; tid=2296
   0.082 Device reset internal.
   0.083 Desktop composition is active.
   0.083 Graphics settings preset: very-high
   0.083 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: false]
   0.145 Loading mod core 0.0.0 (data.lua)
   0.153 Loading mod base 0.15.4 (data.lua)
   0.254 Loading mod base 0.15.4 (data-updates.lua)
   0.316 Checksum for core: 2926038370
   0.316 Checksum of base: 181075648
   0.442 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493493973
   0.442 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.521 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   0.521 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.533 Initial atlas bitmap size is 16384
   0.552 Created atlas bitmap 16384x16371
   1.024 Created atlas bitmap 16384x8937
   1.609 Created atlas bitmap 4096x3980
   1.645 Created atlas bitmap 4096x3648
  12.833 Sprites loaded
  12.833 Convert atlas 4096x3980 to: trilinear-filtering 
  12.926 Convert atlas 4096x3648 to: mipmap 
  13.772 Loading sounds...
  15.645 Custom inputs active: 0
  15.691 Factorio initialised
  18.204 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
  25.653 Info UDPSocket.cpp:234: Socket closed
  25.656 Joining game 37.187.89.77:34518
  25.656 Info UDPSocket.cpp:33: Opening socket
  25.657 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
  25.802 Connection refused
  25.802 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
  25.802 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(Disconnected)
  25.803 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-user-server-key
  26.407 Info HttpSharedState.cpp:111: Status code: 200
  26.407 Info AuthServerConnector.cpp:136: Received key(XXXXXXXXX) for username(XXXXX) from auth server.
  26.502 Info UDPSocket.cpp:234: Socket closed
  26.502 Joining game 37.187.89.77:34518
  26.502 Info UDPSocket.cpp:33: Opening socket
  26.504 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
  26.651 Info ClientSynchronizer.cpp:34: Initialized Synchronizer local peer(1) latency(32).
  26.651 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(ConnectedWaitingForMap)
  26.651 Info ClientRouter.cpp:217: ConnectionAccepted
  28.552 Info ClientMultiplayerManager.cpp:669: Received mapReadyForDownload
  28.552 Downloading file C:\Users\Atoms\AppData\Roaming\Factorio\temp\mp-download.zip (37416776 B, 74388 blocks)
  28.585 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  40.248 Finished download (11 s, 37 MB, 3.2 MB/s)
  40.462 Info ClientMultiplayerManager.cpp:650: mapTick(-1) map download finished creating scenario  40.462 Info TransferTarget.cpp:157: Received transfer block while not downloading

  40.463 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  40.463 Loading map C:\Users\Atoms\AppData\Roaming\Factorio\temp\mp-download.zip: 37416776 bytes.
  40.527 Loading Level.dat: 92410081 bytes.
  40.531 Info Scenario.cpp:133: Map version 0.15.4-2
  43.083 Loading script.dat: 22605 bytes.
  43.091 Checksum for script C:/Users/Atoms/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2581304937
  43.218 Info ClientMultiplayerManager.cpp:539: MapTick(1419289) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  49.320 Info ClientMultiplayerManager.cpp:539: MapTick(1420539) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  49.468 Info ClientMultiplayerManager.cpp:539: MapTick(1420539) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  49.585 Info GameActionHandler.cpp:3247: MapTick (1420546) processed PlayerJoinGame peerID(7) playerIndex(22) mode(connect ) 
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vqopbo\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vqopbo\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vqopbo\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vqopbo\src\data\modsettings\modsettingschangeddata.cpp (37): ModSettingsChangedData::save
c:\dev\boost_1_61_0\boost\variant\detail\visitation_impl.hpp (268): ??@4fb83b2360ac0300726e6e3231ed0279@
c:\dev\boost_1_61_0\boost\variant\detail\visitation_impl.hpp (268): ??@6b00f69d3a9505fb5614e7c4e7a0f6b7@
c:\dev\boost_1_61_0\boost\variant\detail\visitation_impl.hpp (268): ??@472267bb6024e2ff90d4e6e2a1f1f882@
c:\cygwin64\tmp\factorio-vqopbo\src\input\inputaction.cpp (523): InputAction::saveData
c:\cygwin64\tmp\factorio-vqopbo\src\net\tickclosure.cpp (44): TickClosure::save
c:\cygwin64\tmp\factorio-vqopbo\src\net\heartbeat.cpp (41): Heartbeat::saveBase
c:\cygwin64\tmp\factorio-vqopbo\src\net\heartbeat.cpp (188): ClientToServerHeartbeat::save
c:\cygwin64\tmp\factorio-vqopbo\src\net\networkmessages.cpp (335): ClientToServerHeartbeatMessage::save
c:\cygwin64\tmp\factorio-vqopbo\src\net\fragmentationhelper.cpp (23): FragmentationHelper::send
c:\cygwin64\tmp\factorio-vqopbo\src\net\clientsynchronizer.cpp (165): ClientSynchronizer::update
c:\cygwin64\tmp\factorio-vqopbo\src\net\clientmultiplayermanager.cpp (430): ClientMultiplayerManager::updateInternal
c:\cygwin64\tmp\factorio-vqopbo\src\net\clientmultiplayermanager.cpp (398): ClientMultiplayerManager::update
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (816): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-vqopbo\src\mainloop.cpp (695): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-vqopbo\src\util\workerthread.cpp (35): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ServerRouter * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF979D48364)
00007FF979D48364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF979FD70D1)
00007FF979FD70D1 (ntdll): (filename not available): RtlUserThreadStart
  50.867 Error ModSettingsChangedData.cpp:37: Attempting to save empty mod settings.
Logger::writeStacktrace skipped.
  50.867 Error CrashHandler.cpp:106: Map tick at moment of crash: 1420547
  50.868 Error Util.cpp:76: 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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14289
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

Post by Rseding91 »

Thanks for the report. If you go into other options and check "use different mod settings per save" it should temporarily work around the issue until it's fixed in 0.15.5.
If you want to get ahold of me I'm almost always on Discord.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

Re: [0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

Post by Atoms »

I had already that checked, unchecked just to try, didn't helped :(
Rseding91
Factorio Staff
Factorio Staff
Posts: 14289
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

Post by Rseding91 »

Atoms wrote:I had already that checked, unchecked just to try, didn't helped :(
The lines of code that's crashing should never run when that setting is checked unless you're using mods (which the log says you're not).

Are you sure someone else isn't joining the server at the same time with it disabled?

Edit: tested it manually with 0.15.4 and a server and when the option is enabled (checkbox checked) the crash doesn't happen.
If you want to get ahold of me I'm almost always on Discord.
Atoms
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Apr 29, 2017 7:34 pm
Contact:

Re: [0.15.4] After joining multiplayer game it crashes in ModSettingsChangedData::save

Post by Atoms »

Don't know other player settings, as it's public multiplayer game. Today switched that option off/on again and i can join.
Post Reply

Return to “Resolved Problems and Bugs”