Created attachment 15261 [details] gdb trace stack I'm trying to setup samba on freebsd 12.0-RELEASE-p3 amd64 with bind_dlz backend. I've build samba48 and bind914 with GSSAPI-heimdal from ports. Trying to debug dns updates with samba_dnsupdate I appended a -d 9 parameter to the "dlz_bind914.so" module: database "dlopen ...modules/bind9/dlz_bind9_14.so -d 9"; and stared named in foreground to watch the log. But when I tried to run samba_dnsupdate, named crashed with BUS ERROR. See attached file trace.txt from gdb debugger. As I can see, bind crashes in dlz_bind9_14.so module when it is stared with a "-d 9" parameter. Without such parameter (or with "-d 3") it works fine and performs updates.
Are you able to try it with -d "9 auth_json_audit:3" and -d "9 auth_json_audit:4"
(In reply to Gary Lockyer from comment #1) Test 1. Tested with such parameters in /var/db/samba4/bind-dns/named.conf: database "dlopen /usr/local/lib/shared-modules/bind9/dlz_bind9_14.so -d 9,auth_json_audit:3"; Result: samba_dnsupdate worked, named did not crash. Test 2. with: database "dlopen /usr/local/lib/shared-modules/bind9/dlz_bind9_14.so -d 9,auth_json_audit:4"; Result: samba_dnsupdate failed, named crashed with bus error.
(In reply to tonya from comment #2) answered today, see https://bugzilla.samba.org/show_bug.cgi?id=14006#c2
Samba 4.8.X is not a supported release any more. Is this defect still a valid defect with newer releases of Samba?