[Kovarex] MP Crash on quit and start new game

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
numerials
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue Jul 26, 2016 11:54 pm
Contact:

[Kovarex] MP Crash on quit and start new game

Post by numerials »

Reproducible Steps: While joining a server in 'Browse for Public Game' I selected a server that displayed 50kbps rate for giant file (i.e. it would take forever to actually join) so I pressed esc. This took be back to the browse for servers window, but the downloading modal was still visible and downloading. I pressed esc a few more times until I was at the main menu, modal still there. I entered a campaign game, New Hope, hoping that entering a game would stop the attempt to connect, and then the logged crash occurred.

Expected result: Pressing esc while loading into a server will cancel the connection attempt and delete any partially downloaded data.
Actual result: Game crashes / cannot cancel entering a server

Code: Select all

   0.003 2016-11-19 09:07:40; Factorio 0.14.20 (build 25315, win64, steam)
   0.003 Operating system: Windows 7 Service Pack 1
   0.003 Program arguments: "I:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: I:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/Tanya/AppData/Roaming/Factorio
   0.003 Binaries path: I:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.015 System info: [CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 8 cores, RAM: 16335MB]
   0.015 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.016 Available display adapters: 1
   0.016  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.016 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.231 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvd3dumx.dll 10.18.13.6881
   0.237     Video memory size (dedicated video/dedicated system/shared system/available): 4007/0/7911/3711 MB
   0.264 DSound: Starting _dsound_update thread
   0.264 DSound: Enter _dsound_update; tid=8272
   0.265 Device reset internal.
   0.280 Graphics options: [Graphics quality: low] [Video memory usage: all] [Light scale: 100%] [DXT: auto]
   0.366 Loading mod core 0.0.0 (data.lua)
   0.384 Loading mod base 0.14.20 (data.lua)
   0.531 Checksum for core: 1291735968
   0.531 Checksum for mod base: 786624017
   0.809 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1479516455
   0.809 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   1.028 Initial atlas bitmap size is 16384
   1.030 Created atlas bitmap 16384x2744
   1.235 Created atlas bitmap 4096x4084
   1.239 Created atlas bitmap 4096x680
   1.270 Created atlas bitmap 4096x912
   1.285 Created atlas bitmap 4096x1052
   9.081 Sprites loaded
   9.081 Convert atlas 4096x4084 to: compressed 
   9.824 Convert atlas 4096x680 to: compressed 
   9.918 Convert atlas 4096x912 to: trilinear-filtering 
   9.942 Convert atlas 4096x1052 to: mipmap 
  10.347 Loading sounds...
  11.802 Custom inputs active: 0
  11.839 Factorio initialised
  16.717 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
  71.782 Info UDPSocket.cpp:235: Socket closed
  71.783 Joining game 49.49.239.42:34197
  71.783 Info UDPSocket.cpp:33: Opening socket
  71.784 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
  72.156 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  72.420 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  72.640 Connection refused
  72.640 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
  72.640 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(Disconnected)
  72.660 Info HttpSharedState.cpp:44: Downloading https://auth.factorio.com/generate-user-server-key
  72.688 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  73.184 Info HttpSharedState.cpp:111: Status code: 200
  73.184 Info AuthServerConnector.cpp:132: Received key(MFVI7tKgqBHbF656pIMpIw==) for username(numerials) from auth server.
  73.192 Info UDPSocket.cpp:235: Socket closed
  73.192 Joining game 49.49.239.42:34197
  73.192 Info UDPSocket.cpp:33: Opening socket
  73.193 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
  73.572 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  73.800 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  74.044 Info ClientSynchronizer.cpp:34: Initialized Synchronizer local peer(1) latency(32).
  74.044 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(ConnectedWaitingForMap)
  74.044 Info ClientRouter.cpp:219: ConnectionAccepted
  74.054 Warning ClientRouter.cpp:115: Received NatPunch from 49.49.239.42:34197 as a client
  74.444 Info ClientMultiplayerManager.cpp:669: Received mapReadyForDownload
  74.457 Downloading file C:\Users\Tanya\AppData\Roaming\Factorio\temp\mp-download.zip (4877244 B, 9697 blocks)
  74.458 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  85.943 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
  87.844 Info UDPSocket.cpp:235: Socket closed
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2015-10-16_Factorio_0.13.0.json
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2016-04-22_Factorio_0.13.0.json
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2016-06-14_Factorio_0.13.0.json
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2016-06-21_Factorio_0.13.0.json
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2016-06-25_Factorio_0.13.0.json
  96.445 Info PrototypeMigrationList.cpp:87: Activating migration base/2016-06-27_Factorio_0.13.0.json
  96.462 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
  96.463 Applying migration: Base Mod: 2015-11-14_Factorio_0.12.11.lua
  96.463 Applying migration: Base Mod: 2016-03-05_Factorio_0.12.26.lua
  96.464 Applying migration: Base Mod: 2016-04-22_Factorio_0.13.0.lua
  96.464 Applying migration: Base Mod: 2016-06-15_Factorio_0.13.0.lua
  96.465 Applying migration: Base Mod: 2016-06-23_Factorio_0.13.0.lua
  96.467 Applying migration: Base Mod: 2016-06-26_Factorio_0.13.0.lua
  96.468 Applying migration: Base Mod: 2016-06-27_Factorio_0.13.0.lua
  96.468 Applying migration: Base Mod: 2016-06-28_Factorio_0.13.0.lua
  97.276 Info Scenario.cpp:152: Map version 0.14.20-1
  97.300 Checksum for script C:/Users/Tanya/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1156242973
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-l3jv99\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (624): ClientMultiplayerManager::tryFinishDownloadingMap
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (443): ClientMultiplayerManager::updateInternal
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (398): ClientMultiplayerManager::update
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (751): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-l3jv99\src\util\workerthread.cpp (34): 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 WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __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: 00000000777C59BD)
00000000777C59BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000778FA2E1)
00000000778FA2E1 (ntdll): (filename not available): RtlUserThreadStart
 101.946 Error ClientMultiplayerManager.cpp:624: MultiplayerManager trying to create scenario but it exists already.
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-l3jv99\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (337): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\logger.cpp (391): Logger::logStacktrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-l3jv99\src\util\crashhandler.cpp (233): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (624): ClientMultiplayerManager::tryFinishDownloadingMap
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (443): ClientMultiplayerManager::updateInternal
c:\cygwin64\tmp\factorio-l3jv99\src\net\clientmultiplayermanager.cpp (398): ClientMultiplayerManager::update
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (751): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (630): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-l3jv99\src\util\workerthread.cpp (34): 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 WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __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: 00000000777C59BD)
00000000777C59BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000778FA2E1)
00000000778FA2E1 (ntdll): (filename not available): RtlUserThreadStart
 104.425 Error CrashHandler.cpp:106: Map tick at moment of crash: 0
 104.425 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.
[/collapse]

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Kovarex] MP Crash on quit and start new game

Post by kovarex »

You are right, the menu opened lot of possibilities to strange behavior.

From now on (0.15.19), the game will just abort the connection and return to the multiplayer menu when esc is pressed.

User avatar
Dev-iL
Filter Inserter
Filter Inserter
Posts: 299
Joined: Thu Jul 02, 2015 2:48 pm
Contact:

Re: [Kovarex] MP Crash on quit and start new game

Post by Dev-iL »

kovarex wrote:From now on (0.15.19), the game will just abort the connection and return to the multiplayer menu when esc is pressed.
Thank you! This was annoying :)
Leading Hebrew translator of Factorio.

User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 553
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [Kovarex] MP Crash on quit and start new game

Post by Jon8RFC »

Nice! So this should cover my duplicate report cases, right?
viewtopic.php?f=182&t=47254
Image

Post Reply

Return to “Resolved Problems and Bugs”