netmgr: REQUIRE(VALID_NMHANDLE(handle)); assertion failures in isc_nm_pauseread()
Job #1039928 failed for 45798d1e:
D:dnstap:Core was generated by `/builds/isc-projects/bind9/bin/rndc/.libs/rndc -p 28359 -c ../common/rndc.conf'.
7419 D:dnstap:Program terminated with signal SIGABRT, Aborted.
7420 D:dnstap:#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
7421 D:dnstap:[Current thread is 1 (Thread 0x7f913f5fe700 (LWP 17908))]
7422 D:dnstap:#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
7423 D:dnstap:#1 0x00007f9142373537 in __GI_abort () at abort.c:79
7424 D:dnstap:#2 0x00007f91425a313f in isc_assertion_failed (file=file@entry=0x7f91425d2000 "netmgr/netmgr.c", line=line@entry=1383, type=type@entry=isc_assertiontype_require, cond=cond@entry=0x7f91425d2760 "((__builtin_expect(!!((handle) != ((void *)0)), 1) && __builtin_expect(!!(((const isc__magic_t *)(handle))->magic == ((('N') << 24 | ('M') << 16 | ('H') << 8 | ('D')))), 1)) && __extension__ ({ __auto"...) at assertions.c:47
7425 D:dnstap:#3 0x00007f914258735a in isc_nm_pauseread (handle=handle@entry=0x7f913f768010) at netmgr/netmgr.c:1392
7426 D:dnstap:#4 0x00007f914256a3bb in recv_data (handle=0x7f913f768010, eresult=<optimized out>, region=<optimized out>, arg=0x55e92eb9d9a0 <rndc_ccmsg>) at ccmsg.c:109
7427 D:dnstap:#5 0x00007f914258b8ba in isc__nm_tcp_shutdown (sock=0x7f913f764010) at netmgr/tcp.c:1094
7428 D:dnstap:#6 0x00007f9142585681 in shutdown_walk_cb (arg=<optimized out>, handle=<optimized out>) at netmgr/netmgr.c:1451
7429 D:dnstap:#7 shutdown_walk_cb (handle=<optimized out>, arg=<optimized out>) at netmgr/netmgr.c:1446
7430 D:dnstap:#8 0x00007f914232aa24 in uv_walk () from /usr/lib/x86_64-linux-gnu/libuv.so.1
7431 D:dnstap:#9 0x00007f9142587496 in isc__nm_async_shutdown (worker=worker@entry=0x55e92fbd5840, ev0=ev0@entry=0x7f913f767430) at netmgr/netmgr.c:1461
7432 D:dnstap:#10 0x00007f9142588d3b in process_queue (worker=worker@entry=0x55e92fbd5840, queue=0x7f913f742080) at netmgr/netmgr.c:640
7433 D:dnstap:#11 0x00007f91425891a1 in async_cb (handle=<optimized out>) at netmgr/netmgr.c:580
7434 D:dnstap:#12 0x00007f914232b7d1 in ?? () from /usr/lib/x86_64-linux-gnu/libuv.so.1
7435 D:dnstap:#13 0x00007f914233c860 in ?? () from /usr/lib/x86_64-linux-gnu/libuv.so.1
7436 D:dnstap:#14 0x00007f914232bf44 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
7437 D:dnstap:#15 0x00007f9142588ed3 in nm_thread (worker0=0x55e92fbd5840) at netmgr/netmgr.c:484
7438 D:dnstap:#16 0x00007f9142303ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
7439 D:dnstap:#17 0x00007f914244bdcf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
7440 D:dnstap:--------------------------------------------------------------------------------
Edited by Michał Kępień