xmrig: ./src/threadpool.c:329: uv__queue_done: Assertion `uv__has_active_reqs(req->loop)' failed
I'm seeing repeated program failures when trying to mine ravencoin with xmrig on a platform with four AMD Radeon VII GPUs.

That's the system information dumped on the start of xmrig:

```
./xmrig 
 * ABOUT        XMRig/6.19.3 gcc/10.2.1
 * LIBS         libuv/1.40.0 OpenSSL/1.1.1n hwloc/2.4.1
 * HUGE PAGES   supported
 * 1GB PAGES    disabled
 * CPU          AMD Ryzen 9 3900X 12-Core Processor (1) 64-bit AES
                L2:6.0 MB L3:64.0 MB 12C/24T NUMA:1
 * MEMORY       10.0/62.8 GB (16%)
 * DONATE       1%
 * ASSEMBLY     auto:ryzen
 * POOL #1      rvn.2miners.com:6060 coin Ravencoin
 * COMMANDS     hashrate, pause, resume, results, connection
 * ADL          press e for health report
 * OPENCL       #0 AMD Accelerated Parallel Processing/OpenCL 2.1 AMD-APP (3423.0)
 * OPENCL GPU   #0 03:00.0 AMD Radeon VII (gfx906:sramecc+:xnack-) 1801 MHz cu:60 mem:13912/16368 MB
 * OPENCL GPU   #1 09:00.0 AMD Radeon VII (gfx906:sramecc+:xnack-) 1801 MHz cu:60 mem:13912/16368 MB
 * OPENCL GPU   #2 11:00.0 AMD Radeon VII (gfx906:sramecc+:xnack-) 1801 MHz cu:60 mem:13912/16368 MB
 * OPENCL GPU   #3 14:00.0 AMD Radeon VII (gfx906:sramecc+:xnack-) 1801 MHz cu:60 mem:13912/16368 MB
 * CUDA         disabled
[2023-06-19 07:58:31.308]  net      use pool rvn.2miners.com:6060  51.89.99.172
[2023-06-19 07:58:31.315]  net      new job from rvn.2miners.com:6060 diff 4295M algo kawpow height 2849227
[2023-06-19 07:58:31.315]  opencl   use profile  kawpow  (4 threads) scratchpad 32 KB
|  # | GPU |  BUS ID | INTENSITY | WSIZE | MEMORY | NAME
|  0 |   0 | 03:00.0 |  15728640 |   256 |   4119 | AMD Radeon VII (gfx906:sramecc+:xnack-)
|  1 |   1 | 09:00.0 |  15728640 |   256 |   4119 | AMD Radeon VII (gfx906:sramecc+:xnack-)
|  2 |   2 | 11:00.0 |  15728640 |   256 |   4119 | AMD Radeon VII (gfx906:sramecc+:xnack-)
|  3 |   3 | 14:00.0 |  15728640 |   256 |   4119 | AMD Radeon VII (gfx906:sramecc+:xnack-)
[2023-06-19 07:58:32.096]  opencl   READY threads 4/4 (781 ms)

```
And after some time it fails with (please note that is from an earlier run, as indicated by the timestamps):

```
[2023-06-19 01:07:11.451]  net      new job from rvn.2miners.com:6060 diff 4295M algo kawpow height 2848814
[2023-06-19 01:07:24.438]  opencl   accepted (46/0) diff 4295M (25 ms)
[2023-06-19 01:07:48.617]  opencl   #0 03:00.0  91W 60C 2213RPM 853/850MHz
[2023-06-19 01:07:48.617]  opencl   #1 09:00.0  90W 58C 2215RPM 805/350MHz
[2023-06-19 01:07:48.618]  opencl   #2 11:00.0  89W 60C 2053RPM 809/850MHz
[2023-06-19 01:07:48.618]  opencl   #3 14:00.0  89W 59C 2501RPM 814/850MHz
[2023-06-19 01:07:48.618]  miner    speed 10s/60s/15m 68.89 69.65 69.54 MH/s max 74.43 MH/s
[2023-06-19 01:08:18.114]  net      new job from rvn.2miners.com:6060 diff 4295M algo kawpow height 2848815
[2023-06-19 01:08:18.429]  opencl   KawPow program for period 949606 compiled (313ms)
[2023-06-19 01:08:18.743]  opencl   KawPow program for period 949606 compiled (312ms)
[2023-06-19 01:08:19.060]  opencl   KawPow program for period 949606 compiled (317ms)
xmrig: ./src/threadpool.c:329: uv__queue_done: Assertion `uv__has_active_reqs(req->loop)' failed.

```
I have seen the same issue mentioned on an earlier issue report, but there it's marked as done and the issue was closed.

Please let me know whether you need more information to sort out the problem.

Best regards, Thomas
