[0.12.4 Linux][cube] Opening socket failed: Address family not supported

This subforum contains all the issues which we already resolved.
Nemoder
Long Handed Inserter
Long Handed Inserter
Posts: 52
Joined: Fri Feb 22, 2013 11:14 am
Contact:

[0.12.4 Linux][cube] Opening socket failed: Address family not supported

Post by Nemoder »

Attempting to start or join a multiplayer game without ipv6 kernel module loaded returns: "Opening socket failed: Address family not supported by protocol" followed by segfault.
This was not a problem in 0.11.x or earlier.

Code: Select all

   0.010 2015-08-23 00:27:03; Factorio 0.12.4 (Build 16397, linux64)
   0.010 Operating system: Linux
   0.010 Program arguments: "./bin/x64/factorio" 
   0.010 Read data path: /home/nemoder/Games/Factorio/data
   0.010 Write data path: /home/nemoder/Games/Factorio
   0.010 Binaries path: /home/nemoder/Games/Factorio/bin
   0.161 Initialised OpenGL: GeForce GTX 960/PCIe/SSE2; driver: 4.5.0 NVIDIA 352.30
   0.198 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all]
   0.327 Loading mod core 0.0.0 (data.lua)
   0.356 Loading mod base 0.12.4 (data.lua)
   1.066 Initial atlas bitmap size is 16384
   1.069 Created atlas bitmap 16384x7663
   9.062 Info Updater.cpp:720: Downloading https://www.factorio.com/updater/get-available-versions?username=Nemoder&token=<private>&apiVersion=2
   9.759 0 packages available to download (experimental updates enabled).
   9.828 Factorio initialised
  23.135 Info Router.cpp:447: Router peerID(26987) shutting down.
  23.135 Info Router.cpp:474: Router state -> Disconnected
  23.135 Info MultiplayerManager.cpp:849: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
  23.135 Info MultiplayerManager.cpp:849: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
  23.135 Loading map 
  23.135 Info Scenario.cpp:160: Map version 0.12.4-3
  23.168 Info PosixUDPSocket.cpp:32: Opening socket at port 34197
  23.193 Error MultiplayerManager.cpp:107: MultiplayerManager failed: "Opening socket failed: Address family not supported by protocol"
  23.193 Info MultiplayerManager.cpp:849: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
 129.775 Info MultiplayerManager.cpp:154: NetworkTick(0) quitting multiplayer connection.
 129.775 Info MultiplayerManager.cpp:849: networkTick(0) mapTick(-1) changing state from(InitializationFailed) to(Disconnected)
 129.775 Info Router.cpp:447: Router peerID(0) shutting down.
 129.775 Info Router.cpp:474: Router state -> Disconnected
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0  0x5e9859 in CrashHandler::SignalHandler(int) at /tmp/factorio-OYbEE9/src/Util/CrashHandler.cpp:139
#1  0x7fc200266180 in ?? at ??:0
#2  0x2a297e0 in ?? at ??:0
 130.727 Error Util.cpp:46: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.12.4 Linux][cube] Opening socket failed: Address family not supported

Post by cube »

Thanks for the report, I didn't expect Linux machines with disabled IPv6 :). In 0.12.7 we will be using two separate sockets.
Post Reply

Return to “Resolved Problems and Bugs”