Crash due to out-of-range FD_SET
We've had (and fixed) similar issues in the past, e.g. dhtnet#23 (closed) from a few months ago, but this one occurred recently, on the 20240716 nightly.
[1721274296.735|9158] NAT-PMP: Request for mapping JAMI-TCP:14715 on 192.168.68.1 succeeded
[1721274296.735|9158] Number of 'available' TCP mappings in the local list: 5 (0 open + 0 pending + 5 in progress)
[1721274296.735|9158] Number of 'available' UDP mappings in the local list: 8 (8 open + 0 pending + 0 in progress)
[1721274296.735|9158] [ice:0x7fab24d3ac60] UPNP mapping request failed!
[1721274296.735|9158] [ice:0x7fab24d3ac60] Add srflx reflexive candidates [192.168.68.60:9 : 76.71.241.126:9] for comp 1
[1721274296.735|9158] added turn server '144.217.83.140', port 3478
[1721274296.737|9158] Store DHT public IPv4 address: 76.71.241.126
[1721274296.737|9158] [ice:0x7fab24dba3d0] Creating IceTransport session for ""
[1721274296.737|9158] [ice:0x7fab24dba3d0] Initializing the session - comp count 1 - as a slave
[1721274296.737|9158] Desired port is not set, will provide the first available port for [TCP]
[1721274296.737|9158] Request mapping JAMI-TCP:12053 using protocol [NAT-PMP] IGD [192.168.68.1]
[1721274296.753|9872] [ice:0x7fab24d3ac60] TCP initialization success
[1721274296.753|9872] [ice:0x7fab24d3ac60] as slave
[1721274296.753|9872] [ice:0x7fab24d3ac60] (local) ufrag=5a9e1bf0, pwd=45f2c8153e02522044c7b5d6
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate Hc0a8443c 1 TCP 2130706431 192.168.68.60 42531 typ host tcptype passive
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate Hc0a8443c 1 TCP 2130706175 192.168.68.60 9 typ host tcptype active
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate H860057a1 1 TCP 2130706431 fe80::6e80:c038:943e:18d3 56417 typ host tcptype passive
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate H860057a1 1 TCP 2130706175 fe80::6e80:c038:943e:18d3 9 typ host tcptype active
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate Sc0a8443c 1 TCP 1694498303 76.71.241.126 9 typ srflx tcptype active
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Added local ICE candidate R90d9538c 1 TCP 16777215 144.217.83.140 22978 typ relay tcptype passive
[1721274296.753|9334] [device bc642e81a0cb0f054dd04e6ec301ab59ecec2052167c9addffd6856d7d86f2ec] Sending connection request
[1721274296.860|9154] [device 734a80c81611966547118533340be23c87b273514169817336e9c8e9243236e7] Answer to connection request: put encrypted ok
[1721274296.877|9158] NAT-PMP: Request for mapping JAMI-TCP:12053 on 192.168.68.1 succeeded
[1721274296.877|9158] Number of 'available' TCP mappings in the local list: 5 (0 open + 0 pending + 5 in progress)
[1721274296.877|9158] Number of 'available' UDP mappings in the local list: 8 (8 open + 0 pending + 0 in progress)
[1721274296.877|9158] [ice:0x7fab24dba3d0] UPNP mapping request failed!
[1721274296.877|9158] [ice:0x7fab24dba3d0] Add srflx reflexive candidates [192.168.68.60:9 : 76.71.241.126:9] for comp 1
[1721274296.877|9158] added turn server '144.217.83.140', port 3478
* bit out of range 0 - FD_SETSIZE on fd_set *: terminated
Abandon (core dumped)