-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dns/bind 9.16.2 crashes with libuv v1.36.0 #2791
Comments
This reverts commit 3d71366. This reverts commit d9cd7d4. The first reverted commit is the sendmmsg/recvmmsg support, the second one a fix-up to deliver datagrams in order. The second commit has been implicated in causing bind9 to crash on freebsd. A quick review of the code suggests that downstream code written against pre-v1.35.0 libuv can't safely deal with multi-datagram support because they are unaware of the `UV_UDP_MMSG_CHUNK` flag and what that implies for buffer management, hence I'm moving to revert it. The `UV_UDP_MMSG_CHUNK` flag remains part of `uv_udp_flags` for API/ABI backwards compatibility reasons but it is no longer used. Fixes: libuv#2791 Refs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245653
|
I've opened a revert: #2792 |
|
👋 The original feature was. backwards-incompatible...ish. As in, if you passwd a huge buffer nothing special happend. How about adding a flag to |
|
A flag is a good way forward but if it takes you some time to come up with a patch, I'd like to land the revert first and release it. You can then revert the revert. :-) |
|
I'll try to get to it tonight! |
…ns/bind916). See <libuv/libuv#2791> and <libuv/libuv#2792> PR: 245653 Reported by: lysfjord.daniel(at)smokepit.net and many git-svn-id: svn+ssh://svn.freebsd.org/ports/head@531835 35697150-7ecd-e111-bb59-0022644237b5
…ns/bind916). See <libuv/libuv#2791> and <libuv/libuv#2792> PR: 245653 Reported by: lysfjord.daniel(at)smokepit.net and many
|
Can confirm this same issue on Gentoo Linux as well. |
…ns/bind916). See <libuv/libuv#2791> and <libuv/libuv#2792> PR: 245653 Reported by: lysfjord.daniel(at)smokepit.net and many git-svn-id: svn+ssh://svn.freebsd.org/ports/head@531835 35697150-7ecd-e111-bb59-0022644237b5
|
Yesterday I pushed this commit to the FreeBSD port of libuv, and everything seems OK. |
Instead of implicitly enabling it by checking the supplied buffer size to alloc_cb, have a dedicated flag that must be set on `uv_udp_init_ex`. Fixes: libuv#2791 Closes: libuv#2792
Instead of implicitly enabling it by checking the supplied buffer size to alloc_cb, have a dedicated flag that must be set on `uv_udp_init_ex`. Fixes: libuv#2791 Closes: libuv#2792
|
I think this should have been left open until a release is available so that other people don't start filing duplicates. |
Instead of implicitly enabling it by checking the supplied buffer size to alloc_cb, have a dedicated flag that must be set on `uv_udp_init_ex`. Fixes: libuv#2791 Closes: libuv#2792 PR-URL: libuv#2799 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
…ns/bind916). See <libuv/libuv#2791> and <libuv/libuv#2792> PR: 245653 Reported by: lysfjord.daniel(at)smokepit.net and many
…ns/bind916). See <libuv/libuv#2791> and <libuv/libuv#2792> PR: 245653 Reported by: lysfjord.daniel(at)smokepit.net and many
Yesterday I upgraded the FreeBSD port of libuv to 1.36.0.
Since then, several users reported crashes of Bind: see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245653
An experimental patch has been proposed by Tatsuki Makino: see https://bz-attachments.freebsd.org/attachment.cgi?id=213441&action=diff&format=raw&headers=1
The text was updated successfully, but these errors were encountered: