To recreate:
- open two games on the same pc
- create lan game on instance 'one' (both where on the same name for this attempt, although the game did not say that.)
- try to join via LAN menu (instance 'two')
- does not show up (NOTE: public was checked in the multiplayer map creation, as well as LAN)
- open 'show public games'
- search for the game, it shows up
- NOTE: I fiddled around a bit with the sorting thing, as I was interested in the longest running game
- try to join: "Sendto (0.0.0.0:34197) failed: The requested address is not valid in its context."
- think: I'll try the other way around
- Here I thought about the fact that the two names where the same, and changed the name on instance 'one'
- try to create a LAN game on instance 'two'
- "The local port 0.0.0.0:34197 is already used. This could be caused by another instance of Factorio, or by another program using this port."
- close the message, factorio crashed
I don't think the mod I'm working on is the problem, as the game on the other instance ('one', with identical mod-files) did not crash when loading the first game, but I don't know anything about the inside of factorio, so if you need the files, just ask.
Feel free to ask for more information.
log:
log
Code: Select all
0.003 2016-11-21 22:01:22; Factorio 0.14.20 (build 25315, win64, steam)
0.003 Operating system: Windows 10 (version 1607)
0.004 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.004 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.004 Write data path: C:/Users/matth/AppData/Roaming/Factorio
0.004 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.291 System info: [CPU: Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz, 4 cores, RAM: 12208MB]
0.292 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.294 Available display adapters: 2
0.295 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics Family {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
0.295 [1]: \\.\DISPLAY2 - Intel(R) HD Graphics Family {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
0.296 Create display on adapter 0. Size 1280x720 at position [310, 162].
0.352 Initialised Direct3D:[0] Intel(R) HD Graphics Family; driver: igdumdim64.dll 20.19.15.4474
0.361 Video memory size (dedicated video/dedicated system/shared system/available): 112/0/2048/2157 MB
0.421 DSound: Starting _dsound_update thread
0.422 DSound: Enter _dsound_update; tid=2448
0.422 DSound: Enter _dsound_update; tid=2448Device reset internal.
0.431 Desktop composition is active.
0.432 Graphics options: [Graphics quality: low] [Video memory usage: all] [Light scale: 30%] [DXT: auto]
0.852 Loading mod core 0.0.0 (data.lua)
0.926 Loading mod base 0.14.20 (data.lua)
2.699 Loading mod FactorioTycoon 0.0.0 (data.lua)
2.856 Checksum for core: 1291735968
2.856 Checksum for mod base: 786624017
2.857 Checksum for mod FactorioTycoon: 4128769826
3.643 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1479762075
3.643 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1479581464
3.920 Initial atlas bitmap size is 8192
3.926 Created atlas bitmap 8192x6033
3.980 Created atlas bitmap 4096x4092
3.986 Created atlas bitmap 4096x684
37.042 Sprites loaded
37.042 Convert atlas 4096x4092 to: compressed
39.019 Convert atlas 4096x684 to: compressed
40.112 Loading sounds...
47.524 Custom inputs active: 1
47.618 Factorio initialised
47.621 Device reset internal.
56.916 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34196)
56.917 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
57.293 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
59.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
61.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
63.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
65.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
67.266 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
69.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
71.264 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
73.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
75.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
77.262 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
79.263 Info UDPSocket.cpp:443: Recvfrom failed (but can be probably ignored): An existing connection was forcibly closed by the remote host.
80.776 Info UDPSocket.cpp:235: Socket closed
80.814 Info UDPSocket.cpp:235: Socket closed
85.870 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
85.872 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-games?username=matjojo&token=<private>
87.350 Info HttpSharedState.cpp:111: Status code: 200
94.707 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/537920
94.816 Info HttpSharedState.cpp:111: Status code: 200
97.514 Info UDPSocket.cpp:235: Socket closed
97.552 Joining game 212.84.140.78:63000
97.553 Info UDPSocket.cpp:33: Opening socket
97.555 Verbose RouterBase.cpp:37: Started router thread.
97.555 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(Connecting)
98.937 Error ClientMultiplayerManager.cpp:90: MultiplayerManager failed: multiplayer.not-received-connection-accept-reply
98.939 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Connecting) to(InitializationFailed)
100.745 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
100.754 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(InitializationFailed) to(Disconnected)
100.768 Verbose RouterBase.cpp:48: Finishing router thread.
100.768 Info UDPSocket.cpp:235: Socket closed
123.723 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34196)
123.724 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
125.231 Info UDPSocket.cpp:235: Socket closed
125.331 Info UDPSocket.cpp:235: Socket closed
127.086 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:0)
127.087 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-games?username=matjojo&token=<private>
128.026 Info HttpSharedState.cpp:111: Status code: 200
157.091 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-games?username=matjojo&token=<private>
158.057 Info HttpSharedState.cpp:111: Status code: 200
163.261 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/534663
163.374 Info HttpSharedState.cpp:111: Status code: 200
165.661 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/526355
165.786 Info HttpSharedState.cpp:111: Status code: 200
167.429 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/526355
167.548 Info HttpSharedState.cpp:111: Status code: 200
167.747 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/537648
167.852 Info HttpSharedState.cpp:111: Status code: 200
168.664 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/478075
168.768 Info HttpSharedState.cpp:111: Status code: 200
169.729 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/532526
169.844 Info HttpSharedState.cpp:111: Status code: 200
170.465 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/517735
170.583 Info HttpSharedState.cpp:111: Status code: 200
171.328 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/484754
171.441 Info HttpSharedState.cpp:111: Status code: 200
183.707 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/537920
183.810 Info HttpSharedState.cpp:111: Status code: 200
187.091 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-games?username=matjojo&token=<private>
187.093 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/get-game-details/537920
187.503 Info HttpSharedState.cpp:111: Status code: 200
188.002 Info HttpSharedState.cpp:111: Status code: 200
189.706 Info UDPSocket.cpp:235: Socket closed
189.709 Joining game 0.0.0.0:34197
189.709 Info UDPSocket.cpp:33: Opening socket
189.750 Error ClientMultiplayerManager.cpp:90: MultiplayerManager failed: "Sendto (0.0.0.0:34197) failed: The requested address is not valid in its context.
"
189.753 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(Ready) to(InitializationFailed)
205.979 Info ClientMultiplayerManager.cpp:177: Quitting multiplayer connection.
205.981 Info ClientMultiplayerManager.cpp:539: MapTick(-1) changing state from(InitializationFailed) to(Disconnected)
205.988 Info UDPSocket.cpp:235: Socket closed
222.336 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
222.337 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
222.343 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
222.351 Info Scenario.cpp:152: Map version 0.14.20-1
222.405 Checksum for script C:/Users/matth/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1057114497
222.417 Checksum for script __FactorioTycoon__/control.lua: 325184595
222.418 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
222.419 Info UDPSocket.cpp:235: Socket closed
222.442 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: multiplayer.address-in-use("0.0.0.0:34197")
222.444 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
248.062 Info ServerMultiplayerManager.cpp:139: Quitting multiplayer connection.
248.064 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(InitializationFailed) to(Closed)
248.120 Error CrashHandler.cpp:139: Exception Code: c0000005, Address: 0x00007ff6415d9ec9
ModuleBase: 0x00007ff6413c0000, ImageSize: 011ce000, RelativeAddress: 00219ec9
248.122 Error CrashHandler.cpp:149: Exception Context:
rax=0000000000000000, rbx=0000000000000000, rcx=0000021959859860,
rdx=0000021959611e70, rsi=000002190e80f5f0, rdi=0000000000000000,
rip=00007ff6415d9ec9, rsp=0000001cc4effa30, rbp=0000000000000000,
r8=0000021952e09bd0, r9=0000000000000000, r10=0000000000000000,
r11=0000001cc4effd20, r12=000163d4fa0e3bab, r13=0000000000000000,
r14=000002195bb77d20, r15=0000000000000001
248.129 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\factorio.exe (0x00007ff6413c0000 - 0x00007ff64258e000)
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 (175): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB103C5FA7)
00007FFB103C5FA7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E7DADB)
00007FFB13E7DADB (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E65956)
00007FFB13E65956 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E7992D)
00007FFB13E7992D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E186D3)
00007FFB13E186D3 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E78A4A)
00007FFB13E78A4A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-l3jv99\src\gameactionhandler.cpp (318): GameActionHandler::update
c:\cygwin64\tmp\factorio-l3jv99\src\mainloop.cpp (754): 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: 00007FFB122D8364)
00007FFB122D8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB13E35E91)
00007FFB13E35E91 (ntdll): (filename not available): RtlUserThreadStart
274.817 Error CrashHandler.cpp:106: Map tick at moment of crash: 0
274.817 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.