uv_tcp_close_reset returning invalid argument
I'm seeing the following system tests fail on main (fd8dd984), on my Mac with backtraces like the following for all of them.
FAIL: stub FAIL: upforwd FAIL: checkds
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x0000000199b64e28 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000199b9743c pthread_kill + 292
2 libsystem_c.dylib 0x0000000199adf454 abort + 124
3 named 0x00000001022c9b9c library_fatal_error + 336 (main.c:277)
4 libisc-9.17.22.dylib 0x00000001026c1f5c isc_error_fatal + 64 (error.c:68)
5 libisc-9.17.22.dylib 0x00000001026a16dc isc__nmsocket_reset + 328 (netmgr.c:2847)
6 libisc-9.17.22.dylib 0x00000001026a3ef4 shutdown_walk_cb + 156 (netmgr.c:2900)
7 libuv.1.dylib 0x000000010337140c uv_walk + 172
8 libisc-9.17.22.dylib 0x00000001026a3e4c isc__nm_async_shutdown + 44 (netmgr.c:2918)
9 libisc-9.17.22.dylib 0x000000010269e608 process_netievent + 2380 (netmgr.c:927)
10 libisc-9.17.22.dylib 0x00000001026a568c process_queue + 680 (netmgr.c:958)
11 libisc-9.17.22.dylib 0x00000001026a535c process_all_queues + 52 (netmgr.c:711)
12 libisc-9.17.22.dylib 0x0000000102699ba0 async_cb + 40 (netmgr.c:741)
13 libuv.1.dylib 0x00000001033721d0 uv__async_io + 320
14 libuv.1.dylib 0x0000000103381aac uv__io_poll + 1592
15 libuv.1.dylib 0x00000001033725f0 uv_run + 320
16 libisc-9.17.22.dylib 0x0000000102699c0c nm_thread + 84 (netmgr.c:642)
17 libisc-9.17.22.dylib 0x00000001026f2c38 isc__trampoline_run + 52 (trampoline.c:187)
18 libsystem_pthread.dylib 0x0000000199b97878 _pthread_start + 320
19 libsystem_pthread.dylib 0x0000000199b925e0 thread_start + 8
16-Mar-2022 17:51:28.195 netmgr/netmgr.c:2847: fatal error:
16-Mar-2022 17:51:28.195 uv_tcp_close_reset failed: invalid argument
Edited by Mark Andrews