Merge ~sergiodj/ubuntu/+source/bind9:bug1997375-segfault-isc-nm-tcp into ubuntu/+source/bind9:ubuntu/focal-devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | git-ubuntu bot | ||||
Approved revision: | not available | ||||
Merged at revision: | cd357eac4a7c77737bb0422d00a90a4847756553 | ||||
Proposed branch: | ~sergiodj/ubuntu/+source/bind9:bug1997375-segfault-isc-nm-tcp | ||||
Merge into: | ubuntu/+source/bind9:ubuntu/focal-devel | ||||
Diff against target: |
238 lines (+216/-0) 3 files modified
debian/changelog (+8/-0) debian/patches/lp1997375-segfault-isc-nm-tcp-send.patch (+207/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
git-ubuntu bot | Approve | ||
Andreas Hasenack (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+435153@code.staging.launchpad.net |
Description of the change
This MP fixes the segmentation fault experienced by some users on bug #1997375.
Unfortunately, I wasn't able to reliably reproduce the crash locally. It involves a complex scenario where bind9 is put under stress by having to handle a lot of requests and then there's a race condition on the tcpdns code (which is accessing socket internal fields in an unsafe manner), all of that finally leading to the segmentation fault.
This issue is affecting several community members, and they have been very helpful in determining the right fix. After one of them provided me with a coredump, I was able to inspect it and pinpoint what seemed to be the commit that fixes the problem:
https:/
I backported it, put the package in a PPA and ask the community to try it out. As you can see in the bug report, I've had 3 people confirming that the segfaults don't happen with the patched bind9 anymore.
I decided to go ahead with the SRU and, again, rely on the community's good will to help me with the test plan.
There's a PPA with the proposed changes here:
https:/
autopkgtest results:
Results: (from http://
bind9 @ amd64:
04.01.23 20:24:52 Log 🗒️ ✅ Triggers: bind9/1:
bind9 @ arm64:
04.01.23 20:27:21 Log 🗒️ ✅ Triggers: bind9/1:
bind9 @ armhf:
04.01.23 19:58:53 Log 🗒️ ✅ Triggers: bind9/1:
bind9 @ ppc64el:
04.01.23 20:28:12 Log 🗒️ ✅ Triggers: bind9/1:
bind9 @ s390x:
04.01.23 20:34:05 Log 🗒️ ✅ Triggers: bind9/1:
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
I'll look at this