An excellent spot by @david60.
Even if it isn’t causing the fd issue we’re looking for, this should be fixed.
409@@ -410,7 +410,7 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
410
411 // Connect
412 bool connected = false;
413- SOCKET hSocket;
414+ SOCKET hSocket = INVALID_SOCKET;
git bisect
to figure out where the crashes started. Once that’s done I’ll also check if this commit makes them go away.