[Samba] ctdb error after upgrade to 4.12.10

Günther Deschner gd at samba.org
Tue Nov 10 17:20:45 UTC 2020

Hi Jeremy,

I'm afraid this is indeed caused by the talloc tidyup as one can 
perfectly reproduce it wih the following patch for smbtorture (call 
bin/smbtorture ncacn_np:lo local.file.file_lines_parse). I guess we need 
to set up some warning signs around file_lines_parse() expressing that 
it takes talloced content and that one should not free the separated 
lines array separately.


On 09/11/2020 19:55, Jeremy Allison via samba wrote:
> On Tue, Nov 10, 2020 at 07:41:56AM +1300, Andrew Bartlett wrote:
>> On Mon, 2020-11-09 at 08:55 -0800, Jeremy Allison via samba wrote:
>>> On Mon, Nov 09, 2020 at 04:01:47PM +0100, Benedikt Kaleß via samba
>>> wrote:
>>>> Dear List,
>>>> I updated to samba 4.12.10-SerNet-Debian-9.buster from 4.12.9
>>>> and did a
>>>> gluster volume set volume performance.write-behind off
>>>> Now I get this in /var/log/syslog and randomly people don't get
>>>> access
>>>> to a shae.
>>> Can you load the debug symbols please ? That should give us
>>> more data on where this is failing.
>>> Thanks !
>>> Jeremy.
>> Jeremy,
>> To lock this down properly we might need to put (#include) the vfs
>> module into a cmocka test, mocking the various gluster calls so we
>> cover these codepaths.
> I'm just worried my talloc tidyups might be at fault,
> but I honestly can't see where.
> Once we get a backtrace (and if it's not my fault :-)
> I'm going to be happy to throw this over to Guenther,
> Sachin and Anoop for test coverage :-).

Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: text/x-patch
Size: 1628 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20201110/d055946c/test.bin>

More information about the samba mailing list