You are not logged in.

#1 2020-04-16 12:48:16

dbt816
Member
Registered: 2015-01-07
Posts: 1

named (bind9) unexpectedly terminates

When I noticed that my DNS resolution stopped (which didn't take long), I found that the named process was terminating unexpectedly. The bind and bind-tools packages were recently updated to 9.16.1-2. Nothing in my configuration had changed, but the crash started happening. There was no good forensic information to go by, so to I rebuilt bind/bind-tools with the latest 9.17.1 version (the current version is already flagged as out of date).... exact same issue, but I was able to get more information from the logs:

named[100429]: netmgr.c:995: REQUIRE(worker->recvbuf_inuse) failed, back trace
named[100429]: /usr/bin/named(+0x1f33d) [0x55706321c33d]
named[100429]: /usr/lib/libisc.so.1701(isc_assertion_failed+0x19) [0x7f21247a6e19]
named[100429]: /usr/lib/libisc.so.1701(+0x300eb) [0x7f21247c00eb]
named[100429]: /usr/lib/libisc.so.1701(+0x3534c) [0x7f21247c534c]
named[100429]: /usr/lib/libuv.so.1(+0x1dd1a) [0x7f2123f65d1a]
named[100429]: /usr/lib/libuv.so.1(+0x1e32b) [0x7f2123f6632b]
named[100429]: /usr/lib/libuv.so.1(uv__io_poll+0x348) [0x7f2123f68808]
named[100429]: /usr/lib/libuv.so.1(uv_run+0x117) [0x7f2123f57e77]
named[100429]: /usr/lib/libisc.so.1701(+0x3282b) [0x7f21247c282b]
named[100429]: /usr/lib/libpthread.so.0(+0x946f) [0x7f21242d146f]
named[100429]: /usr/lib/libc.so.6(clone+0x43) [0x7f21241f73d3]
named[100429]: exiting (due to assertion failure)

Searching around didn't reveal any insight other than there were historic problems on other distros with incorrect shared library versions being silently used. A little more digging and I found that the libuv package just upgraded from 1.35.0 to 1.36.0. I tried backing off to 1.35.0. The crash stopped and everything worked normally. To be sure, I also reverted back to bind 9.16.1-2 and had no issue. So without further investigation, it appears that libuv 1.36.0 is the problem. Just posting this for informational purposes in case anyone is facing the same.

Offline

#2 2020-04-16 14:21:54

fusca
Member
Registered: 2008-01-16
Posts: 25

Re: named (bind9) unexpectedly terminates

Thanks for the report. I'm in the same issue here and I will downgrade libuv. sad

Offline

#3 2020-04-16 14:29:10

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: named (bind9) unexpectedly terminates

Online

#4 2020-05-05 14:40:45

rossboulet
Member
Registered: 2015-01-23
Posts: 29

Re: named (bind9) unexpectedly terminates

I had the same issue on a 32-bit machine. The upgrade to libuv 1.37 solved it for me.


I really hate this damn machine,
I wish that they would sell it.
It never does just what I want,
But only what I tell it.    -Anonymous

Offline

Board footer

Powered by FluxBB