Calling transaction_start() through Samba's smbconf Python bindings with a CTDB backed registry emits: "no talloc stackframe at ../../source3/lib/g_lock.c:1210, leaking memory" Here's a minimal reproducer, with CTDB running (and healthy): ```python from samba.samba3 import param, smbconf param.get_context().load("/usr/local/etc/samba/smb.conf") conf = smbconf.init_reg(None) print("before transaction_start()") conf.transaction_start() print("after transaction_start()") conf.transaction_cancel() ``` which displays: before transaction_start() no talloc stackframe at ../../source3/lib/g_lock.c:1210, leaking memory after transaction_start() Configuration loading and registry initialization succeed. The warning occurs during transaction_start(). The execution continues, but there's a smb_panic("No talloc stackframe") for this condition under developer builds. The equivalent net conf import operation succeeds without the warning.
This bug was referenced in samba master: fdf6726c1c6f7274675f070c0d0761ea5101fd4b c670e4fce53c04d3d41a47af403e771f34250fe1
Created attachment 19264 [details] patch from master for v4-25-test
Created attachment 19265 [details] patch from master for v4-24-test
Created attachment 19266 [details] patch from master for v4-23-test
This bug was referenced in samba v4-23-test: 5631577c38ca65954543356c5146eb7432a67c26 66db90b9617ff0b80dc381c459ff92ae452b1586
This bug was referenced in samba v4-23-stable (Release samba-4.23.13): 5631577c38ca65954543356c5146eb7432a67c26 66db90b9617ff0b80dc381c459ff92ae452b1586
This bug was referenced in samba v4-24-test: 583d854ffc1481c79426a561c9a7f5b8307b41f3 761ed8a77adc576bfc356a8268e0568bbf677448
This bug was referenced in samba v4-25-test: 8d705becfe69643e2e11c3252b309500b8a74607 c50254799a47ee436a85cdd945c4b0376ba545da