Skip to content

SRB2 errors out if try to contact the HMS on a system without any IPv6 interfaces

from https://github.com/NixOS/nixpkgs/pull/378330#issuecomment-2628017343 donovanglover commented Jan 31, 2025, 1:14 PM EST

FWIW I was able to narrow down the issue. You can reproduce by disabling IPv6 (e.g. networking.enableIPv6 = false; on NixOS).

Binding to 0.0.0.0
Network system buffer: 208Kb
Binding to [::]
Network system buffer: 208Kb

I_Error(): SOCK_Send, error sending to node 127 (No address) #1: Operation not permitted
HMS: connecting 'https://ds.ms.srb2.org/MS/0/versions/18'...
I_ShutdownGraphics(): shut down
Shutting down joy system
I_Joystick: SDL's Joystick system has been shutdown
I_ShutdownTcpDriver: shut down
double free or corruption (out)